<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Beginner - SQL LOAD in QVD in Connectivity &amp; Data Prep</title>
    <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Beginner-SQL-LOAD-in-QVD/m-p/1744385#M5401</link>
    <description>&lt;P&gt;Hello! I am trying to do a sql load in a QVD with a where clause, I have done this before and it works however now its coming up with an error saying:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Connector reply error: SQL##f - SqlState: 42000, ErrorCode: 102, ErrorMsg: Incorrect syntax near 'Liability'.,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;[TDWH_Coverage_S01]:&lt;BR /&gt;SQL SELECT [ID]&lt;BR /&gt;,[FD]&lt;BR /&gt;,[TD]&lt;BR /&gt;,[CoverageExpiryDate]&lt;BR /&gt;,[CoverageCancellationDate]&lt;BR /&gt;,[LineOfBusiness]&lt;BR /&gt;,[CoverageStatusCode]&lt;BR /&gt;,[CoverageStatusDescription]&lt;BR /&gt;,[CoverageSourceSystemCode]&lt;BR /&gt;,[CoverageSourceSystemName]&lt;BR /&gt;,[CoverageTypeCode]&lt;BR /&gt;,[CoverageTypeDescription]&lt;BR /&gt;,[PolicyNumber]&lt;BR /&gt;,[ConfCoverageTypeCode]&lt;BR /&gt;,[ConfCoverageTypeDesc]&lt;BR /&gt;,[PolicyHeader]&lt;BR /&gt;,[CoverageDeletedFlag]&lt;BR /&gt;,[CoverageEffectiveDate]&lt;BR /&gt;,[LegalEntity]&lt;BR /&gt;,[RUNNO_INSERT]&lt;BR /&gt;,[RUNNO_UPDATE]&lt;BR /&gt;FROM [GBQPS1SDA01DWHPOASL].[pol]."TDWH_Coverage_S01"&lt;BR /&gt;&lt;BR /&gt;where YEAR(TD) = 9999 and CoverageTypeDescription= Employers Liability; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;This is the code that is in the QVD which is now coming up with a incorrect syntax? the where clause for YEAR(TD) = 9999 is working, any help would be appreciated.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks Community in advance!&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 28 Dec 2021 20:10:07 GMT</pubDate>
    <dc:creator>QlikBeginner1</dc:creator>
    <dc:date>2021-12-28T20:10:07Z</dc:date>
    <item>
      <title>Beginner - SQL LOAD in QVD</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Beginner-SQL-LOAD-in-QVD/m-p/1744385#M5401</link>
      <description>&lt;P&gt;Hello! I am trying to do a sql load in a QVD with a where clause, I have done this before and it works however now its coming up with an error saying:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Connector reply error: SQL##f - SqlState: 42000, ErrorCode: 102, ErrorMsg: Incorrect syntax near 'Liability'.,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;[TDWH_Coverage_S01]:&lt;BR /&gt;SQL SELECT [ID]&lt;BR /&gt;,[FD]&lt;BR /&gt;,[TD]&lt;BR /&gt;,[CoverageExpiryDate]&lt;BR /&gt;,[CoverageCancellationDate]&lt;BR /&gt;,[LineOfBusiness]&lt;BR /&gt;,[CoverageStatusCode]&lt;BR /&gt;,[CoverageStatusDescription]&lt;BR /&gt;,[CoverageSourceSystemCode]&lt;BR /&gt;,[CoverageSourceSystemName]&lt;BR /&gt;,[CoverageTypeCode]&lt;BR /&gt;,[CoverageTypeDescription]&lt;BR /&gt;,[PolicyNumber]&lt;BR /&gt;,[ConfCoverageTypeCode]&lt;BR /&gt;,[ConfCoverageTypeDesc]&lt;BR /&gt;,[PolicyHeader]&lt;BR /&gt;,[CoverageDeletedFlag]&lt;BR /&gt;,[CoverageEffectiveDate]&lt;BR /&gt;,[LegalEntity]&lt;BR /&gt;,[RUNNO_INSERT]&lt;BR /&gt;,[RUNNO_UPDATE]&lt;BR /&gt;FROM [GBQPS1SDA01DWHPOASL].[pol]."TDWH_Coverage_S01"&lt;BR /&gt;&lt;BR /&gt;where YEAR(TD) = 9999 and CoverageTypeDescription= Employers Liability; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;This is the code that is in the QVD which is now coming up with a incorrect syntax? the where clause for YEAR(TD) = 9999 is working, any help would be appreciated.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks Community in advance!&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 28 Dec 2021 20:10:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/Beginner-SQL-LOAD-in-QVD/m-p/1744385#M5401</guid>
      <dc:creator>QlikBeginner1</dc:creator>
      <dc:date>2021-12-28T20:10:07Z</dc:date>
    </item>
    <item>
      <title>Re: Beginner - SQL LOAD in QVD</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Beginner-SQL-LOAD-in-QVD/m-p/1744403#M5402</link>
      <description>&lt;P&gt;shouldnt there be quotes around the string value in where clause&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;CoverageTypeDescription= &lt;FONT face="arial black,avant garde" color="#FF0000"&gt;&lt;STRONG&gt;'&lt;/STRONG&gt;&lt;/FONT&gt;Employers Liability&lt;FONT face="arial black,avant garde" color="#FF0000"&gt;&lt;STRONG&gt;'&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Sep 2020 16:25:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/Beginner-SQL-LOAD-in-QVD/m-p/1744403#M5402</guid>
      <dc:creator>dplr-rn</dc:creator>
      <dc:date>2020-09-16T16:25:14Z</dc:date>
    </item>
  </channel>
</rss>

