sqlserver里常用的语法

bb 为nvarchar(50)
CAST(bb AS int)

select MAX(CAST(bb AS int)) from AAA
posted @ 2013-07-30 15:12  pnljs  阅读(206)  评论(0编辑  收藏  举报