1 declare @fz int
2 declare @fm int 
3 set @fz=1
4 set @fm=3
5 select  convert(decimal(10,2), CONVERT(float,@fz)/CONVERT(float,@fm)) 

 

相关文章: