<?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: Creating SQL Table based on File in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Creating-SQL-Table-based-on-File/m-p/2344273#M111948</link>
    <description>&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;The create table statement is defined based on the schema of tDBOutput component, so open the schema and set the length property of each field. &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Shong&lt;/P&gt;</description>
    <pubDate>Mon, 15 May 2023 10:46:20 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2023-05-15T10:46:20Z</dc:date>
    <item>
      <title>Creating SQL Table based on File</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Creating-SQL-Table-based-on-File/m-p/2344272#M111947</link>
      <description>&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've got a very simple testing pipeline: &lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000hs0DeAAI.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/130616i307E4E81565EB275/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000hs0DeAAI.png" alt="0695b00000hs0DeAAI.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;In row generator I have just TalendDataGenerator.getFirstName() and &lt;/P&gt;&lt;P&gt;TalendDataGenerator.getLastName(). I want to create table like "on the fly" based on scheme provided in &lt;/P&gt;&lt;B&gt;tMap. &lt;/B&gt;&lt;P&gt;The problem is, all the VARCHAR columns length in MySQL is set to 0 what throws this kind of error: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Exception in component tDBOutput_1 (contactTest)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;java.sql.BatchUpdateException: Data truncation: Data too long for column 'firstName' at row 1 ... &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What can I do to make Talend configure a new SQL table with a proper length of string columns? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Nov 2024 21:48:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Creating-SQL-Table-based-on-File/m-p/2344272#M111947</guid>
      <dc:creator>Mr_Pancake</dc:creator>
      <dc:date>2024-11-15T21:48:29Z</dc:date>
    </item>
    <item>
      <title>Re: Creating SQL Table based on File</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Creating-SQL-Table-based-on-File/m-p/2344273#M111948</link>
      <description>&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;The create table statement is defined based on the schema of tDBOutput component, so open the schema and set the length property of each field. &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Shong&lt;/P&gt;</description>
      <pubDate>Mon, 15 May 2023 10:46:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Creating-SQL-Table-based-on-File/m-p/2344273#M111948</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-05-15T10:46:20Z</dc:date>
    </item>
  </channel>
</rss>

