sql server - How to change Date format to yyyy-mm-dd -
i want change output date format of parameter @dateissued "2013-12-31" format.
you can try this:
select convert(char(10), getdate(), 126) or in case:
select convert(char(10), @dateissued, 126) you can cast , convert
Comments
Post a Comment