<?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: Create Table if doesnt exist and insert otherwise truncate in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Create-Table-if-doesnt-exist-and-insert-otherwise-truncate/m-p/2215320#M11786</link>
    <description>you can manage your db structure using system tables.&lt;BR /&gt;retrieve table ifo then chose to drop or not.&lt;BR /&gt;</description>
    <pubDate>Tue, 25 Sep 2018 08:21:25 GMT</pubDate>
    <dc:creator>fdenis</dc:creator>
    <dc:date>2018-09-25T08:21:25Z</dc:date>
    <item>
      <title>Create Table if doesnt exist and insert otherwise truncate</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Create-Table-if-doesnt-exist-and-insert-otherwise-truncate/m-p/2215319#M11785</link>
      <description>&lt;P&gt;My current process is below&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;tSyBaseInput -----&amp;gt; tConvertType ------&amp;gt; tMSSqlOutput&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Currently my data is loading from one database to another, with a tconverttype inbetween.&lt;/P&gt;
&lt;P&gt;The action on the output table is Truncate Table, and Insert Data.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am trying to meet the additional criteria;&lt;/P&gt;
&lt;P&gt;1. If Table(output) exists then truncate and insert (Currently working)&lt;/P&gt;
&lt;P&gt;2. If Table(output) does not exist then Create Table and Insert&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And lastly, if there schema for table(output) is different from the tConvert - Drop and Create Table and Insert.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can anyone point me in the right direction for this?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 25 Sep 2018 03:26:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Create-Table-if-doesnt-exist-and-insert-otherwise-truncate/m-p/2215319#M11785</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-09-25T03:26:03Z</dc:date>
    </item>
    <item>
      <title>Re: Create Table if doesnt exist and insert otherwise truncate</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Create-Table-if-doesnt-exist-and-insert-otherwise-truncate/m-p/2215320#M11786</link>
      <description>you can manage your db structure using system tables.&lt;BR /&gt;retrieve table ifo then chose to drop or not.&lt;BR /&gt;</description>
      <pubDate>Tue, 25 Sep 2018 08:21:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Create-Table-if-doesnt-exist-and-insert-otherwise-truncate/m-p/2215320#M11786</guid>
      <dc:creator>fdenis</dc:creator>
      <dc:date>2018-09-25T08:21:25Z</dc:date>
    </item>
  </channel>
</rss>

