关于小数点的问题? declare @x1 int,@y1 numeric(18,2)set @x1=20selet @y1=@x1,@y1=@y1/100select @y1 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 declare @x1 int,@y1 numeric(18,2)set @x1=20select @y1=@x1,@y1=@y1/100select @y1 整数相除的结果是整数,然后赋值给@y1的时候再转换成numeric,所以不对 declare @x1 int,@y1 numeric(18,2)set @x1=20set @y1=@x1 * 1.0 /100select @y1 请教update 语句 SQL Server存储过程 索引视图全文索引的一些问题 sql中使用substring提取字符串的问题 我也遇到这样问题。 查询具体时间字段(包括日期和时间)的SQL Server语句如何写? Windows Server 2008(x64)上可以安装企业版SQL2005(x86)吗? 我有70分要给出来,欢迎回答 关于SQL server 2000备份的问题? jimiao 求助! 请教需用触发器检查插入的值,比较的难哦!
set @x1=20
select @y1=@x1,@y1=@y1/100
select @y1
set @x1=20
set @y1=@x1 * 1.0 /100
select @y1