<?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: [resolved] SQL 2008 Date-Type not supported? (TIS) in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/resolved-SQL-2008-Date-Type-not-supported-TIS/m-p/2367816#M131152</link>
    <description>&lt;P&gt;Hi &lt;BR /&gt;First, please take a look at the below page to know the date and time type in of SQL Server 2008.&lt;BR /&gt;&lt;A href="https://www.mssqltips.com/sqlservertip/1616/sql-server-2008-date-and-time-data-types/" target="_blank" rel="nofollow noopener noreferrer"&gt;https://www.mssqltips.com/sqlservertip/1616/sql-server-2008-date-and-time-data-types/&lt;/A&gt;&lt;BR /&gt;datetime variables store 8-byte time and date values ranging from January 1, 1753 to December 31, 9999 with an accuracy of 3.33 milliseconds.&lt;BR /&gt;datetime2 variables use between 6-8 bytes to store dates and times between January 1, 0001 and December 31, 9999 with an accuracy of 100 nanoseconds.&lt;BR /&gt;So, you need to change the type of column from datetime to datetime2 in database to keep 0001-01-01 in target table. &lt;BR /&gt;If you can't change field type for some reason, you can set it to null if the date prior to January 1st, 1970. see a similar topic and get the solutions in &lt;BR /&gt;&lt;A href="https://community.qlik.com/s/feed/0D53p00007vCtABCA0" target="_blank" rel="nofollow noopener noreferrer"&gt;https://community.talend.com/t5/Design-and-Development/MySQL-gt-MsSQL-quot-zero-date-quot-problem/td-p/62097&lt;/A&gt;&lt;BR /&gt;Best regards&lt;BR /&gt;Shong&lt;/P&gt;</description>
    <pubDate>Fri, 30 Mar 2012 02:22:05 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2012-03-30T02:22:05Z</dc:date>
    <item>
      <title>[resolved] SQL 2008 Date-Type not supported? (TIS)</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-SQL-2008-Date-Type-not-supported-TIS/m-p/2367815#M131151</link>
      <description>When I try to import a DB2(AS400)-DATE-Field like 0001-01-01 via tMSSqlOutput (-DATE-Field) to MS SQLServer 2008 an error occurs:
&lt;BR /&gt;Exception in component tMSSqlOutput_1
&lt;BR /&gt;java.sql.SQLException: Only dates between January 1, 1753 and December 31, 9999 are accepted.
&lt;BR /&gt; at net.sourceforge.jtds.jdbc.DateTime.packDate(DateTime.java:318)
&lt;BR /&gt; at net.sourceforge.jtds.jdbc.DateTime.&amp;lt;init&amp;gt;(DateTime.java:126)
&lt;BR /&gt;All used datatypes (AS400-DATE, MSSQL-DATE and Talend-Java-"Date") supportes Dates befor 1753. Do the Talend- MS-SQl-Server-JDBC-driver only support MSSQL-Server 2005?!
&lt;BR /&gt;
&lt;BR /&gt;Has anyone had experience so? (We use Team Edition 4.1.2)</description>
      <pubDate>Thu, 29 Mar 2012 22:41:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-SQL-2008-Date-Type-not-supported-TIS/m-p/2367815#M131151</guid>
      <dc:creator>PYUR-QLIK-TALEND</dc:creator>
      <dc:date>2012-03-29T22:41:28Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] SQL 2008 Date-Type not supported? (TIS)</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-SQL-2008-Date-Type-not-supported-TIS/m-p/2367816#M131152</link>
      <description>&lt;P&gt;Hi &lt;BR /&gt;First, please take a look at the below page to know the date and time type in of SQL Server 2008.&lt;BR /&gt;&lt;A href="https://www.mssqltips.com/sqlservertip/1616/sql-server-2008-date-and-time-data-types/" target="_blank" rel="nofollow noopener noreferrer"&gt;https://www.mssqltips.com/sqlservertip/1616/sql-server-2008-date-and-time-data-types/&lt;/A&gt;&lt;BR /&gt;datetime variables store 8-byte time and date values ranging from January 1, 1753 to December 31, 9999 with an accuracy of 3.33 milliseconds.&lt;BR /&gt;datetime2 variables use between 6-8 bytes to store dates and times between January 1, 0001 and December 31, 9999 with an accuracy of 100 nanoseconds.&lt;BR /&gt;So, you need to change the type of column from datetime to datetime2 in database to keep 0001-01-01 in target table. &lt;BR /&gt;If you can't change field type for some reason, you can set it to null if the date prior to January 1st, 1970. see a similar topic and get the solutions in &lt;BR /&gt;&lt;A href="https://community.qlik.com/s/feed/0D53p00007vCtABCA0" target="_blank" rel="nofollow noopener noreferrer"&gt;https://community.talend.com/t5/Design-and-Development/MySQL-gt-MsSQL-quot-zero-date-quot-problem/td-p/62097&lt;/A&gt;&lt;BR /&gt;Best regards&lt;BR /&gt;Shong&lt;/P&gt;</description>
      <pubDate>Fri, 30 Mar 2012 02:22:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-SQL-2008-Date-Type-not-supported-TIS/m-p/2367816#M131152</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-03-30T02:22:05Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] SQL 2008 Date-Type not supported? (TIS)</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-SQL-2008-Date-Type-not-supported-TIS/m-p/2367817#M131153</link>
      <description>Thanks, shong, for your reply. 
