惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

博客园 - Franky
N
Netflix TechBlog - Medium
Google Online Security Blog
Google Online Security Blog
月光博客
月光博客
量子位
酷 壳 – CoolShell
酷 壳 – CoolShell
V
V2EX
腾讯CDC
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
博客园 - 聂微东
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
M
MIT News - Artificial intelligence
Vercel News
Vercel News
The GitHub Blog
The GitHub Blog
Hugging Face - Blog
Hugging Face - Blog
博客园 - 【当耐特】
Apple Machine Learning Research
Apple Machine Learning Research
aimingoo的专栏
aimingoo的专栏
博客园 - 三生石上(FineUI控件)
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
MongoDB | Blog
MongoDB | Blog
H
Help Net Security
The Cloudflare Blog
Blog — PlanetScale
Blog — PlanetScale
F
Full Disclosure
G
Google Developers Blog
罗磊的独立博客
Jina AI
Jina AI
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
Y
Y Combinator Blog
H
Hackread – Cybersecurity News, Data Breaches, AI and More
J
Java Code Geeks
A
About on SuperTechFans
IT之家
IT之家
大猫的无限游戏
大猫的无限游戏
S
SegmentFault 最新的问题
有赞技术团队
有赞技术团队
GbyAI
GbyAI
雷峰网
雷峰网
T
The Blog of Author Tim Ferriss
The Register - Security
The Register - Security
U
Unit 42
D
Docker
Martin Fowler
Martin Fowler
L
LINUX DO - 热门话题
NISL@THU
NISL@THU
阮一峰的网络日志
阮一峰的网络日志
C
Cybersecurity and Infrastructure Security Agency CISA
博客园_首页
Google DeepMind News
Google DeepMind News

博客园 - King0502

网址收藏 如何使网页变黑白色(灰色) aspnet_merge.exe”已退出,代码为1的错误的解决方法(另类) C#编程中的66个好习惯,你有多少个? 遍历Request.QueryString的所有参数与值 Sql Server触发器的原理及应用技巧 远程桌面问题,连接后马上断开,并显示“远程计算机已结束连接” 关于网站的推广方法 DOS命令如何删除文件和文件夹 如何将网站提交给百度和谷歌 上传函数(全集) Discuz!NT 2.0问题大全 系统进程详解 检索 COM 类工厂中 CLSID 为 {00024500-0000-0000-C000-000000000046} 的组件时失败,原因是出现以下错误: 80070005。 试图运行项目时出错:无法在Web服务器上启动调试,您不具备调试此应用程序的权限. - King0502 有电视大家一起看:局域网内电视卡共享 关闭Windows 2000/XP/2003默认共享 VB开发摘记 MSDE相关
如何调试触发器
King0502 · 2009-07-08 · via 博客园 - King0502

//-------------------------------------
调试触发器
//-------------------------------------
作者:四海为圈(原创)
//-------------------------------------
1、创建存储过程以便触发触发器
3、选择单步运行存储过程
2、在触发事件的语句如:insert 、update 、delete语句时按F11
//-------------------------------------
本方法在sql server 2000+win2000 server 通过测试
本方法在vs.net 2003 + sql server 2000+win2000 server 通过测试
//-------------------------------------
GOOD
转贴请注明来源
维护网络道德是每个网民的义务
//-------------------------------------
实例教学:
一、打开SQL查询分析器
二、将以下Sql语句复制到查询窗口并运行
use pubs

CREATE trigger trigger_update on authors
for update
as
begin
print('update lastname=hoho')
end

CREATE    proc Authors_procInsert
as
begin
update authors set au_lname='HOHO' where au_id='172-32-1176'
end

三、在左边的对象浏览器中选择pubs->存储过程在Authors_procInsert(如未出现请刷新pubs数据库)上右击弹出菜单选择“调试...”
四、当运行到" update authors set au_lname='HOHO' where au_id='172-32-1176'“时按“F11”即进入触发器代码