Mega Code Archive
Categories
/
MSSQL
/
Data Type
CONVERT() does the same thing as the CAST() function
1> -- CONVERT() does the same thing as the CAST() function. 2> 3> SELECT CONVERT(INT, '123') 4> 5> GO ----------- 123 (1 rows affected) 1>