<?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: Possible DateTime bug in Database Toolkit in LabVIEW</title>
    <link>https://ni.lithium.com/t5/LabVIEW/Possible-DateTime-bug-in-Database-Toolkit/m-p/1503736#M564483</link>
    <description>&lt;P&gt;Actually if you do a parametrized insert there is not necessarily any string involved. The datatime value could be directly passed as a DB variant. But I'm not sure what the internal LabVIEW conversion from it's native control datatypes to a variant does.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Another idea might be a mismatch with the used decimal character. Some local settings use decimal comma, others use decimal point. ADO, which is used by the Database Toolkit, has a strong preference to use&amp;nbsp; the local decimal format, and so does LabVIEW, unless you disable that with an INI file setting. But if your server uses a different setting you have a problem!&lt;/P&gt;</description>
    <pubDate>Tue, 29 Mar 2011 13:39:36 GMT</pubDate>
    <dc:creator>rolfk</dc:creator>
    <dc:date>2011-03-29T13:39:36Z</dc:date>
    <item>
      <title>Possible DateTime bug in Database Toolkit</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Possible-DateTime-bug-in-Database-Toolkit/m-p/1501176#M564003</link>
      <description>&lt;P&gt;Hi!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I dont have the database toolkit here, and it seems you cannot download a 64-bit evaluation ...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Bug? &amp;nbsp;I've been writing DateTime fields to a database through the proper use of clusters and Inserts, but it seems i never get any fractional seconds. The datetime controls shows them and the database fields should support them (atleast it's showing .000 at the end) so i'm wondering: Does it somehow use regional settings for time so it's using my decimal comma and thus ditching the fractions?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;/Yamaeda&lt;/P&gt;</description>
      <pubDate>Sun, 27 Mar 2011 13:07:03 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Possible-DateTime-bug-in-Database-Toolkit/m-p/1501176#M564003</guid>
      <dc:creator>Yamaeda</dc:creator>
      <dc:date>2011-03-27T13:07:03Z</dc:date>
    </item>
    <item>
      <title>Re: Possible DateTime bug in Database Toolkit</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Possible-DateTime-bug-in-Database-Toolkit/m-p/1501236#M564026</link>
      <description>&lt;P&gt;This sounds familliar. It is important to note that Time (civil time of day, NOT an SI Second) can be represtented in several ways.&amp;nbsp; LabVIEW uses a "Epoch" (0) meaning midnight Jan 1 1904 UTC and scale of 1 = 1 sec.&amp;nbsp; Excel uses a scale of 1 = 1 day and an epoch of midnight Jan 0th 1900 Local Time.&amp;nbsp; Some Data base fields may only store strings like "3/27/2011 09:56:12.098" &amp;nbsp; &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Converting a LabVIEW Timestamp to a value for use elsewhere isnt too tricky as long as you know the epoch and scale of the useing application.&amp;nbsp; I posted a sample a while ago that converts a&lt;A href="http://decibel.ni.com/content/docs/DOC-12365" target="_self" rel="nofollow"&gt; timestamp to Exce&lt;/A&gt;l format.&amp;nbsp; It can serve as an example of how these conversions are done.&lt;/P&gt;
