I can't work out what has changed to only just start getting this error
The conversion of a varchar data type to a datetime data type resulted in an out-of-range value.
I have checked that the language of the SQL Server instance is "British English" I have checked that the language of the user is "British English"
What have I missed?
select * from table where updated <= '15/09/2012'
If I run set dateformat dmy, it works, but obviously only at a session level. I need to fix it for the server
where updated <= '2012-09-15'2012-09-15