<?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 Re: Comment sign in external sql file in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Comment-sign-in-external-sql-file/m-p/614358#M680541</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you very much Jonathan!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It realy works!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 24 Apr 2014 11:17:41 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-04-24T11:17:41Z</dc:date>
    <item>
      <title>Comment sign in external sql file</title>
      <link>https://community.qlik.com/t5/QlikView/Comment-sign-in-external-sql-file/m-p/614354#M680534</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For loading data from databse tables I use exteranal sql-script files attaching it like this:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;EM&gt;$(Include=rows.sql);&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Before start loading I debug query in Database Query Analyser.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem is in comments. SQL comment style looks like:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;-- My Comment&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But signs "--" cause error in QlikView.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;QlikView comment style "//" causes error in SQL Query Analyser.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I write comments in external sql-script so that still work in Query Analyser?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Apr 2014 10:41:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comment-sign-in-external-sql-file/m-p/614354#M680534</guid>
      <dc:creator />
      <dc:date>2014-04-24T10:41:59Z</dc:date>
    </item>
    <item>
      <title>Re: Comment sign in external sql file</title>
      <link>https://community.qlik.com/t5/QlikView/Comment-sign-in-external-sql-file/m-p/614355#M680536</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am not sure how you are using this particular include file, but it is no different than anywhere else in the script. Statements executed by SQL server (ie after a SQL statement up to the closing ; sign) need -- SQL comments, and all other statements need // QV comments.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;Jonathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Apr 2014 11:00:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comment-sign-in-external-sql-file/m-p/614355#M680536</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2014-04-24T11:00:55Z</dc:date>
    </item>
    <item>
      <title>Re: Comment sign in external sql file</title>
      <link>https://community.qlik.com/t5/QlikView/Comment-sign-in-external-sql-file/m-p/614356#M680539</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt; maybe you could use the /* */ notations.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Apr 2014 11:01:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comment-sign-in-external-sql-file/m-p/614356#M680539</guid>
      <dc:creator>bbi_mba_76</dc:creator>
      <dc:date>2014-04-24T11:01:44Z</dc:date>
    </item>
    <item>
      <title>Re: Comment sign in external sql file</title>
      <link>https://community.qlik.com/t5/QlikView/Comment-sign-in-external-sql-file/m-p/614357#M680540</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Pavel,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use find and replace functionality and replace all -- with // in your external script. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards&lt;/P&gt;&lt;P&gt;Suhas Gupta&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Apr 2014 11:08:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comment-sign-in-external-sql-file/m-p/614357#M680540</guid>
      <dc:creator />
      <dc:date>2014-04-24T11:08:55Z</dc:date>
    </item>
    <item>
      <title>Re: Comment sign in external sql file</title>
      <link>https://community.qlik.com/t5/QlikView/Comment-sign-in-external-sql-file/m-p/614358#M680541</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you very much Jonathan!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It realy works!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Apr 2014 11:17:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comment-sign-in-external-sql-file/m-p/614358#M680541</guid>
      <dc:creator />
      <dc:date>2014-04-24T11:17:41Z</dc:date>
    </item>
    <item>
      <title>Re: Comment sign in external sql file</title>
      <link>https://community.qlik.com/t5/QlikView/Comment-sign-in-external-sql-file/m-p/614359#M680542</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P&gt;Michele Barini wrote:&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;maybe you could use the /* */ notations.&lt;/P&gt;
&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Good suggestion - that would also work.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Apr 2014 12:04:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comment-sign-in-external-sql-file/m-p/614359#M680542</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2014-04-24T12:04:31Z</dc:date>
    </item>
  </channel>
</rss>

