摘要:
set @Sql_Sql = N' select top 1 @m_zw=zw,@m_zh=temp from ket where zd=''ddd'' ' print @Sql_Sql EXEC sp_executesql... 阅读全文
posted @ 2014-09-26 16:45
雪原日暮
阅读(350)
评论(0)
推荐(0)
摘要:
set @InsertStr='INSERT INTO [dbo].[T_SchoolPercentMonth]([SchoolID],[MonthOfYear],[PercentNum]) VALUES('''+cast(@SchoolID as nvarchar)+''','''+conver... 阅读全文
posted @ 2014-09-26 15:04
雪原日暮
阅读(545)
评论(0)
推荐(0)
摘要:
如果@sint把它转成字符,可以这样cast(@sasvarchar) 阅读全文
posted @ 2014-09-26 14:42
雪原日暮
阅读(273)
评论(0)
推荐(0)
摘要:
if(@SchoolAbility=0 or @SchoolAbility is null)--不能让分母为0 begin set @SchoolAbility=1.00; end判断是否为null 的写法 不用等号 = 阅读全文
posted @ 2014-09-26 14:12
雪原日暮
阅读(125)
评论(0)
推荐(0)
浙公网安备 33010602011771号