Hi
I am having a problem with storing/updating Dates in SQL Server.
The generated SQL Statement looks like this:
The date which should be stored is June 6, 2010 but as of regional settings of SQL Server (German) the Date is interpreted as May 6, 2010.
I think the correct syntax for SQL Server should be
Is there a way to solve this problem?
Thank you
I am having a problem with storing/updating Dates in SQL Server.
The generated SQL Statement looks like this:
Code:
UPDATE myTable SET date1='2010-06-05 00:00:00.0' WHERE (myTable.id='1')
I think the correct syntax for SQL Server should be
Code:
UPDATE myTable SET date1='20100605 00:00:00.0' WHERE (myTable.id='1')
Thank you
Comment