sqlserver 沒有 format 函數,想要格式化 時間得用convert 函數sql
http://www.w3school.com.cn/sql/sql_func_format.asp 這是 相關函數的網址函數