节点文献

SQL Server2000数据库中触发器的妙用

THE APPLICATION OF TRIGGER IN SQL SERVER2000

  • 推荐 CAJ下载
  • PDF下载
  • 不支持迅雷等下载工具,请取消加速工具后下载。

【作者】 程志梅邱霞明王晓燕

【Author】 Cheng Zhimei1 Qiu Xiaming2 Wang Xiaoyan11(East China Institute of Technology,Fuzhou 344000,Jiangxi,China)2(Center of Remote Sensing,NO.270 Research Institute,CNNC,Nanchang 340000,Jiangxi,China )

【机构】 东华理工大学数学与信息科学学院核工业270研究所遥感中心

【摘要】 触发器是一种特殊的存储过程,它不能被显式地调用,而是在往表中插入、更改或者删除记录时,被自动地激活。全面阐述了SQL Server2000的触发器技术,通过具体实例说明了INSTEADOF触发器及AFTER触发器的应用,完成了比默认值及公式都更为复杂的字段值的设置,显示了触发器在维护数据表之间一致性、保持数据的相关完整性方面所具有的强大功能。

【Abstract】 Trigger is a special stored procedure,which can’t be called explicitly but be activated automatically when the tables were inserted,updated or deleted the records.This article discussed the trigger’s technique in SQL Server 2000,gave two detailed examples,trigger INSTEAD OF and trigger AFTER,to explain the trigger’s application,finished more complex value setting of fields than default and formula.It shows the trigger’s strong ability in maintaining consistency among data tables and in keeping data integrality.

【关键词】 触发器记录字段完整性
【Key words】 Trigger Table Record Field Integrality
  • 【文献出处】 计算机应用与软件 ,Computer Applications and Software , 编辑部邮箱 ,2009年03期
  • 【分类号】TP311.13
  • 【被引频次】18
  • 【下载频次】162
节点文献中: 

本文链接的文献网络图示:

本文的引文网络