<?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: Convert type Text in Postgres to VARCHAR in Oracle in Qlik Replicate</title>
    <link>https://community.qlik.com/t5/Qlik-Replicate/Convert-type-Text-in-Postgres-to-VARCHAR-in-Oracle/m-p/2123575#M7481</link>
    <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/247020"&gt;@vitalf03&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Thanks for opening the article!&lt;/P&gt;
&lt;P&gt;By default, the &lt;A title="TEXT data type in PostgreSQL is treat as NCLOB" href="https://help.qlik.com/en-US/replicate/May2023/Content/Replicate/Main/PostgreSQL/postgresql_data_types_source.htm#ar_postgresds_802412600_1377123:~:text=TEXT,NCLOB" target="_blank" rel="noopener"&gt;TEXT data type in PostgreSQL is treat as NCLOB&lt;/A&gt;, so far the data type in Oracle will be created as NCLOB. If you want to map it to VARCHAR2, then the straightforward way is changing the data type from &lt;FONT face="courier new,courier"&gt;NCLOB&lt;/FONT&gt; to &lt;FONT face="courier new,courier"&gt;STRING(n)&lt;/FONT&gt; in Transform , where n is the maximum length of the TEXT column. The column in Oracle will be created as &lt;FONT face="courier new,courier"&gt;VARCHAR2(n)&lt;/FONT&gt;.&lt;/P&gt;
&lt;P&gt;The screen shot:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="john_wang_0-1695916928495.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/117322i3F457729F0E6C961/image-size/medium?v=v2&amp;amp;px=400" role="button" title="john_wang_0-1695916928495.png" alt="john_wang_0-1695916928495.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;I'm not very sure why it becomes NULL in your scenarios, please let us know the transformation definition, and if the problem occurs in Full Load, or in CDC, or in both of Full Load and CDC.&lt;/P&gt;
&lt;P&gt;BTW, we have other options eg:&lt;/P&gt;
&lt;P&gt;1- use &lt;A title="source_lookup" href="https://help.qlik.com/en-US/replicate/May2023/Content/Global_Common/Content/SharedEMReplicate/Customize%20Tasks/tasks_expressOther.htm#:~:text=source_lookup(TTL%2C%27SCHM,the%20source%20endpoint." target="_blank" rel="noopener"&gt;source_lookup&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;2- use PostgreSQL parameters&amp;nbsp;&lt;FONT face="courier new,courier"&gt;TextAsLongVarchar&lt;/FONT&gt; to control the data type mapping&lt;/P&gt;
&lt;P&gt;Hope this helps.&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;John.&lt;/P&gt;</description>
    <pubDate>Thu, 28 Sep 2023 16:08:37 GMT</pubDate>
    <dc:creator>john_wang</dc:creator>
    <dc:date>2023-09-28T16:08:37Z</dc:date>
    <item>
      <title>Convert type Text in Postgres to VARCHAR in Oracle</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Convert-type-Text-in-Postgres-to-VARCHAR-in-Oracle/m-p/2123517#M7477</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Using Qlik Replicate, I am trying to convert a column of type TEXT in Postgres (Source) to VARCHAR in Oracle (destination), but when the transaction occurs this column of type TEXT is registered as NULL on target.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;how i do Convert type Text in Postgres to VARCHAR in Oracle?&lt;/P&gt;</description>
      <pubDate>Thu, 28 Sep 2023 14:25:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Convert-type-Text-in-Postgres-to-VARCHAR-in-Oracle/m-p/2123517#M7477</guid>
      <dc:creator>vitalf03</dc:creator>
      <dc:date>2023-09-28T14:25:01Z</dc:date>
    </item>
    <item>
      <title>Re: Convert type Text in Postgres to VARCHAR in Oracle</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Convert-type-Text-in-Postgres-to-VARCHAR-in-Oracle/m-p/2123575#M7481</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/247020"&gt;@vitalf03&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Thanks for opening the article!&lt;/P&gt;
&lt;P&gt;By default, the &lt;A title="TEXT data type in PostgreSQL is treat as NCLOB" href="https://help.qlik.com/en-US/replicate/May2023/Content/Replicate/Main/PostgreSQL/postgresql_data_types_source.htm#ar_postgresds_802412600_1377123:~:text=TEXT,NCLOB" target="_blank" rel="noopener"&gt;TEXT data type in PostgreSQL is treat as NCLOB&lt;/A&gt;, so far the data type in Oracle will be created as NCLOB. If you want to map it to VARCHAR2, then the straightforward way is changing the data type from &lt;FONT face="courier new,courier"&gt;NCLOB&lt;/FONT&gt; to &lt;FONT face="courier new,courier"&gt;STRING(n)&lt;/FONT&gt; in Transform , where n is the maximum length of the TEXT column. The column in Oracle will be created as &lt;FONT face="courier new,courier"&gt;VARCHAR2(n)&lt;/FONT&gt;.&lt;/P&gt;
&lt;P&gt;The screen shot:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="john_wang_0-1695916928495.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/117322i3F457729F0E6C961/image-size/medium?v=v2&amp;amp;px=400" role="button" title="john_wang_0-1695916928495.png" alt="john_wang_0-1695916928495.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;I'm not very sure why it becomes NULL in your scenarios, please let us know the transformation definition, and if the problem occurs in Full Load, or in CDC, or in both of Full Load and CDC.&lt;/P&gt;
&lt;P&gt;BTW, we have other options eg:&lt;/P&gt;
&lt;P&gt;1- use &lt;A title="source_lookup" href="https://help.qlik.com/en-US/replicate/May2023/Content/Global_Common/Content/SharedEMReplicate/Customize%20Tasks/tasks_expressOther.htm#:~:text=source_lookup(TTL%2C%27SCHM,the%20source%20endpoint." target="_blank" rel="noopener"&gt;source_lookup&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;2- use PostgreSQL parameters&amp;nbsp;&lt;FONT face="courier new,courier"&gt;TextAsLongVarchar&lt;/FONT&gt; to control the data type mapping&lt;/P&gt;
&lt;P&gt;Hope this helps.&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;John.&lt;/P&gt;</description>
      <pubDate>Thu, 28 Sep 2023 16:08:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Convert-type-Text-in-Postgres-to-VARCHAR-in-Oracle/m-p/2123575#M7481</guid>
      <dc:creator>john_wang</dc:creator>
      <dc:date>2023-09-28T16:08:37Z</dc:date>
    </item>
  </channel>
</rss>

