<?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: break and combine statements in script in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/break-and-combine-statements-in-script/m-p/1237389#M866698</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you, Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 09 Dec 2016 14:59:43 GMT</pubDate>
    <dc:creator>addpharm</dc:creator>
    <dc:date>2016-12-09T14:59:43Z</dc:date>
    <item>
      <title>break and combine statements in script</title>
      <link>https://community.qlik.com/t5/QlikView/break-and-combine-statements-in-script/m-p/1237383#M866692</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to find an answer on how to break and combine statements in script. I am passing more than 600 numbers as one parameter to a stored procedure. Because this is too long and has been cut into two lines when I paste into the script window automatically. In the middle of the data loading, an error message stated:Error converting data type varchar to numeric. However, testing with 500 numbers in one line, it works just fine.&lt;/P&gt;&lt;P&gt;Your help will be much appreciated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/break-and-combine-statements-in-script/m-p/1237383#M866692</guid>
      <dc:creator>addpharm</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: break and combine statements in script</title>
      <link>https://community.qlik.com/t5/QlikView/break-and-combine-statements-in-script/m-p/1237384#M866693</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We would need to see how the string is created but you should be able to manipulate it and do the first 300 then the second 300 etc.... I am guessing the string is simply going over the max length for SQL (4000,8000 etc depending on version)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there nothing better you can do to avoid this situation though? sounds kind of awful to deal with!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Dec 2016 13:53:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/break-and-combine-statements-in-script/m-p/1237384#M866693</guid>
      <dc:creator>adamdavi3s</dc:creator>
      <dc:date>2016-12-09T13:53:00Z</dc:date>
    </item>
    <item>
      <title>Re: break and combine statements in script</title>
      <link>https://community.qlik.com/t5/QlikView/break-and-combine-statements-in-script/m-p/1237385#M866694</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;script: &lt;/P&gt;&lt;P&gt;exec SP '111,222,333,444, .......................9999999.'&lt;/P&gt;&lt;P&gt;the 600 numbers as one parameter are to be passed to the stored procedure. it couldn't be shortened unfortunately.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;many thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Dec 2016 14:01:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/break-and-combine-statements-in-script/m-p/1237385#M866694</guid>
      <dc:creator>addpharm</dc:creator>
      <dc:date>2016-12-09T14:01:52Z</dc:date>
    </item>
    <item>
      <title>Re: break and combine statements in script</title>
      <link>https://community.qlik.com/t5/QlikView/break-and-combine-statements-in-script/m-p/1237386#M866695</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think you could use a variable for this like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;let v = '111,222,';&lt;/P&gt;&lt;P&gt;let v = '$(v)' &amp;amp; '333';&lt;/P&gt;&lt;P&gt;let v = '$(v)' &amp;amp; '444';&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;just simplified here. Another method could be to load all these parameters into a table and then concatenating them to one value and again assign it to a variable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Dec 2016 14:23:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/break-and-combine-statements-in-script/m-p/1237386#M866695</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2016-12-09T14:23:56Z</dc:date>
    </item>
    <item>
      <title>Re: break and combine statements in script</title>
      <link>https://community.qlik.com/t5/QlikView/break-and-combine-statements-in-script/m-p/1237387#M866696</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;in VBA, it is easy to use like "-" and "&amp;amp;" to break the line:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;exec SP '111,222,333 ' _&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&amp;amp; '444 .....................99999999'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;just wonder does the qlikview script provide the similar approach?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;many thanks&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Dec 2016 14:49:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/break-and-combine-statements-in-script/m-p/1237387#M866696</guid>
      <dc:creator>addpharm</dc:creator>
      <dc:date>2016-12-09T14:49:09Z</dc:date>
    </item>
    <item>
      <title>Re: break and combine statements in script</title>
      <link>https://community.qlik.com/t5/QlikView/break-and-combine-statements-in-script/m-p/1237388#M866697</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;AFAIK no - but both above mentioned variable-approaches will work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Dec 2016 14:55:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/break-and-combine-statements-in-script/m-p/1237388#M866697</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2016-12-09T14:55:21Z</dc:date>
    </item>
    <item>
      <title>Re: break and combine statements in script</title>
      <link>https://community.qlik.com/t5/QlikView/break-and-combine-statements-in-script/m-p/1237389#M866698</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you, Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Dec 2016 14:59:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/break-and-combine-statements-in-script/m-p/1237389#M866698</guid>
      <dc:creator>addpharm</dc:creator>
      <dc:date>2016-12-09T14:59:43Z</dc:date>
    </item>
  </channel>
</rss>

