SQL Server数据库DML触发器的研究与应用  被引量:6

Research and Application on DML Trigger of SQL Server Database

在线阅读下载全文

作  者:刘维学[1] 乔丽平[2] 

机构地区:[1]渤海大学信息科学与技术学院,辽宁锦州121013 [2]邢台职业技术学院信息工程系,河北邢台054035

出  处:《计算机技术与发展》2013年第11期66-69,73,共5页Computer Technology and Development

基  金:2011辽宁省科学事业公益研究基金(2011004001)

摘  要:DML触发器是SQL Server数据库中应用最广泛的触发器,在维护数据完整性、提高数据安全性、满足复杂的数据约束等方面具有重要作用。文中对DML触发器的应用进行详细研究。首先,介绍了DML触发器包含的AFTER和INSTEAD OF两种类型;其次,通过图形表示了AFTER触发器的触发顺序,并阐明了指定触发顺序需要注意的问题;然后,研究INSERT、DELETE、UPDATE三类触发器的工作原理;最后,给出了DML触发器的几个应用技巧。实际运用时要结合文中的研究内容进行详细设计,以便提高数据库系统的整体性能。DML trigger is the trigger that most widely used in SQL Server database, and plays an important role in maintaining data integ- rity,improving data security, and meeting complex data constraints. Study the application of DML trigger in detail. First,introduce the two types of AFTER and INSTEAD OF that included in DML trigger;Second, show the trigger sequence of AFTER trigger through a graph- ical,and clarify the needing attention problems of specified trigger;Then research the working principle of the three class triggers of IN- SERT, DELETE and UPDATE; Finally, give several application skills of DML trigger. The practical application does the detail design should combine this contents in order to improve the overall performance of database system.

关 键 词:SQL SERVER 数据库 触发器 DML AFTER INSTEAD OF 

分 类 号:TP311[自动化与计算机技术—计算机软件与理论]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象