Convert Date format into DD/MMM/YYYY format in SQL Server

前端 未结 11 1477
臣服心动
臣服心动 2020-11-28 04:41

I have a query in SQL, I have to get a date in a format of dd/mm/yy

Example: 25/jun/2013.

How can I convert

11条回答
  •  无人及你
    2020-11-28 05:42

    we can convert date into many formats like

    SELECT convert(varchar, getdate(), 106)
    

    This returns dd mon yyyy

    More Here This may help you

提交回复
热议问题