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

SQL Server触发器在轨迹保留中的应用
引用本文:周舟,黄景文.SQL Server触发器在轨迹保留中的应用[J].计算机技术与发展,2007,17(7):207-209.
作者姓名:周舟  黄景文
作者单位:1. 广西大学,电气工程学院,广西,南宁,530004
2. 广西大学,信息网络中心,广西,南宁,530004
基金项目:广西大学校科研和教改项目
摘    要:为了便于对重要数据进行监测和保护,提出了一种应用触发器实现轨迹保留的方法。通过在数据库中建立一个冗余数据表记录数据修改轨迹,数据变化时触发器自动将修改前的数据副本写人冗余数据表,由于冗余数据表是个关系型数据集,提取和查看方便,多级数据回溯与恢复也易于实现。实践表明,该方法具有很好的效果。

关 键 词:触发器  轨迹保留
文章编号:1673-629X(2007)07-0207-03
收稿时间:2006-09-12
修稿时间:2006-09-12

Application of SQL Server Trigger in Tracks Reservation
ZHOU Zhou,HUANG Jing-wen.Application of SQL Server Trigger in Tracks Reservation[J].Computer Technology and Development,2007,17(7):207-209.
Authors:ZHOU Zhou  HUANG Jing-wen
Abstract:In this paper,for easy to protect and monitor important data, propose a method that trigger was applied to achieve the goal of tmcksreservation. Via designing a special redundant table in database which can record the data modification tracts, whenever data change, the trigger can write a former data backup into this redundant table automatically. Since it is a relational record set, it is convenient to query or select, and to realize a series of UNDO hackdating and data rescue. Experimental results and the practice show that this method is available and well effective.
Keywords:SQL Server
本文献已被 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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