&lt;P&gt;&lt;IMG src="http://forums.ni.com/t5/image/serverpage/image-id/38832i100341887D88FDE6/image-size/original?v=mpbl-1&amp;amp;px=-1" border="0" alt="ttxl.png" title="ttxl.png" align="center" /&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 27 Mar 2011 15:06:28 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Possible-DateTime-bug-in-Database-Toolkit/m-p/1501236#M564026</guid>
      <dc:creator>JÞB</dc:creator>
      <dc:date>2011-03-27T15:06:28Z</dc:date>
    </item>
    <item>
      <title>Re: Possible DateTime bug in Database Toolkit</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Possible-DateTime-bug-in-Database-Toolkit/m-p/1501302#M564039</link>
      <description>&lt;P&gt;To debug this, I would try to isolate the problem a bit more to find out where it is ocurring.&amp;nbsp; Assuming you have the code, I would drill down into the subVIs to view the actual INSERT statement that is being sent.&amp;nbsp; For example, &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; INSERT INTO tablename (column1, column2) VALUES (xyz, '2010.12.11 11:11:11.1234')&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;That would allow you to confirm how LV is formatting the statement string.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If that is not possible, you could try creating a "trace" on your database server to view the actual INSERT statement.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My guess is that you are correct:&amp;nbsp; That its some kind of truncatoin issue due to localization of the decimal point.&amp;nbsp; I am guessing there are ways to get around this ... both on the client side (in your LV code) and on the database side.&amp;nbsp; Best of luck to you!&lt;/P&gt;</description>
      <pubDate>Sun, 27 Mar 2011 18:24:22 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Possible-DateTime-bug-in-Database-Toolkit/m-p/1501302#M564039</guid>
      <dc:creator>josborne</dc:creator>
      <dc:date>2011-03-27T18:24:22Z</dc:date>
    </item>
    <item>
      <title>Re: Possible DateTime bug in Database Toolkit</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Possible-DateTime-bug-in-Database-Toolkit/m-p/1501316#M564041</link>
      <description>&lt;P&gt;What database server and version?&lt;/P&gt;</description>
      <pubDate>Sun, 27 Mar 2011 19:35:17 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Possible-DateTime-bug-in-Database-Toolkit/m-p/1501316#M564041</guid>
      <dc:creator>rolfk</dc:creator>
      <dc:date>2011-03-27T19:35:17Z</dc:date>
    </item>
    <item>
      <title>Re: Possible DateTime bug in Database Toolkit</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Possible-DateTime-bug-in-Database-Toolkit/m-p/1502840#M564327</link>
      <description>&lt;P&gt;MS SQL Server, 2000, 2003 and 2008 i think (depending on which computer i run it on).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'll try to look at it tomorrow at work.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The point ofc being that i shouldn't need to format time through a string manually and the like if i use a Cluster with a datetime field as Insert input.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;/Y&lt;/P&gt;</description>
      <pubDate>Mon, 28 Mar 2011 21:45:30 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Possible-DateTime-bug-in-Database-Toolkit/m-p/1502840#M564327</guid>
      <dc:creator>Yamaeda</dc:creator>
      <dc:date>2011-03-28T21:45:30Z</dc:date>
    </item>
    <item>
      <title>Re: Possible DateTime bug in Database Toolkit</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Possible-DateTime-bug-in-Database-Toolkit/m-p/1503054#M564358</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;HR /&gt;&lt;a href="https://ni.lithium.com/t5/user/viewprofilepage/user-id/110591"&gt;@Yamaeda&lt;/a&gt; wrote:&lt;BR /&gt;
&lt;P&gt;MS SQL Server, 2000, 2003 and 2008 i think (depending on which computer i run it on).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The point ofc being that i shouldn't need to format time through a string manually &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;
Epoch--- Scale.&amp;nbsp; "Time" is a number- strings can repesent numbers BUT,.. can't be numbers&lt;BR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 29 Mar 2011 02:04:13 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Possible-DateTime-bug-in-Database-Toolkit/m-p/1503054#M564358</guid>
      <dc:creator>JÞB</dc:creator>
      <dc:date>2011-03-29T02:04:13Z</dc:date>
    </item>
    <item>
      <title>Re: Possible DateTime bug in Database Toolkit</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Possible-DateTime-bug-in-Database-Toolkit/m-p/1503720#M564479</link>
      <description>&lt;BLOCKQUOTE&gt;
