摘要:
CAST() 函数语法如下 CAST() (<expression> AS <data_ type>[ length ]) CONVERT() 函数语法如下 CONVERT() (<data_ type>[ length ], <expression> [, style]) select cast(100+99 as char) convert(varchar(12), getdate()) 运行结果如下 ------------------------------ ------------ 199 Jan 15 2000 ----日期函数--- 阅读全文