LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

store date to sql database

I'm having problems storing a date to a SQL database using Database Connectivity Toolset. I'm using 'DB Tools Execute Query.vi' with the query UPDATE [GIVENVALUES] SET [Date] = 2005-01-18 WHERE [GIVENVALUES].[Order_lot_nr] = 'Testar'. Everything works fine except that the wrong date ends up in the database, i.e. 1905-06-10.

I do not have extensive knowledge of the database, but I'm looking at it by importing it to access, and there the data type of the 'Date' column is Date/Time. Does anyone have any idea of the reason of this behaviour?

Regards

//Martin


CLA
https://www.prevas.se/expertis/test--regulatoriska-krav.html
0 Kudos
Message 1 of 1
(2,510 Views)