Get the date in YYYY-MM-DD format in SQL Server. Posted by AbundantCode You can retreive the date in the YYYY-MM-DD format in SQL Server using the CONVERT method as shown in this code snippet. Top 20 Legit Paid Survey Sites to Earn Money Online How to get the date in YYYY-MM-DD format in SQL Server ? SELECT CONVERT(char(10), GetDate(),126) as abundantcodedate Share this:TweetLike this:Like Loading... AbundantCode September 7, 2016
Leave a Reply