No more using Datepart or Year, Month and Day functions to get just the date part.
DECLARE @d DATE
SET @d = GETDATE()
SELECT @d
returns
2009-10-02
Snippets of Code, that I come across which might have caught my attention, which may prove useful to some one.
No comments:
Post a Comment