Sql 查询语句中的类型转换

1:   CAST ( (SalesAgreement.HTPrice / 10000) as decimal(18,2) )  as HTPrice
2:    转换货币如:10,000.00   select ''+convert(nvarchar,cast(1343432432434.8 as money),1)

 

posted @ 2014-07-11 09:03  裸奔的豆子  阅读(543)  评论(0编辑  收藏  举报