3> SET DATEFORMAT mdy
4> SELECT 'FORMAT is mdy' = CONVERT(datetime, '20000704')
5> SET DATEFORMAT dmy
6> SELECT 'FORMAT is mdy' = CONVERT(datetime, '20000704')
7> GO
FORMAT is mdy
-----------------------
2000-07-04 00:00:00.000
(1 rows affected)
FORMAT is mdy
-----------------------
2000-07-04 00:00:00.000
(1 rows affected)