Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我是 Sql 新手........我不知道 Diff
所以请建议我
“触发器”和“光标”的区别
提前致谢
简单,TRIGGER是桌子上的一个特殊代码块,当事件发生时触发INSERT,UPDATE和/或DELETE在桌子上发生。
TRIGGER
INSERT
UPDATE
DELETE
CURSOR数据库中用于遍历数据库记录的控制结构。它与许多编程语言提供的迭代器(例如 FOR LOOP )非常相似。
CURSOR