<?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 column type 'float' problem when creating new table in sql server DB flipped to real in Data Quality</title>
    <link>https://community.qlik.com/t5/Data-Quality/column-type-float-problem-when-creating-new-table-in-sql-server/m-p/2208109#M1019</link>
    <description>&lt;P&gt;hi , i am using tinputdb to extract data from sql server db and toutputdb to save all those data in the a new sql server db that still has no tables in it , so i create by the same output componenet the table if not exist ; the problem here is that all data goes well except for the column that have float type ; they are float in the input database and although i choose that same type in schema , i find it created in the new database wrongly ; it is created as 'real' and also it is half the length !!! so the numbers are trimmed:!! ! and all the data is gone ! &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please how to make sure i get the correct type of float with length 8  in output db ?? what to choose in the schema ?? &lt;/P&gt;</description>
    <pubDate>Fri, 15 Nov 2024 23:10:02 GMT</pubDate>
    <dc:creator>aminegac</dc:creator>
    <dc:date>2024-11-15T23:10:02Z</dc:date>
    <item>
      <title>column type 'float' problem when creating new table in sql server DB flipped to real</title>
      <link>https://community.qlik.com/t5/Data-Quality/column-type-float-problem-when-creating-new-table-in-sql-server/m-p/2208109#M1019</link>
      <description>&lt;P&gt;hi , i am using tinputdb to extract data from sql server db and toutputdb to save all those data in the a new sql server db that still has no tables in it , so i create by the same output componenet the table if not exist ; the problem here is that all data goes well except for the column that have float type ; they are float in the input database and although i choose that same type in schema , i find it created in the new database wrongly ; it is created as 'real' and also it is half the length !!! so the numbers are trimmed:!! ! and all the data is gone ! &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please how to make sure i get the correct type of float with length 8  in output db ?? what to choose in the schema ?? &lt;/P&gt;</description>
      <pubDate>Fri, 15 Nov 2024 23:10:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Data-Quality/column-type-float-problem-when-creating-new-table-in-sql-server/m-p/2208109#M1019</guid>
      <dc:creator>aminegac</dc:creator>
      <dc:date>2024-11-15T23:10:02Z</dc:date>
    </item>
    <item>
      <title>Re: column type 'float' problem when creating new table in sql server DB flipped to real</title>
      <link>https://community.qlik.com/t5/Data-Quality/column-type-float-problem-when-creating-new-table-in-sql-server/m-p/2208110#M1020</link>
      <description>&lt;P&gt;Can you show us the schema of your output db component? &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It should be pointed out that it is not the best idea to create your tables like this. This functionality is provided to help in some situations, but I would never advise a table is recreated like this. You could query your source DB for its DDL and then run that through a DBRow component if you want to recreate the schema exactly....but even that is not ideal. It is always best to create your schema using DDL scripts. That way you keys and any constraints can be handled as well.&lt;/P&gt;</description>
      <pubDate>Tue, 01 Mar 2022 18:21:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Data-Quality/column-type-float-problem-when-creating-new-table-in-sql-server/m-p/2208110#M1020</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-03-01T18:21:33Z</dc:date>
    </item>
    <item>
      <title>Re: column type 'float' problem when creating new table in sql server DB flipped to real</title>
      <link>https://community.qlik.com/t5/Data-Quality/column-type-float-problem-when-creating-new-table-in-sql-server/m-p/2208111#M1021</link>
      <description>&lt;P&gt;thank you for replying . &lt;/P&gt;&lt;P&gt;so you meant i use database scripts for building the architecture first(so everything is created well : types and keys and stored procedures...) and than use talend component to pump all the records ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;here is a screen shot showing what is configured  and what is the bug .&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000ODVgQAAX.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/145228i6B620E49B53E534C/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000ODVgQAAX.png" alt="0695b00000ODVgQAAX.png" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 02 Mar 2022 07:57:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Data-Quality/column-type-float-problem-when-creating-new-table-in-sql-server/m-p/2208111#M1021</guid>
      <dc:creator>aminegac</dc:creator>
      <dc:date>2022-03-02T07:57:47Z</dc:date>
    </item>
    <item>
      <title>Re: column type 'float' problem when creating new table in sql server DB flipped to real</title>
      <link>https://community.qlik.com/t5/Data-Quality/column-type-float-problem-when-creating-new-table-in-sql-server/m-p/2208112#M1022</link>
      <description>&lt;P&gt;Yes, I would always generate a DB schema with scripts. I might use Talend to help quickly build the tables, etc, while I am working. But I would always update them and perfect them before using them in a production system.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To solve your type issue here, it is just a case of modifying the metadata for MSSQL in your project properties. Open the project properties and then go to General ---&amp;gt; Metadata of TalendType....&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000ODWyoAAH.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/129559iE82819ABD3E8175D/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000ODWyoAAH.png" alt="0695b00000ODWyoAAH.png" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;.....select mapping_MSSQL.xml.....&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000ODWyAAAX.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/154476i585EB291E315886F/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000ODWyAAAX.png" alt="0695b00000ODWyAAAX.png" /&gt;&lt;/span&gt;See the red box? Look at that and change the default=true from REAL to FLOAT. Then when you create the table again, it will create the column as a FLOAT.&lt;/P&gt;</description>
      <pubDate>Wed, 02 Mar 2022 11:09:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Data-Quality/column-type-float-problem-when-creating-new-table-in-sql-server/m-p/2208112#M1022</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-03-02T11:09:36Z</dc:date>
    </item>
    <item>
      <title>Re: column type 'float' problem when creating new table in sql server DB flipped to real</title>
      <link>https://community.qlik.com/t5/Data-Quality/column-type-float-problem-when-creating-new-table-in-sql-server/m-p/2208113#M1023</link>
      <description>&lt;P&gt;okay , i will do so .&lt;/P&gt;&lt;P&gt;great trick .&lt;/P&gt;&lt;P&gt;thank you . &lt;/P&gt;</description>
      <pubDate>Wed, 02 Mar 2022 12:31:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Data-Quality/column-type-float-problem-when-creating-new-table-in-sql-server/m-p/2208113#M1023</guid>
      <dc:creator>aminegac</dc:creator>
      <dc:date>2022-03-02T12:31:26Z</dc:date>
    </item>
  </channel>
</rss>