&lt;BR /&gt;I'm afraid you missunderstood my describe. I know the difference between datetime and datetime2. I dont't wont insert in a datetime(2)-Field. I tried to insert in a DATE-Field: 
&lt;BR /&gt;"date variables use 3 bytes to store a date only (with no time information) in the range 
&lt;B&gt;January 1, 0001&lt;/B&gt; through December 31, 9999." (from your first link &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt; 
&lt;BR /&gt;Nevertheless I get the error... 
&lt;BR /&gt;Please have a look at the uploaded screenshots.</description>
      <pubDate>Fri, 30 Mar 2012 08:13:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-SQL-2008-Date-Type-not-supported-TIS/m-p/2367817#M131153</guid>
      <dc:creator>PYUR-QLIK-TALEND</dc:creator>
      <dc:date>2012-03-30T08:13:35Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] SQL 2008 Date-Type not supported? (TIS)</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-SQL-2008-Date-Type-not-supported-TIS/m-p/2367818#M131154</link>
      <description>Hi
&lt;BR /&gt;Yes, the Date type should work with January 1, 0001. Not sure the date is read correct from the source database, try to add a tLogRow after tAs400Input to print the date on the console.
&lt;BR /&gt;Best regards
&lt;BR /&gt;Shong</description>
      <pubDate>Fri, 30 Mar 2012 08:56:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-SQL-2008-Date-Type-not-supported-TIS/m-p/2367818#M131154</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-03-30T08:56:06Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] SQL 2008 Date-Type not supported? (TIS)</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-SQL-2008-Date-Type-not-supported-TIS/m-p/2367819#M131155</link>
      <description>Trust me, shong, I tested much variants before I opened this task &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt; 
&lt;BR /&gt;All results in tLogRow was correctly. May be, there is a testing-routine in tMSSQL_Output-component, to protect inserting a wrong MSSQL-200 
&lt;B&gt;&lt;FONT color="red"&gt;5&lt;/FONT&gt;&lt;/B&gt;-date(time). - But our Server is really 200 
&lt;B&gt;8&lt;/B&gt; - i tested a "manually" insert to this field (01.01.0001) - no problem. 
&lt;BR /&gt;If(!) this is indeed a bug - it's shure, TIS-Version 5... -tMSSQL_Output works fine? In about 4 weeks, we'll try to update our TIS 4.1.2. But betweenwhiles we could not continue to work. And if the update fails... &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt; 
&lt;BR /&gt;regards -paula11</description>
      <pubDate>Fri, 30 Mar 2012 09:32:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-SQL-2008-Date-Type-not-supported-TIS/m-p/2367819#M131155</guid>
      <dc:creator>PYUR-QLIK-TALEND</dc:creator>
      <dc:date>2012-03-30T09:32:39Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] SQL 2008 Date-Type not supported? (TIS)</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-SQL-2008-Date-Type-not-supported-TIS/m-p/2367820#M131156</link>
      <description>Hi
