Viewing post 1 (of 1 total)
Here is a version which uses CONVERT to allow using the yyyy-mm-dd format. This makes the code independent from SQL Server installation flavors.
Ralf
-----
DECLARE @date datetime
SET @date = CONVERT(datetime, '2003-12-31', 120)...
April 26, 2005 at 3:46 am
#554801