Get the date in YYYY-MM-DD format in SQL Server. AbundantCode 2 years ago in SQL Server 0 You can retreive the date in the YYYY-MM-DD format in SQL Server using the CONVERT method as shown in this code snippet. How to get the date in YYYY-MM-DD format in SQL Server ? SELECT CONVERT(char(10), GetDate(),126) as abundantcodedate Facebook Twitter Pinterest Share this:PostLike this:Like Loading… Tags : database, How to, SQL Server, tips, tricks
Leave Your Comment