&lt;HR /&gt;&lt;a href="https://ni.lithium.com/t5/user/viewprofilepage/user-id/9395"&gt;@Jeff&lt;/a&gt; Bohrer wrote:&lt;BR /&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;HR /&gt;&lt;a href="https://ni.lithium.com/t5/user/viewprofilepage/user-id/110591"&gt;@Yamaeda&lt;/a&gt; wrote:&lt;BR /&gt;
&lt;P&gt;MS SQL Server, 2000, 2003 and 2008 i think (depending on which computer i run it on).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The point ofc being that i shouldn't need to format time through a string manually &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;
Epoch--- Scale.&amp;nbsp; "Time" is a number- strings can repesent numbers BUT,.. can't be numbers&lt;BR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Well the SQL-command is a string in the end, however you turn it. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; &lt;/P&gt;
&lt;P&gt;I send a datetime value, LV converts it to a string to send it as a SQL-command and SQL server converts it back to a datetime value for storage. If there's a bug in Lv's conversion i could generate that string manually and send it to the DateTime DB-field, but i really shouldn't have to.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;/Y&lt;/P&gt;</description>
      <pubDate>Tue, 29 Mar 2011 13:32:01 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Possible-DateTime-bug-in-Database-Toolkit/m-p/1503720#M564479</guid>
      <dc:creator>Yamaeda</dc:creator>
      <dc:date>2011-03-29T13:32:01Z</dc:date>
    </item>
    <item>
      <title>Re: Possible DateTime bug in Database Toolkit</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Possible-DateTime-bug-in-Database-Toolkit/m-p/1503736#M564483</link>
      <description>&lt;P&gt;Actually if you do a parametrized insert there is not necessarily any string involved. The datatime value could be directly passed as a DB variant. But I'm not sure what the internal LabVIEW conversion from it's native control datatypes to a variant does.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Another idea might be a mismatch with the used decimal character. Some local settings use decimal comma, others use decimal point. ADO, which is used by the Database Toolkit, has a strong preference to use&amp;nbsp; the local decimal format, and so does LabVIEW, unless you disable that with an INI file setting. But if your server uses a different setting you have a problem!&lt;/P&gt;</description>
      <pubDate>Tue, 29 Mar 2011 13:39:36 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Possible-DateTime-bug-in-Database-Toolkit/m-p/1503736#M564483</guid>
      <dc:creator>rolfk</dc:creator>
      <dc:date>2011-03-29T13:39:36Z</dc:date>
    </item>
    <item>
      <title>Re: Possible DateTime bug in Database Toolkit</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Possible-DateTime-bug-in-Database-Toolkit/m-p/1503854#M564499</link>
      <description>&lt;P&gt;I just checked the code: DB Tools Generate Parameters doesn't use the fractional seconds at all, no wonder it didn't make it to the DB ... So, how should one go about now, i can fix it locally, but if i need to reinstall i'll bet i've forgotten i ever did the change. &lt;span class="lia-unicode-emoji" title=":grinning_face_with_smiling_eyes:"&gt;😄&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;/Y&lt;/P&gt;</description>
      <pubDate>Tue, 29 Mar 2011 14:45:44 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Possible-DateTime-bug-in-Database-Toolkit/m-p/1503854#M564499</guid>
      <dc:creator>Yamaeda</dc:creator>
      <dc:date>2011-03-29T14:45:44Z</dc:date>
    </item>
    <item>
      <title>Re: Possible DateTime bug in Database Toolkit</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Possible-DateTime-bug-in-Database-Toolkit/m-p/1503980#M564515</link>
      <description>&lt;P&gt;&amp;gt;&amp;gt;DB Tools Generate Parameters doesn't use the fractional seconds at all, no wonder it didn't make it to the DB&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You could build and format your own INSERT statement that using &lt;A rel="nofollow" href="http://zone.ni.com/reference/en-XX/help/370016E-01/lvdatabase/db_tools_execute_query/" target="_self"&gt;this VI&lt;/A&gt;.&amp;nbsp; Then you could take account of the fractional seconds properly.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;gt;&amp;gt;i can fix it locally, but if i need to reinstall i'll bet i've forgotten i ever did the change.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;That sounds like a bug in your software development methodology.&amp;nbsp; &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 29 Mar 2011 15:33:04 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Possible-DateTime-bug-in-Database-Toolkit/m-p/1503980#M564515</guid>
      <dc:creator>josborne</dc:creator>
      <dc:date>2011-03-29T15:33:04Z</dc:date>
    </item>
    <item>
      <title>Re: Possible DateTime bug in Database Toolkit</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Possible-DateTime-bug-in-Database-Toolkit/m-p/1504476#M564627</link>
      <description>&lt;P&gt;On a related note, how do i Format to String a datetime with fixed decimal point ... %T doesn't quite cut it, nor does %&amp;lt;%.3x %X&amp;gt;T help.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;/Y&lt;/P&gt;</description>
      <pubDate>Tue, 29 Mar 2011 20:56:39 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Possible-DateTime-bug-in-Database-Toolkit/m-p/1504476#M564627</guid>
      <dc:creator>Yamaeda</dc:creator>
      <dc:date>2011-03-29T20:56:39Z</dc:date>
    </item>
    <item>
      <title>Re: Possible DateTime bug in Database Toolkit</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Possible-DateTime-bug-in-Database-Toolkit/m-p/1504730#M564662</link>
      <description>&lt;P&gt;How about "%&amp;lt;%x %.3X&amp;gt;T"? %x is the date and nobody wants to see fractional days. &lt;img id="smileyvery-happy" class="emoticon emoticon-smileyvery-happy" src="https://ni.lithium.com/i/smilies/16x16_smiley-very-happy.gif" alt="Smiley Very Happy" title="Smiley Very Happy" /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 29 Mar 2011 23:46:06 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Possible-DateTime-bug-in-Database-Toolkit/m-p/1504730#M564662</guid>
      <dc:creator>rolfk</dc:creator>
      <dc:date>2011-03-29T23:46:06Z</dc:date>
    </item>
    <item>
      <title>Re: Possible DateTime bug in Database Toolkit</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Possible-DateTime-bug-in-Database-Toolkit/m-p/1504868#M564696</link>
      <description>&lt;P&gt;Thanks Rolf, but it results in localized decimal sign in the string.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;/Y&lt;/P&gt;</description>
      <pubDate>Wed, 30 Mar 2011 05:28:27 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Possible-DateTime-bug-in-Database-Toolkit/m-p/1504868#M564696</guid>
      <dc:creator>Yamaeda</dc:creator>
      <dc:date>2011-03-30T05:28:27Z</dc:date>
    </item>
    <item>
      <title>Re: Possible DateTime bug in Database Toolkit</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Possible-DateTime-bug-in-Database-Toolkit/m-p/1505184#M564732</link>
      <description>&lt;P&gt;Have you tried to prepend %.; to the format string for Format into String? That may however not be what you want, since the ADO/ODBC driver or the actual database backend may expect localized decimal strings.&lt;/P&gt;</description>
      <pubDate>Wed, 30 Mar 2011 10:10:42 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Possible-DateTime-bug-in-Database-Toolkit/m-p/1505184#M564732</guid>
      <dc:creator>rolfk</dc:creator>
      <dc:date>2011-03-30T10:10:42Z</dc:date>
    </item>
    <item>
      <title>Re: Possible DateTime bug in Database Toolkit</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Possible-DateTime-bug-in-Database-Toolkit/m-p/1505306#M564753</link>
      <description>&lt;P&gt;Yeah i tried %.; both in the beginning of the format and inside the %&amp;lt;&amp;gt;T (the latter causing an error).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;/Y&lt;/P&gt;</description>
      <pubDate>Wed, 30 Mar 2011 12:03:15 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Possible-DateTime-bug-in-Database-Toolkit/m-p/1505306#M564753</guid>
      <dc:creator>Yamaeda</dc:creator>
      <dc:date>2011-03-30T12:03:15Z</dc:date>
    </item>
    <item>
      <title>Re: Possible DateTime bug in Database Toolkit</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Possible-DateTime-bug-in-Database-Toolkit/m-p/1505398#M564769</link>
      <description>&lt;P&gt;Try this?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Notice that the format string starts with&amp;nbsp;&amp;nbsp;&amp;nbsp; %.;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;That hardcodes the decimal to a period.&amp;nbsp; The entire string is totally hardcoded, though.&amp;nbsp; So you'd have to make sure your DB is expecting one specifc hardcoded format, no matter where it is deployed.&amp;nbsp; Which I am guessing isn't so hard.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;IMG src="http://forums.ni.com/t5/image/serverpage/image-id/39130i1EBD050745E8496F/image-size/original?v=mpbl-1&amp;amp;px=-1" border="0" alt="snippet.png" title="snippet.png" align="center" /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 30 Mar 2011 13:05:25 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Possible-DateTime-bug-in-Database-Toolkit/m-p/1505398#M564769</guid>
      <dc:creator>josborne</dc:creator>
      <dc:date>2011-03-30T13:05:25Z</dc:date>
    </item>
    <item>
      <title>Re: Possible DateTime bug in Database Toolkit</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Possible-DateTime-bug-in-Database-Toolkit/m-p/1505572#M564790</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;HR /&gt;&lt;a href="https://ni.lithium.com/t5/user/viewprofilepage/user-id/110591"&gt;@Yamaeda&lt;/a&gt; wrote:&lt;BR /&gt;
