
DB
iteye_5446
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
SQL Server存储过程延迟执行
[code="sql"] create proc test as begin waitfor delay '00:00:59'-- '延迟59秒执行! ' end go exec test [/code]2010-11-12 14:03:56 · 1211 阅读 · 0 评论 -
sql update 触发器 获得被update的行的信息
create trigger TgName on tb for update as if update(recommend) begin update tb set commenddate=(getdate()) from tb inner join inserted on tb.vlistid=Inserted.vlistid end 关键在于Inserted表 触发...原创 2010-11-18 11:47:59 · 279 阅读 · 0 评论