<?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 using text input with column header as SQL_Qry which includes 400 lines of SQL in single c in Alteryx Designer Desktop Discussions</title>
    <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/using-text-input-with-column-header-as-SQL-Qry-which-includes/m-p/1399766#M347180</link>
    <description>&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;I have to use the text input to store the select query of 400 lines in the single cell so that when i can pass this column SQL_Qry as parameter to macro which connects to snowflake.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have to use the text input with an header SQL_Qry and pasted my 400 lines of select query into one single cell - This select works fine without any errors.&lt;/P&gt;&lt;P&gt;But for some reason iam getting an error saying something is wrong&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Error: Dynamic_Alteryx_Snowflake_Download_11443 (19): Record #1: Tool #70: Error SQLPrepare: SQL compilation error:&lt;BR /&gt;syntax error line 295 at position 132 unexpected '&amp;lt;EOF&amp;gt;'.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;when i go to the text in put it says too big to display&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;any suggestions or guidance...&lt;/P&gt;</description>
    <pubDate>Fri, 27 Jun 2025 16:58:48 GMT</pubDate>
    <dc:creator>Raj_007</dc:creator>
    <dc:date>2025-06-27T16:58:48Z</dc:date>
    <item>
      <title>using text input with column header as SQL_Qry which includes 400 lines of SQL in single c</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/using-text-input-with-column-header-as-SQL-Qry-which-includes/m-p/1399766#M347180</link>
      <description>&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;I have to use the text input to store the select query of 400 lines in the single cell so that when i can pass this column SQL_Qry as parameter to macro which connects to snowflake.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have to use the text input with an header SQL_Qry and pasted my 400 lines of select query into one single cell - This select works fine without any errors.&lt;/P&gt;&lt;P&gt;But for some reason iam getting an error saying something is wrong&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Error: Dynamic_Alteryx_Snowflake_Download_11443 (19): Record #1: Tool #70: Error SQLPrepare: SQL compilation error:&lt;BR /&gt;syntax error line 295 at position 132 unexpected '&amp;lt;EOF&amp;gt;'.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;when i go to the text in put it says too big to display&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;any suggestions or guidance...&lt;/P&gt;</description>
      <pubDate>Fri, 27 Jun 2025 16:58:48 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/using-text-input-with-column-header-as-SQL-Qry-which-includes/m-p/1399766#M347180</guid>
      <dc:creator>Raj_007</dc:creator>
      <dc:date>2025-06-27T16:58:48Z</dc:date>
    </item>
    <item>
      <title>Re: using text input with column header as SQL_Qry which includes 400 lines of SQL in sing</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/using-text-input-with-column-header-as-SQL-Qry-which-includes/m-p/1399772#M347184</link>
      <description>&lt;P&gt;presumably you are building this query somewhere else ---&amp;gt; throw this in a browse tool -&amp;gt; see what's there. This is almost always a single quote, double quote, or parenthesis which is not closed -&amp;gt; line 295/character 132&amp;nbsp; is the total characters in that query --- but the actual error occurs somewhere totally different where you omitted the punctuation.&lt;/P&gt;</description>
      <pubDate>Fri, 27 Jun 2025 18:08:06 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/using-text-input-with-column-header-as-SQL-Qry-which-includes/m-p/1399772#M347184</guid>
      <dc:creator>apathetichell</dc:creator>
      <dc:date>2025-06-27T18:08:06Z</dc:date>
    </item>
    <item>
      <title>Re: using text input with column header as SQL_Qry which includes 400 lines of SQL in sing</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/using-text-input-with-column-header-as-SQL-Qry-which-includes/m-p/1399774#M347185</link>
      <description>&lt;P&gt;Hi, Thanks for the input. It is snowflake sql select clause. It is working fine when i run this query in the snowflake environment. I just copy and paste it into text input in 1 single cell so that i can pass this SQL query along with authorization etc - it has to be in 1 single cell so that is the reason i coopied and pasted into 1 single cell.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 27 Jun 2025 18:37:55 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/using-text-input-with-column-header-as-SQL-Qry-which-includes/m-p/1399774#M347185</guid>
      <dc:creator>Raj_007</dc:creator>
      <dc:date>2025-06-27T18:37:55Z</dc:date>
    </item>
    <item>
      <title>Re: using text input with column header as SQL_Qry which includes 400 lines of SQL in sing</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/using-text-input-with-column-header-as-SQL-Qry-which-includes/m-p/1399817#M347197</link>
      <description>&lt;P&gt;Cool - I did this. a lot.. So let's clarify a few things:&lt;/P&gt;&lt;P&gt;1) --- you need a single cell either to go into a batch macro OR PREFERABLY --- a dynamic input in-db.&lt;/P&gt;&lt;P&gt;2) this does not always have to be a single cell. My recommendation is to have this as multiple lines -&amp;gt; and then use a summarize tool with \n right before sending in.&lt;/P&gt;&lt;P&gt;3) something is cutting off ---&amp;gt; you are getting an error. The query you are sending is not the query you think you are sending.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;let's try a few things:&lt;/P&gt;&lt;P&gt;1) confirm you are only sending one statement (ie one ;)&amp;nbsp;&lt;/P&gt;&lt;P&gt;2) you can write your single cell to a text file via output data. Open it. Compare it to what you think you are sending in. Identify difference. fix.&lt;/P&gt;&lt;P&gt;3) make sure that you are using the correct string type (vwstring ---&amp;gt; large max) so your query doesn't cut off because it's looking for a 400 character string.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you want to fix this ---&amp;gt; follow my instructions.&lt;/P&gt;</description>
      <pubDate>Fri, 27 Jun 2025 23:39:31 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/using-text-input-with-column-header-as-SQL-Qry-which-includes/m-p/1399817#M347197</guid>
      <dc:creator>apathetichell</dc:creator>
      <dc:date>2025-06-27T23:39:31Z</dc:date>
    </item>
    <item>
      <title>Re: using text input with column header as SQL_Qry which includes 400 lines of SQL in sing</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/using-text-input-with-column-header-as-SQL-Qry-which-includes/m-p/1400499#M347325</link>
      <description>&lt;P&gt;issue was wit the size of the parameter that we are passing. We have to change the size of the parameter in the macro to the max vw_string. Its working now&lt;/P&gt;</description>
      <pubDate>Wed, 02 Jul 2025 15:17:42 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/using-text-input-with-column-header-as-SQL-Qry-which-includes/m-p/1400499#M347325</guid>
      <dc:creator>Raj_007</dc:creator>
      <dc:date>2025-07-02T15:17:42Z</dc:date>
    </item>
  </channel>
</rss>

