首页 | 本学科首页   官方微博 | 高级检索  
     

触发器在数据库编程中的应用
引用本文:刘春蕾. 触发器在数据库编程中的应用[J]. 电脑开发与应用, 2014, 0(4): 296-298
作者姓名:刘春蕾
作者单位:盐城机电高等职业技术学校,江苏盐城224000
摘    要:针对当前数据库编程中数据不匹配的现象,采用触发器可以有效地解决这方面的问题。首先介绍了触发器的概念、优点及作用;其次从触发器的原理、使用注意事项、创建、查看、修改、修改触发器及触发器嵌套等几个方面来介绍触发器的使用;最后将SQL与C#语言相结合,给出了查询触发器与修改触发器的核心代码。对于数据库管理人员和软件开发人员有着一定的积极作用。

关 键 词:触发器  数据库  SQL语言

Application of Triggers in Database Programming
LIU Chun-lei. Application of Triggers in Database Programming[J]. Computer Development & Applications, 2014, 0(4): 296-298
Authors:LIU Chun-lei
Affiliation:LIU Chun-lei ( Electromechanical Vocational and Technical Schools, Yancheng 224000, China)
Abstract:Triggers can solve data’s mismatches in current database programming effectively. This paper first introduces the concept, advantages and role of the trigger;followed by the use of nested triggers, such as principle, precautions, creation, view, modification of trigger, modification of trigger and other aspects the last part is combining SQL and C # language, and give the core code of querying and modifying the trigger. This paper has a certain positive role for database administrators and software developers.
Keywords:triggers   database   SQL language
本文献已被 CNKI 维普 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号