The following query works fine against SQL Server 2000 here in the US:
SELECT * from TNEWSARTICLES where CreatedOn < '2003-04-25 14:22'
But in the UK, it returns this error:
80040e07: The conversion of a char data type to a datetime data type
resulted in an out-of-range datetime value
If I change the format to YYYY-DD-MM, then it does work in the UK. But
I was under the impression that the YYYY-MM-DD format will work
regardless of regional date format settings. Is this wrong?
Any help is appreciated
Ted