存储过程问题 @node_item_para这个变量的值必须是:set @node_item_para='''sdfas'',''sdfs,'''用''转义为'如:select '''','''''',char(39) 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 非常感谢大力可是 set @SQLMSGEXIST='select top 1 msg_id from t_msg where msg_id>@max_msg_id and item_code=@item_code and msg_para in ('+@node_item_para+') order by msg_id desc'这样不就相当于给@node_item_para加上单引号了吗? 有没有可能把Case when 语句当作where的条件表达式? 怎么改SQL的默认端口? @@error=137错误是什么原因? sql server 2005中关于主键、外键的信息 MSSQL 操作结果集 sqlserver显示汉字问题 外键约束问题: SQLServer中的Invalid Descriptor Index问题 有关复制的存储过程 连接数据库简单问题:能否告之连接SQL Server所需要的所有步骤。 这个SQL语句怎么写?(菜鸟提问,大家拿分) 请高手解决,在线
可是 set @SQLMSGEXIST='select top 1 msg_id from t_msg where msg_id>@max_msg_id and item_code=@item_code and
msg_para in ('+@node_item_para+') order by msg_id desc'这样不就相当于给@node_item_para加上单引号了吗?