SELECT FORMAT(GetDate(), 'yyyy-MM-dd')
https://stackoverflow.com/questions/889629/how-to-get-a-date-in-yyyy-mm-dd-format-from-a-tsql-datetime-field
No comments:
Post a Comment