<?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] update/insert into with date-Object in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/resolved-update-insert-into-with-date-Object/m-p/2340519#M108542</link>
    <description>It is a datetime column and the error message is:&lt;BR /&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Bei der Konvertierung eines char-Datentyps in einen datetime-Datentyp liegt der datetime-Wert außerhalb des gültigen Bereichs.&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;translated it would be something like that:&lt;BR /&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;The conversion of a char data type to a datetime data type resulted in an out-of-range datetime value.&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;</description>
    <pubDate>Wed, 21 Oct 2009 07:06:03 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2009-10-21T07:06:03Z</dc:date>
    <item>
      <title>[resolved] update/insert into with date-Object</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-update-insert-into-with-date-Object/m-p/2340517#M108540</link>
      <description>Hi, 
&lt;BR /&gt;I need to substitute getdate() in some tMssqlRow-components so I can use jdbc-components with oracle and ms sql servers 
&lt;BR /&gt;only by changing the jdbc-url. 
&lt;BR /&gt;At the moment I use a TalendDateformatDate("yyyy-MM-dd hh:mm.ss", TalendDate.getCurrentDate()) but 
&lt;BR /&gt;I get an error telling me that the convert from a char is not possible because it is out of the datetime range of value. (I did not upload a screen because it is in German) 
&lt;BR /&gt;Any solution, I figured out yet, with tJavaRow or similar is not possible. 
&lt;BR /&gt;The query I need later will include an insert into .. select .... therefor I need the date directly in that tJDBCRow. 
&lt;BR /&gt;Kind regards, 
&lt;BR /&gt;Harald</description>
      <pubDate>Sat, 16 Nov 2024 13:43:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-update-insert-into-with-date-Object/m-p/2340517#M108540</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T13:43:39Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] update/insert into with date-Object</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-update-insert-into-with-date-Object/m-p/2340518#M108541</link>
      <description>Hello 
&lt;BR /&gt; 
&lt;BLOCKQUOTE&gt; 
 &lt;TABLE border="1"&gt; 
  &lt;TBODY&gt; 
   &lt;TR&gt; 
    &lt;TD&gt;I get an error telling me that the convert from a char&lt;/TD&gt; 
   &lt;/TR&gt; 
  &lt;/TBODY&gt; 
 &lt;/TABLE&gt; 
&lt;/BLOCKQUOTE&gt; 
&lt;BR /&gt;What's the data type of data_last column in table? date or datetime? 
&lt;BR /&gt;Please show me the whole error message. 
&lt;BR /&gt;Best regards 
&lt;BR /&gt; 
&lt;BR /&gt; shong</description>
      <pubDate>Wed, 21 Oct 2009 04:29:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-update-insert-into-with-date-Object/m-p/2340518#M108541</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-10-21T04:29:03Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] update/insert into with date-Object</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-update-insert-into-with-date-Object/m-p/2340519#M108542</link>
      <description>It is a datetime column and the error message is:&lt;BR /&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Bei der Konvertierung eines char-Datentyps in einen datetime-Datentyp liegt der datetime-Wert außerhalb des gültigen Bereichs.&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;translated it would be something like that:&lt;BR /&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;The conversion of a char data type to a datetime data type resulted in an out-of-range datetime value.&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;</description>
      <pubDate>Wed, 21 Oct 2009 07:06:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-update-insert-into-with-date-Object/m-p/2340519#M108542</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-10-21T07:06:03Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] update/insert into with date-Object</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-update-insert-into-with-date-Object/m-p/2340520#M108543</link>
      <description>Hello
&lt;BR /&gt;You need check that what's the default date format of your database. So now you can try that:
&lt;BR /&gt;1)
&lt;BR /&gt;TalendDate.formatDate("yyyy-dd-MM hh:mm.ss", TalendDate.getCurrentDate())
&lt;BR /&gt;or
&lt;BR /&gt;TalendDate.formatDate("MM-dd-yyyy hh:mm.ss", TalendDate.getCurrentDate()) 
&lt;BR /&gt;2)
&lt;BR /&gt;Go to windows--&amp;gt;preferences--&amp;gt;Talend--&amp;gt;Internationlization and change the default local language.
&lt;BR /&gt;Best regards
&lt;BR /&gt; 
&lt;BR /&gt; shong</description>
      <pubDate>Wed, 21 Oct 2009 07:25:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-update-insert-into-with-date-Object/m-p/2340520#M108543</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-10-21T07:25:46Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] update/insert into with date-Object</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-update-insert-into-with-date-Object/m-p/2340521#M108544</link>
      <description>Hi,
&lt;BR /&gt;thank your for your reply.
&lt;BR /&gt;Regrettably 2) setting the local language does not change anything regarding my problem
&lt;BR /&gt;and 1) is already correct, the format is ansi sql so yyyy-MM-dd hh:mm:ss.SSS should be correct.
&lt;BR /&gt;In other parts of the job I can use a tMap to produce the data for a normal tJDBCOutput.
&lt;BR /&gt;It works with yyyy-MM-dd hh:mm:ss.SSS in that tMap. Only if I enter the date-object directly in the sql-query it does not work.
&lt;BR /&gt;Kind regards,
&lt;BR /&gt;Harald</description>
      <pubDate>Wed, 21 Oct 2009 07:55:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-update-insert-into-with-date-Object/m-p/2340521#M108544</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-10-21T07:55:53Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] update/insert into with date-Object</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-update-insert-into-with-date-Object/m-p/2340522#M108545</link>
      <description>Hi,&lt;BR /&gt;I found a solution:&lt;BR /&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;date_last ={ts '" + TalendDate.formatDate("yyyy-MM-dd HH:mm:ss.SSS",TalendDate.getCurrentDate()) + "'}&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;the jdbc-escape-sequenz "ts" works, I just need a date-string&lt;BR /&gt;Kind regards,&lt;BR /&gt;Harald</description>
      <pubDate>Wed, 21 Oct 2009 15:08:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-update-insert-into-with-date-Object/m-p/2340522#M108545</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-10-21T15:08:23Z</dc:date>
    </item>
  </channel>
</rss>

