首页 > 代码库 > Sql 查询语句中的类型转换

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)