Notepad on-line
declare @today datetimeset @today = CAST(convert(varchar, GETDATE(), 101) as datetime)
SELECT @today AS Today
-- Result (year-month-day):/*Today-----------------------2009-01-08 00:00:00.000*/
Post a Comment
No comments:
Post a Comment