首页 | 本学科首页   官方微博 | 高级检索  
相似文献
 共查询到19条相似文献,搜索用时 250 毫秒
1.
刘艳春 《微机发展》2013,(6):117-121
数据库完整性是数据库安全性的重要研究内容之一,参照完整性可以保证数据库中表与表之间联系的有效性,防止数据丢失或无意义的数据在数据库中扩散。文中首先研究参照完整性的内涵,然后给出研究参照完整性实现方法用到的数据库示例,最后研究参照完整性的三种实现方法。第一种方法是参照关系约束,研究了创建参照关系和参照关系操作处理方法;第二种方法是触发器,研究了触发器的分类与作用、工作原理以及运用触发器实现参照完整性的方法;第三种方法是应用程序,研究了应用程序实现参照完整性的各种操作处理方式。  相似文献   

2.
数据完整性约束是保证数据一致性和正确性的一种有效机制,其包括域(列)完整性、实体(行)完整性、参照(表间)完整性。相比较而言,参照完整性比较复杂,初学者往往不易掌握。笔者旨在剖析参照完整性的基本语法、作用机制和实际运用,帮助数据库初学者理解和掌握数据库中参照完整性的应用方法及注意事项,为教师教学和学生学习提供参考。  相似文献   

3.
数据库完整性是DBMS中衡量数据库存在状态是否合理的重要技术指标。在SQL Server数据库中,完整性约束如何定义和使用是数据库教学环节中的重点和难点。该文结合案例教学法和项目化教学法,提出了将一个项目贯穿到实体完整性、域完整性、参照完整性、用户自定义完整性的案例设计中,研究出完整性约束的教学方法,能够帮助学生深入透彻地理解完整性约束,为提高学生的实践动手能力和灵活运用数据库技术的能力奠定了基础。  相似文献   

4.
SQL Server2008的级联机制能够很好的保证数据库中数据的完整性,一致性,本文就讨论了SQL Server2008级联实现原理,并且分别用参照完整性约束和触发器来实现了级联。然后分析SQL Server2008下两种实现级联方法各自的不足以及可能的改进。  相似文献   

5.
数据库的参照完整是保证数据库正常运行的必要条件之一,确保数据库参照完整,能够使数据库实现准确性及一致性。在设计中,设计者应合理设计数据库中的数据完整性。利用数据库管理系统实现数据库动态设计完整,保证参照的完整性,实现数据库利用的最大化。  相似文献   

6.
数据完整性是指数据的正确性、完备性和一致性,是衡量数据库质量好坏的标准。本文从以下三个方面分析了数据的完整性。即实体完整性、参照完整性和用户自定义完整性。  相似文献   

7.
基于多方面完整性检测的移动数据库同步机制   总被引:1,自引:0,他引:1  
在三级复制移动数据库系统的基础上,提出了参照完整性约束检测算法、移动数据库特有完整性约束检测和消解算法,推广了建表时的check以及断言冲突检测及消解的算法,最终设计出一种多方面完整性检测的移动数据库同步机制.  相似文献   

8.
本文介绍了教学管理系统中数据库完整性的设计与实现方法。以教学管理系统中主要表班级、学生、课程、选课和教师等为例,说明了实体完整性、用户定义完整性和参照完整性的实现及其作用。  相似文献   

9.
钟志宏 《福建电脑》2011,27(10):24-25
数据库的数据完整性的目标是确保数据的一致性和相容性,完整性约束已经作为数据库模式的一个重要的部分。本文主要介绍了MYSQL数据库中数据完整性约束的实施方法和策略,重点讨论MYSQL数据库所不支持的域完整性、元组级完整性及关系间完整性的实施策略。  相似文献   

10.
主要对基于Visual FoxPro的关系型数据库中的数据完整性进行分析和应用.在关系数据库中,为保证数据的完整性,需要从关系的实体完整性、域完整性、参照完整性及触发器等几个方面进行约束和限制,即要设置主关键字、字段的有效性规则和关系表间的数据操作约束,从而保证数据的正确性和有效性,这也是关系型数据库特有的性能.  相似文献   

11.
A multilevel database is intended to provide the security needed for database systems that contain data at a variety of classifications and serve a set of users having different clearances. A formal security model for such a system is described. The model is formulated in two layers, one corresponding to a reference monitor that enforces mandatory security, and the second an extension of the standard relational model defining multilevel relations and formalizing policies for labeling new and derived data, data consistency, and discretionary security. The model also defines application-independent properties for entity integrity, referential integrity, and polyinstantiation integrity  相似文献   

