MS SQL Server的函数, 用于数据类型转换. 你应该查看SQL Onlinebook / MSDNCAST and CONVERT (T-SQL) Explicitly converts an expression of one data type to another. CAST and CONVERT provide similar functionality.Syntax Using CAST:CAST(expression AS data_type)Using CONVERT:CONVERT (data_type[(length)], expression [, style])
Explicitly converts an expression of one data type to another. CAST and CONVERT provide similar functionality.Syntax
Using CAST:CAST(expression AS data_type)Using CONVERT:CONVERT (data_type[(length)], expression [, style])