只是語法不同. cast一般更容易使用,convert的優點是可以格式化日期和數值. select CAST('123' as int) -- 123 select CONVERT(int, ' ...
確定! 回上一頁