12.
The application of data types to database semantic integrity   总被引:1,自引:0,他引:1  
Data type concepts are used to investigate the extent to which database semantic integrity can be defined and ensured through database structures. Database and datatype concepts are extended mutually to improve the semantic capabilities of both database models and data type systems and to resolve apparent discrepencies between databases and programming languages. To meet database needs, data structuring is developed to form an algebra of data types. A semantically rich database model is used to show that database models can be expressed in terms of data types. Finally, a schema specification language is presented to demonstrate the power of data type tools for the definition of database schemas and for the maintenance of database semantic integrity.  相似文献   

13.
针对中药组方时药对间可能存在相反或相畏关系的问题,本文介绍在Access数据库中利用数据宏实现自动甄别的方法,以达到对相关药物使用的提示作用。数据宏类似于大型数据库中的DML触发器,是对Access数据库特别是表对象功能的极大补充,弥补了表对象在过程型数据完整性功能实现上的不足。本文的实现方法也为在Access数据库中相似问题的解决提供了参考。  相似文献   

14.
Semantic integrity constraints are used for enforcing the integrity of the database as well as for improving the efficiency of the database utilization. Although semantic integrity constraints are usually much more static as compared to the data itself, changes in the data semantics may necessitate corresponding changes in the constraint base. In this paper we address the problems related with maintaining a consistent and non-redundant set of constraints satisfied by the database in the case of updates to the constraint base. We consider implication constraints as semantic integrity constraints. The constraints are represented as conjunctions of inequalities. We present a methodology to determine whether a constraint is redundant or contradictory with respect to a set of constraints. The methodology is based on the partitioning of the constraint base which improves the efficiency of algorithms that check whether a constraint is redundant or contradictory with respect to a constraint base. Received August 19, 1993 / Accepted July 7, 1997  相似文献   

15.
The entity-relationship data model is extended by structural integrity constraints. For each entity and relationship, a list of update operations is defined, together with appropriate integrity rules. These rules are defined according to the localisation principle, which states that an update operation performed on any object in the schema should directly affect only those objects in its immediate vicinity. The update, once started, propagates through the database, respecting local integrity rules for each affected object. The integrity rules are used for algorithmic design of integrity-preserving update procedures, to be utilised in database application programs, instead of the primitive update operations supported by the DBMS itself. These procedures may be generated directly from the specification, opening the way to an automated design tool.  相似文献   

16.
关系数据库设计中的数据依赖确定与语义分析   总被引:3,自引:1,他引:2  
在关系数据库的设计中,数据依赖的确定是至关重要的,为保证数据的完整性,需要在数据库的设计、录入及维护全过程中保持数据依赖的一致性。数据依赖是关系数据间现实语义约束的一个反映,是属于语义范畴的,它的确定也是基于数据所蕴含的语义。本文结合实例,通过分析数据蕴含的语义,讨论确定关系数据的函数依赖和多值依赖的一般思路和方法,并分析了语义的强制与保持问题,对实际的关系数据库设计有理论参考价值。  相似文献   

17.
数据库的完整性约束是设计数据库的核心内容,一个数据库的完整性约束设计的好坏,直接影响到这个数据库的性能,同时也会影响数据库的开发,因此一个好的数据库需要严格考虑其完整性约束。本文对SQL Server 2000数据库中的完整性约束进行了探讨,并用T-SQL语句对数据库完整性约束进行了设计,从而实现了在数据库中存储数据的完整性、正确性和一致性。  相似文献   

18.
M. J. R. Shave 《Software》1980,10(2):135-147
A relational model of a small distributed database is used to illustrate problems of consistency and integrity with specific reference to distributed systems, and to discuss methods for their solution. It is shown that some limitation may be necessary on the freedom to make modifications on a purely local basis, and that questions of time consistency due to the network have a partial but limiting solution.  相似文献   

19.
结合多年的教学和信息系统研发经验,提出了数据库完整性在应用中的现实意义,探讨了其在“数据库原理”课程教学中的重要地位,并通过教学实践对该课程各种教材的数据库完整性内容进行了比较,提出了适应学生理解和掌握的教学方式。实践证明,加强数据库完整性的实例教学,尤其是注重反例对完整性的影响的教学方式对该知识点的强化具有很好的效果。  相似文献   

设为首页 | 免责声明 | 关于勤云 | 加入收藏

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