Viewing 2 posts - 1 through 2 (of 2 total)
Yes, you are right,The 'DATE' datatype is exists on SQL Server 2005/2008 but i told that in below QUERY
DECLARE @Today DATE
SELECT @Today = '01 DEC 2009'
SELECT @Today+1
SELECT @Today
IF...
April 28, 2010 at 3:15 am
#1158714
Hi to all,
1.
it wii not work but if you change datetype "DATE" to "DATETIME"
Then it will work
DECLARE @Today DATETIME
2.
Directly we can't...
April 28, 2010 at 1:04 am
#1158669