Faheem Ahmad
Member since May 26, 2011
- Profile: /members/8392-faheem-ahmad.htm
- Comments: 1
Recent Blog Comments By Faheem Ahmad
-
Getting Only the Date Part of a Date/Time Stamp in SQL Server
Posted on May 26, 2011 at 3:08 AM
Simplest of all: SELECT REPLACE(CONVERT(nvarchar(20), GETDATE(), 111), '/', '-') AS JustTheDate -- yyyy-mm-dd... read more »