开发者

Datetime format

how do开发者_运维百科 I convert a datetime to look like "dd/MM/yyyy" in a stored procedure?


do like

SELECT convert(varchar, getdate(), 103) – dd/mm/yyyy

and see other format from here http://anubhavg.wordpress.com/2009/06/11/how-to-format-datetime-date-in-sql-server-2005/

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