MS SQL日期處理方法 @ 每日的點點滴滴 :: 隨意窩 Xuite日誌
select convert(char, getdate(), 100)--04 26 2008 2:04AM mon dd yyyy hh:mmAM(PM) select convert(char, getdate(), 101)--04/26/2008 mm/dd/yyyy select convert(char, getdate(), 102)--2008.04.26 yyyy.mm.dd select convert(char, getdate(), 103)--26/04/2008 dd/mm ...