&lt;P&gt;Yeah i tried %.; both in the beginning of the format and inside the %&amp;lt;&amp;gt;T (the latter causing an error).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;/Y&lt;/P&gt;
&lt;HR /&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;
I would consider this a bug then!!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 30 Mar 2011 14:36:45 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Possible-DateTime-bug-in-Database-Toolkit/m-p/1505572#M564790</guid>
      <dc:creator>rolfk</dc:creator>
      <dc:date>2011-03-30T14:36:45Z</dc:date>
    </item>
    <item>
      <title>Re: Possible DateTime bug in Database Toolkit</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Possible-DateTime-bug-in-Database-Toolkit/m-p/1506696#M564956</link>
      <description>&lt;P&gt;@Jos, yes that's a workaround to a bad implementation. I'll post a descriptive picture.&lt;/P&gt;
&lt;P&gt;Observe that neither Boolean nor DateTime can be inserted straight off the bat. I thought the whole idea was to use clusters that matched the database fields ...&lt;/P&gt;
&lt;P&gt;/Y&lt;/P&gt;
&lt;P&gt;&lt;IMG src="http://forums.ni.com/t5/image/serverpage/image-id/39218iFE5061AC70E63060/image-size/original?v=mpbl-1&amp;amp;px=-1" border="0" alt="DBproblems.png" title="DBproblems.png" align="center" /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 31 Mar 2011 06:53:34 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Possible-DateTime-bug-in-Database-Toolkit/m-p/1506696#M564956</guid>
      <dc:creator>Yamaeda</dc:creator>
      <dc:date>2011-03-31T06:53:34Z</dc:date>
    </item>
    <item>
      <title>Re: Possible DateTime bug in Database Toolkit</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Possible-DateTime-bug-in-Database-Toolkit/m-p/1506984#M564998</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;HR /&gt;&lt;a href="https://ni.lithium.com/t5/user/viewprofilepage/user-id/110591"&gt;@Yamaeda&lt;/a&gt; wrote:&lt;BR /&gt;
