随笔分类 -  数据相关

数据库相关内容
触发器中exec执行的查询字符串不能对内存表操作
摘要:设计一个触发器,需要先生成查询字符串,再用exec执行,发现exec执行的查询字符串中若要对inserted和deleted内存表操作时,会提示对象不存在。是不是exec执行的查询字符串中不能对inserted和deleted进行操作?目前暂时采取先将inserted和deleted存储在全局临时表中,在查询字符串中对全局临时表进行操作。 源代码如下:selectfieldinto##tempfr... 阅读全文
posted @ 2006-05-26 12:22 ming.net 阅读(576) 评论(0) 推荐(0)