<?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 OLEDB - SQL Query - Too many characters - Data Item in Product Forum</title>
    <link>https://community.blueprism.com/t5/Product-Forum/OLEDB-SQL-Query-Too-many-characters-Data-Item/m-p/65660#M18265</link>
    <description>Hello,&lt;BR /&gt;I need to run a large sql statement.&amp;nbsp; Currently the only way I know how to pass sql into the Data - OLEDB (Get Collection) is by using a data item with the sql statement.&amp;nbsp; That limits you to a small number of characters (255?).&amp;nbsp; Does anyone know how to pass a large sql statement into the Get Collection action?&lt;BR /&gt;&lt;BR /&gt;Thanks!&lt;BR /&gt;Jon&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Jonathan Holstine&lt;BR /&gt;Systems Accountant&lt;BR /&gt;Interior Business Center&lt;BR /&gt;America/Denver&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
    <pubDate>Fri, 13 Dec 2019 22:12:00 GMT</pubDate>
    <dc:creator>JonathanHolstin</dc:creator>
    <dc:date>2019-12-13T22:12:00Z</dc:date>
    <item>
      <title>OLEDB - SQL Query - Too many characters - Data Item</title>
      <link>https://community.blueprism.com/t5/Product-Forum/OLEDB-SQL-Query-Too-many-characters-Data-Item/m-p/65660#M18265</link>
      <description>Hello,&lt;BR /&gt;I need to run a large sql statement.&amp;nbsp; Currently the only way I know how to pass sql into the Data - OLEDB (Get Collection) is by using a data item with the sql statement.&amp;nbsp; That limits you to a small number of characters (255?).&amp;nbsp; Does anyone know how to pass a large sql statement into the Get Collection action?&lt;BR /&gt;&lt;BR /&gt;Thanks!&lt;BR /&gt;Jon&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Jonathan Holstine&lt;BR /&gt;Systems Accountant&lt;BR /&gt;Interior Business Center&lt;BR /&gt;America/Denver&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Fri, 13 Dec 2019 22:12:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/OLEDB-SQL-Query-Too-many-characters-Data-Item/m-p/65660#M18265</guid>
      <dc:creator>JonathanHolstin</dc:creator>
      <dc:date>2019-12-13T22:12:00Z</dc:date>
    </item>
    <item>
      <title>RE: OLEDB - SQL Query - Too many characters - Data Item</title>
      <link>https://community.blueprism.com/t5/Product-Forum/OLEDB-SQL-Query-Too-many-characters-Data-Item/m-p/65661#M18266</link>
      <description>There is no such limitation.&lt;BR /&gt;Can you post the SQL Please?&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Vivek Goel&lt;BR /&gt;RPA Architect&lt;BR /&gt;Asia/Singapore&lt;BR /&gt;&lt;A href="https://www.rpatools.com/" target="test_blank"&gt;https://www.rpatools.com/&lt;/A&gt;&lt;BR /&gt;"If you like this post, please press the "Recommend" Button.&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Mon, 16 Dec 2019 03:15:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/OLEDB-SQL-Query-Too-many-characters-Data-Item/m-p/65661#M18266</guid>
      <dc:creator>vivek.kumar.goel</dc:creator>
      <dc:date>2019-12-16T03:15:00Z</dc:date>
    </item>
    <item>
      <title>RE: OLEDB - SQL Query - Too many characters - Data Item</title>
      <link>https://community.blueprism.com/t5/Product-Forum/OLEDB-SQL-Query-Too-many-characters-Data-Item/m-p/65662#M18267</link>
      <description>Hi Jonathan,&lt;BR /&gt;I recently ran into this as well working with OLEDB.&amp;nbsp; One method would be to use multiple data items for sections and then concatenate in a final data item, i.e.&amp;nbsp; [sql pt1] &amp;amp; [sql pt2].&amp;nbsp; I created variables for the base sql, where clause, and fields I would select and then concatenated together for complete sql statement. Another method would be to store the query in an external text file, load that file when needed and pass to object. You could do this with the pre-built Utility-File Management VBO or you could use a code stage, example here:&amp;nbsp;&lt;MARK style="background: #ffffff; color: #000000;"&gt;&lt;A href="http://portal.blueprism.com/customer-support/support-center#/path/1158159412" target="test_blank"&gt;http://portal.blueprism.com/customer-support/support-center#/path/1158159412&lt;/A&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Ed&lt;/MARK&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Ed Garabedian&lt;BR /&gt;Sr. Solutions Consultant&lt;BR /&gt;Blue Prism&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Mon, 16 Dec 2019 12:22:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/OLEDB-SQL-Query-Too-many-characters-Data-Item/m-p/65662#M18267</guid>
      <dc:creator>EdGarabedian1</dc:creator>
      <dc:date>2019-12-16T12:22:00Z</dc:date>
    </item>
  </channel>
</rss>

