摘要:
set @Sql_Sql = N' select top 1 @m_zw=zw,@m_zh=temp from ket where zd=''ddd'' ' print @Sql_Sql EXEC sp_executesql... 阅读全文
摘要:
set @InsertStr='INSERT INTO [dbo].[T_SchoolPercentMonth]([SchoolID],[MonthOfYear],[PercentNum]) VALUES('''+cast(@SchoolID as nvarchar)+''','''+conver... 阅读全文
摘要:
如果@sint把它转成字符,可以这样cast(@sasvarchar) 阅读全文
摘要:
if(@SchoolAbility=0 or @SchoolAbility is null)--不能让分母为0 begin set @SchoolAbility=1.00; end判断是否为null 的写法 不用等号 = 阅读全文