您好,欢迎来到三六零分类信息网!老站,搜索引擎当天收录,欢迎发信息

记一次SQL Server Insert触发器编写过程

2024/3/27 22:17:27发布15次查看
实现功能:新增特定类型的新闻时,自动追加特定的背景图片。 第一版(错误信息: 不能在 'inserted' 表和 'deleted' 表中使用 text、ntext 或 image 列 ),代码如下: (, ) ) drop trigger tgr_news_qa_insert tgr_news_qa_insert on news , ; id, , @newstyp
实现功能:新增特定类型的新闻时,,自动追加特定的背景图片。
第一版(错误信息:不能在 'inserted' 表和 'deleted' 表中使用 text、ntext 或 image 列),代码如下:
(, ) )drop trigger tgr_news_qa_insert tgr_news_qa_inserton news, ; id,,@newstype = newstypefrom insertednews id
该用户其它信息

VIP推荐

免费发布信息,免费发布B2B信息网站平台 - 三六零分类信息网 沪ICP备09012988号-2
企业名录 Product