Sql 查询语句中的类型转换
时间:2014-07-16 20:11:16
收藏:0
阅读:196
1: CAST ( (SalesAgreement.HTPrice / 10000) as decimal(18,2) ) as HTPrice
2: 转换货币如:10,000.00 select ‘¥‘+convert(nvarchar,cast(1343432432434.8 as money),1)
评论(0)