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

推荐订阅源

F
Fortinet All Blogs
Microsoft Security Blog
Microsoft Security Blog
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
Vercel News
Vercel News
Application and Cybersecurity Blog
Application and Cybersecurity Blog
C
Check Point Blog
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
W
WeLiveSecurity
The Hacker News
The Hacker News
L
LINUX DO - 热门话题
T
Tenable Blog
Hugging Face - Blog
Hugging Face - Blog
Google Online Security Blog
Google Online Security Blog
博客园 - Franky
P
Proofpoint News Feed
H
Hacker News: Front Page
P
Privacy & Cybersecurity Law Blog
月光博客
月光博客
P
Proofpoint News Feed
Exploit-DB.com RSS Feed
Exploit-DB.com RSS Feed
The GitHub Blog
The GitHub Blog
云风的 BLOG
云风的 BLOG
博客园_首页
www.infosecurity-magazine.com
www.infosecurity-magazine.com
C
CERT Recently Published Vulnerability Notes
Forbes - Security
Forbes - Security
I
InfoQ
Stack Overflow Blog
Stack Overflow Blog
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
Attack and Defense Labs
Attack and Defense Labs
N
News and Events Feed by Topic
博客园 - 叶小钗
T
Threat Research - Cisco Blogs
aimingoo的专栏
aimingoo的专栏
D
Darknet – Hacking Tools, Hacker News & Cyber Security
小众软件
小众软件
大猫的无限游戏
大猫的无限游戏
MongoDB | Blog
MongoDB | Blog
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
Hacker News - Newest:
Hacker News - Newest: "LLM"
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
博客园 - 司徒正美
O
OpenAI News
G
Google Developers Blog
Martin Fowler
Martin Fowler
罗磊的独立博客
S
SegmentFault 最新的问题
T
Tor Project blog
量子位

博客园 - 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服务器上启动调试,您不具备调试此应用程序的权限. 有电视大家一起看:局域网内电视卡共享 关闭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”即进入触发器代码