22,209
社区成员
发帖
与我相关
我的任务
分享
declare @PostCateIndex0 nvarchar(3)
set @PostCateIndex0 =N '2,5'
exec sp_executesql N 'Select count(1) from LVN_BlogPostCate Where ([PostCateIndex] in (' + @PostCateIndex0 + '))'
declare @PostCateIndex0 nvarchar(10)
set @PostCateIndex0 ='2'',''5'
exec sp_executesql N'Select count(1) from LVN_BlogPostCate Where ([PostCateIndex] in (''' + @PostCateIndex0 + '''))'