Viewing 3 posts - 1 through 3 (of 3 total)
You are correct that a string literal date with separators is not multi-language compatible, but it is DATEFORMAT independent. My example should be revised to use unseparated 'CCYYMMDD' format,...
February 19, 2010 at 7:23 am
The code as I submitted it works correctly, including the date string literal. The format for the date string literal argument to the function is ISO 8601 ANSI SQL...
February 19, 2010 at 6:48 am
SELECT DATENAME(weekday, 'CCYY-MM-DD') does it for me. I would hope that this builtin function handles different DATEFIRST settings correctly.
February 19, 2010 at 5:58 am
Viewing 3 posts - 1 through 3 (of 3 total)