摘要: --CAST 和 CONVERT 函数 PercentageDECLARE @dec decimal(5,3), @var varchar(10),@hun decimal(5,1)set @dec=0.025set @hun=@dec*100set @var=cast(@hun as varchar(20))+'%'select @var---小數轉化為百分數函數 GetPercentageString---塗聚文 Geovin Duif exists (select * from dbo.sysobjects where id = object_id(N'[dbo] 阅读全文
posted @ 2011-09-03 18:19 ®Geovin Du Dream Park™ 阅读(624) 评论(0) 推荐(0) 编辑