<?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>Question Re: Selecting SQL server varchar(max) into datawindow? in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/selecting-sql-server-varchar-max-into-datawindow/qaa-p/350497#M18713</link>
    <description>&lt;P&gt;Well I handled my situation like this.  &lt;/P&gt;&lt;P&gt;I am selecting information from a SQL Server database which has a varchar(max) column.  Creating a datawindow in PB converts these into a char(8000).  For probably 90% of the time this is sufficient.  For the other times I save the data into another table, use a second datastore to select against the same record set but looking for fields where the varchar(max) column exceeds the 8000 limit, then I loop through these records and create a dynamic cursor for each and select the varchar(max) field into a string variable.  I then update the corresponding record with the string variable.&lt;/P&gt;</description>
    <pubDate>Thu, 02 Feb 2017 20:10:31 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2017-02-02T20:10:31Z</dc:date>
    <item>
      <title>Selecting SQL server varchar(max) into datawindow?</title>
      <link>https://community.sap.com/t5/technology-q-a/selecting-sql-server-varchar-max-into-datawindow/qaq-p/350495</link>
      <description>&lt;P&gt;Can you exceed the 32k max for a character column?  I've seen reference to select blob... but I'd like an example.  &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Wed, 11 Jan 2017 19:37:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/selecting-sql-server-varchar-max-into-datawindow/qaq-p/350495</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2017-01-11T19:37:48Z</dc:date>
    </item>
    <item>
      <title>Re: Selecting SQL server varchar(max) into datawindow?</title>
      <link>https://community.sap.com/t5/technology-q-a/selecting-sql-server-varchar-max-into-datawindow/qaa-p/350496#M18712</link>
      <description>&lt;P&gt;Hi Matt;&lt;/P&gt;&lt;P&gt; Have you looked int using the new DW's TableBLOB feature for this that was introduced into the newer PB Versions?&lt;/P&gt;&lt;P&gt;Regards ... Chris&lt;/P&gt;</description>
      <pubDate>Wed, 11 Jan 2017 20:31:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/selecting-sql-server-varchar-max-into-datawindow/qaa-p/350496#M18712</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2017-01-11T20:31:09Z</dc:date>
    </item>
    <item>
      <title>Re: Selecting SQL server varchar(max) into datawindow?</title>
      <link>https://community.sap.com/t5/technology-q-a/selecting-sql-server-varchar-max-into-datawindow/qaa-p/350497#M18713</link>
      <description>&lt;P&gt;Well I handled my situation like this.  &lt;/P&gt;&lt;P&gt;I am selecting information from a SQL Server database which has a varchar(max) column.  Creating a datawindow in PB converts these into a char(8000).  For probably 90% of the time this is sufficient.  For the other times I save the data into another table, use a second datastore to select against the same record set but looking for fields where the varchar(max) column exceeds the 8000 limit, then I loop through these records and create a dynamic cursor for each and select the varchar(max) field into a string variable.  I then update the corresponding record with the string variable.&lt;/P&gt;</description>
      <pubDate>Thu, 02 Feb 2017 20:10:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/selecting-sql-server-varchar-max-into-datawindow/qaa-p/350497#M18713</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2017-02-02T20:10:31Z</dc:date>
    </item>
    <item>
      <title>Re: Selecting SQL server varchar(max) into datawindow?</title>
      <link>https://community.sap.com/t5/technology-q-a/selecting-sql-server-varchar-max-into-datawindow/qaa-p/350498#M18714</link>
      <description>&lt;P&gt;I believe I have retrieved 1,000,000 chars before, it does slow down though. You can create the datawindow then edit the source and change the length of the field to whatever you want (I think, it's been a while!)&lt;/P&gt;</description>
      <pubDate>Tue, 07 Feb 2017 13:56:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/selecting-sql-server-varchar-max-into-datawindow/qaa-p/350498#M18714</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2017-02-07T13:56:15Z</dc:date>
    </item>
  </channel>
</rss>

