<?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: Loading data from PostgreSQL - string length limit exceeded? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Loading-data-from-PostgreSQL-string-length-limit-exceeded/m-p/1828201#M1214163</link>
    <description>&lt;P&gt;I think that the mentioned length-limit relates to the applied odbc-driver and it's not the limit from the Qlik side of how many chars could be stored within a single field-value. Therefore another driver might have more resources especially if it's a 64-bit driver.&lt;/P&gt;&lt;P&gt;Maybe easier than that might be to store this table as csv and loading then the content as flat-file into Qlik.&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;</description>
    <pubDate>Thu, 12 Aug 2021 10:46:13 GMT</pubDate>
    <dc:creator>marcus_sommer</dc:creator>
    <dc:date>2021-08-12T10:46:13Z</dc:date>
    <item>
      <title>Loading data from PostgreSQL - string length limit exceeded?</title>
      <link>https://community.qlik.com/t5/QlikView/Loading-data-from-PostgreSQL-string-length-limit-exceeded/m-p/1827947#M1214131</link>
      <description>&lt;P&gt;Could anyone please advise how can I load data in Qlikview script from a PostgreSQL&amp;nbsp;where one table has a column of Text type with a size of 2,147,483,647. This contains an encoded list of items and their individual counts. The ASCII standard &amp;lt;GS&amp;gt; and &amp;lt;RS&amp;gt; are used to separate elements within a record. E.g. the data looks like &lt;STRONG&gt;&amp;lt;GS&amp;gt;&lt;/STRONG&gt;&lt;FONT size="5"&gt;1&lt;/FONT&gt;&amp;lt;RS&amp;gt;&lt;FONT size="5"&gt;AAA&lt;/FONT&gt;&lt;STRONG&gt;&amp;lt;GS&amp;gt;&lt;/STRONG&gt;&lt;FONT size="5"&gt;3&lt;/FONT&gt;&amp;lt;RS&amp;gt;&lt;FONT size="5"&gt;BBB&lt;/FONT&gt;&lt;STRONG&gt;&amp;lt;GS&amp;gt;&lt;/STRONG&gt;&lt;FONT size="5"&gt;4&lt;/FONT&gt;&amp;lt;RS&amp;gt;&lt;FONT size="5"&gt;CC&lt;/FONT&gt;C&lt;STRONG&gt;&amp;lt;GS&amp;gt;&lt;/STRONG&gt;. And I want to break it down into each records like the below:&lt;/P&gt;&lt;P&gt;&lt;U&gt;Count&lt;/U&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;U&gt;Item&lt;/U&gt;&lt;/P&gt;&lt;P&gt;1&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; AAA&lt;/P&gt;&lt;P&gt;3&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; BBB&lt;/P&gt;&lt;P&gt;4&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; CCC&lt;/P&gt;&lt;P&gt;I know I can use subfield function to decode such format, however, the text of this value could be so long that seems exceed the length limit of String supported by Qlikview.&lt;/P&gt;&lt;P&gt;I looked for information online and found this page: &lt;A href="https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fhelp.qlik.com%2Fen-US%2Fconnectors%2FSubsystems%2FODBC_connector_help%2FContent%2FConnectors_ODBC%2FPostgresSQL%2FCreate-PostgreSQL-connection.htm&amp;amp;data=04%7C01%7CSky.Cheok%40qlik.com%7C3acffb8a66e8415738e708d95bc3b7ea%7Cc21eeb5ff5a644e8a997124f2f7a497c%7C0%7C0%7C637641718447274907%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;amp;sdata=ZdeYVflh%2FUqfOEOugMHuckodg4T%2BOecVvtxvYkipDLk%3D&amp;amp;reserved=0" target="_blank"&gt;https://help.qlik.com/en-US/connectors/Subsystems/ODBC_connector_help/Content/Connectors_ODBC/PostgresSQL/Create-PostgreSQL-connection.htm&lt;/A&gt; where it suggests the limit is 16384.&lt;/P&gt;&lt;P&gt;Am I correct? &amp;nbsp;Is there any workaround or suggestion?&amp;nbsp; Thank you very much in advance!&lt;/P&gt;</description>
      <pubDate>Wed, 11 Aug 2021 11:15:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loading-data-from-PostgreSQL-string-length-limit-exceeded/m-p/1827947#M1214131</guid>
      <dc:creator>270</dc:creator>
      <dc:date>2021-08-11T11:15:01Z</dc:date>
    </item>
    <item>
      <title>Re: Loading data from PostgreSQL - string length limit exceeded?</title>
      <link>https://community.qlik.com/t5/QlikView/Loading-data-from-PostgreSQL-string-length-limit-exceeded/m-p/1828201#M1214163</link>
      <description>&lt;P&gt;I think that the mentioned length-limit relates to the applied odbc-driver and it's not the limit from the Qlik side of how many chars could be stored within a single field-value. Therefore another driver might have more resources especially if it's a 64-bit driver.&lt;/P&gt;&lt;P&gt;Maybe easier than that might be to store this table as csv and loading then the content as flat-file into Qlik.&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;</description>
      <pubDate>Thu, 12 Aug 2021 10:46:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loading-data-from-PostgreSQL-string-length-limit-exceeded/m-p/1828201#M1214163</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2021-08-12T10:46:13Z</dc:date>
    </item>
    <item>
      <title>Re: Loading data from PostgreSQL - string length limit exceeded?</title>
      <link>https://community.qlik.com/t5/QlikView/Loading-data-from-PostgreSQL-string-length-limit-exceeded/m-p/1828407#M1214177</link>
      <description>&lt;P&gt;Thanks very much Marcus!&amp;nbsp;&lt;/P&gt;&lt;P&gt;Your comment about odbc driver led me to think there is a setting on my odbc driver and I've reconfigured the Max LongVarChar to&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;2,147,483,647. And the issue is gone now!&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 13 Aug 2021 05:54:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loading-data-from-PostgreSQL-string-length-limit-exceeded/m-p/1828407#M1214177</guid>
      <dc:creator>270</dc:creator>
      <dc:date>2021-08-13T05:54:16Z</dc:date>
    </item>
  </channel>
</rss>