&lt;P&gt;&lt;a href="https://ni.lithium.com/t5/user/viewprofilepage/user-id/22786"&gt;@jos&lt;/a&gt;, yes that's a workaround to a bad implementation. I'll post a descriptive picture.&lt;/P&gt;
&lt;P&gt;Observe that neither Boolean nor DateTime can be inserted straight off the bat. I thought the whole idea was to use clusters that matched the database fields ...&lt;/P&gt;
&lt;HR /&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In theorie yes. And I understand your frustration, but the Database Conenctivity Toolkit makes use of the Windows ADO system. This is a generic ActiveX based database interface that has to work for all databases that come with either an ADO or ODBC driver. And all those drivers have very different ideas about what ADO or ODBC specifically means. When you program an application to interface to a specific database backend you usually do not worry about SQL syntax and functionality difference (well you might have to when you upgrade the database backend &lt;img id="smileywink" class="emoticon emoticon-smileywink" src="https://ni.lithium.com/i/smilies/16x16_smiley-wink.gif" alt="Smiley Wink" title="Smiley Wink" /&gt;) but this luxery is not possible for the people writing the Database Connectivity Toolkit.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Sometimes you simply have only the choice between either limiting certain functionality for certain databases or failing for some others when you want to keep it generic. The alternative is to make the interface database backend specific with lots of configuration functionality for most functions where the programmer has to enable or disable some features depending on the database he is using. Such an interface is even more cumbersome to develop and especially maintain, and a complete nightmare for most but the very advanced database programmers to use.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But the fact that prepending %.; doesn't work for absolute (and maybe relative) timestamp formats in Format into String is definitely a bug. NI needs to put that in their CAR database.&lt;/P&gt;</description>
      <pubDate>Thu, 31 Mar 2011 11:26:57 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Possible-DateTime-bug-in-Database-Toolkit/m-p/1506984#M564998</guid>
      <dc:creator>rolfk</dc:creator>
      <dc:date>2011-03-31T11:26:57Z</dc:date>
    </item>
    <item>
      <title>Re: Possible DateTime bug in Database Toolkit</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Possible-DateTime-bug-in-Database-Toolkit/m-p/1507142#M565028</link>
      <description>&lt;P&gt;I don't really understand the frustration.&amp;nbsp; Just use that snippet I provided to create the dattime string.&amp;nbsp; And then use it to create &lt;EM&gt;your own INSERT statement&lt;/EM&gt; and then feed it to &lt;A href="http://zone.ni.com/reference/en-XX/help/370016E-01/lvdatabase/db_tools_execute_query/" target="_self" rel="nofollow"&gt;this VI&lt;/A&gt;.&amp;nbsp; Its a simple and functional workaround.&amp;nbsp; &lt;/P&gt;</description>
      <pubDate>Thu, 31 Mar 2011 12:43:56 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Possible-DateTime-bug-in-Database-Toolkit/m-p/1507142#M565028</guid>
      <dc:creator>josborne</dc:creator>
      <dc:date>2011-03-31T12:43:56Z</dc:date>
    </item>
  </channel>
</rss>