&lt;BR /&gt;According to what you said in the topic, I can reproduced the issue.
&lt;BR /&gt;I inserted in a DATE-Field and got the same error. 
&lt;BR /&gt;I 'm sure this is not due to bug in jtds.
&lt;BR /&gt;If I change the JDBC to ODBC, the error still recurs indeed.
&lt;BR /&gt;Besides, every time I retrieve schema of this DATE filed table. 
&lt;BR /&gt;It will changed into DATETIME automatically.
&lt;BR /&gt;It seems that Talend will regard all DATE filds as DATETIME.
&lt;BR /&gt;Please report it on 
&lt;A href="http://jira.talendforge.org/secure/Dashboard.jspa" target="_blank" rel="nofollow noopener noreferrer"&gt;BugTracker&lt;/A&gt;.
&lt;BR /&gt;JDBC: ERROR
&lt;BR /&gt;ODBC: ERROR
&lt;BR /&gt;tMSSQLROW: Works fine.
&lt;BR /&gt;Regards,
&lt;BR /&gt;Pedro</description>
      <pubDate>Sat, 31 Mar 2012 07:24:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-SQL-2008-Date-Type-not-supported-TIS/m-p/2367820#M131156</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-03-31T07:24:36Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] SQL 2008 Date-Type not supported? (TIS)</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-SQL-2008-Date-Type-not-supported-TIS/m-p/2367821#M131157</link>
      <description>Hi Pedro,&lt;BR /&gt;thank you for your investigation. I reported this problem on BugTracker now.&lt;BR /&gt;Do you know, whether this bug still exists in (TIS-) version 5?&lt;BR /&gt;Regards&lt;BR /&gt;-paula11</description>
      <pubDate>Mon, 02 Apr 2012 17:52:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-SQL-2008-Date-Type-not-supported-TIS/m-p/2367821#M131157</guid>
      <dc:creator>PYUR-QLIK-TALEND</dc:creator>
      <dc:date>2012-04-02T17:52:17Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] SQL 2008 Date-Type not supported? (TIS)</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-SQL-2008-Date-Type-not-supported-TIS/m-p/2367822#M131158</link>
      <description>Hi Paula11&lt;BR /&gt;Yes. I reproduced this issue in TIS 5.0.1.&lt;BR /&gt;As you have reported this issue on BugTracker, you can trace the process and get info about fixed version.&lt;BR /&gt;Regards,&lt;BR /&gt;Pedro</description>
      <pubDate>Thu, 05 Apr 2012 02:49:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-SQL-2008-Date-Type-not-supported-TIS/m-p/2367822#M131158</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-04-05T02:49:28Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] SQL 2008 Date-Type not supported? (TIS)</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-SQL-2008-Date-Type-not-supported-TIS/m-p/2367823#M131159</link>
      <description>Hi Pedro,
&lt;BR /&gt;many thanks for your test!!!
&lt;BR /&gt;Our TIS-update-link refer to Version 5.0.
&lt;B&gt;2&lt;/B&gt;. But I suspect there is the same bug too. So we really have to wait for a fixed version, before we can make the update. (I'll trace it in Bugtracker.) Hope, it will not last too long...
&lt;BR /&gt;Regards
&lt;BR /&gt;-Paula11</description>
      <pubDate>Thu, 05 Apr 2012 10:03:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-SQL-2008-Date-Type-not-supported-TIS/m-p/2367823#M131159</guid>
      <dc:creator>PYUR-QLIK-TALEND</dc:creator>
      <dc:date>2012-04-05T10:03:50Z</dc:date>
    </item>
  </channel>
</rss>

