共查询到19条相似文献,搜索用时 171 毫秒
1.
数据库的完整性约束是设计数据库的核心内容,一个数据库的完整性约束设计的好坏,直接影响到这个数据库的性能,同时也会影响数据库的开发,因此一个好的数据库需要严格考虑其完整性约束.本文对SQL Server 2000数据库中的完整性约束进行了探讨,并用T-SQL语句对数据库完整性约束进行了设计,从而实现了在数据库中存储数据的完整性、正确性和一致性. 相似文献
2.
数据库的完整性约束是设计数据库的核心内容,一个数据库的完整性约束设计的好坏,直接影响到这个数据库的性能,同时也会影响数据库的开发,因此一个好的数据库需要严格考虑其完整性约束。本文对SQL Server2000数据库中的完整性约束进行了探讨,并用T—SQL语句对数据库完整性约束进行了设计,从而实现了在数据库中存储数据的完整性、正确性和一致性。 相似文献
3.
4.
5.
数据库完整性是DBMS中衡量数据库存在状态是否合理的重要技术指标。在SQL Server数据库中,完整性约束如何定义和使用是数据库教学环节中的重点和难点。该文结合案例教学法和项目化教学法,提出了将一个项目贯穿到实体完整性、域完整性、参照完整性、用户自定义完整性的案例设计中,研究出完整性约束的教学方法,能够帮助学生深入透彻地理解完整性约束,为提高学生的实践动手能力和灵活运用数据库技术的能力奠定了基础。 相似文献
6.
7.
王虹 《数字社区&智能家居》2011,(16)
数据库的数据完整性是设计数据库的核心内容,一个数据库的完整性约束设计的好坏,将直接影响到这个数据库的性能,同时也会影响到整个数据库的开发,因此一个好的数据库需要严格考虑其完整性约束。该文主要结合学生成绩管理系统,介绍了在SQL Server2005数据库应用系统中,实现数据完整性的设计方法。 相似文献
8.
谭强明 《计算机工程与应用》1990,(5):54-59
本文对PICK数据库操作系统数据库的特性及其完整性约束的系统保护功能和机制进行了详细的分析,并用一个实例数据库说明了其完整性约束的定义和保护。 相似文献
9.
基于多方面完整性检测的移动数据库同步机制 总被引:1,自引:0,他引:1
在三级复制移动数据库系统的基础上,提出了参照完整性约束检测算法、移动数据库特有完整性约束检测和消解算法,推广了建表时的check以及断言冲突检测及消解的算法,最终设计出一种多方面完整性检测的移动数据库同步机制. 相似文献
10.
VFP是目前进行中小型数据库开发应用十分广泛的设计系统 ,通过引入有效性规则和参照完整性极大地提高了系统对数据库的控制能力,特别是通过触 发器技术实现了复杂数据的完整性约束。就VFP中数据库触发器技术进行了较详细的介绍, 并对触发器的应用范围和设计时应注意的问题进行了说明。 相似文献
11.
主要对基于Visual FoxPro的关系型数据库中的数据完整性进行分析和应用.在关系数据库中,为保证数据的完整性,需要从关系的实体完整性、域完整性、参照完整性及触发器等几个方面进行约束和限制,即要设置主关键字、字段的有效性规则和关系表间的数据操作约束,从而保证数据的正确性和有效性,这也是关系型数据库特有的性能. 相似文献
12.
13.
G.M.E. Lafue 《Computer aided design》1979,11(3):127-130
This paper focuses on some issues related to the integration of databases and programming language concepts and the usefulness of this integration for integrity maintenance. The first section explains why compilation should be independent of the database and presents some consequences of this independence. The second section shows how procedures become integral parts of the database and serve to implement automatic maintenance of designer-defined integrity by being automatically invoked upon database operations. The third section develops a particular scheme for integrity maintenance with these procedures. Finally, in the fourth section, semantic integrity is extended to system integrity and it is suggested that the scheme developed in the third section can apply to system integrity. 相似文献
14.
Differential relational calculus for integrity maintenance 总被引:1,自引:0,他引:1
A differential calculus for first-order logic is developed to enforce database integrity. Formal differentiation of first-order sentences is useful in maintaining database integrity, since once a database constraint is expressed as a first-order sentence, its derivative with respect to a transaction provides the necessary and sufficient condition for maintaining integrity. The derivative is often much simpler to test than the original constraint since it maintains integrity differentially by assuming Integrity before the transaction, and testing only for new violations. The formal differentiation requires no resolution search, only substitution. It is more efficient than resolution-based approaches; and it provides a considerably more general solution than previous substitution-based methods since it is valid for all first-order sentences and with all transactions involving arbitrary collections of atomic changes to the database. It also produces a large number of sufficient conditions that are often less strict than those of the previous approaches; and it can be extended to accommodate many dynamic constraints 相似文献
15.
胡俊敏 《数字社区&智能家居》2009,(36)
对数据库中的数据进行有效监控是实现数据库系统完整性的重要途径。该文主要阐述如何利用Windows服务对数据库数据进行有效监控,实现了对异常情况的捕捉,并通过电子邮件服务给出警告信息,对实现系统的完整性起到了一定的保障作用。 相似文献
16.
Hongyu ZhangAuthor Vitae Hee Beng Kuan TanAuthor VitaeLu ZhangAuthor Vitae Xi LinAuthor Vitae Xiaoyin WangAuthor VitaeChun ZhangAuthor Vitae Hong MeiAuthor Vitae 《Journal of Systems and Software》2011,84(12):2253-2264
Integrity constraints (including key, referential and domain constraints) are unique features of database applications. Integrity constraints are crucial for ensuring accuracy and consistency of data in a database. It is important to perform integrity constraint enforcement (ICE) at the application level to reduce the risk of database corruption. We have conducted an empirical analysis of open-source PHP database applications and found that ICE does not receive enough attention in real-world programming practice. We propose an approach for automatic detection of ICE violations at the application level based on identification of code patterns. We define four patterns that characterize the structures of code implementing integrity constraint enforcement. Violations of these patterns indicate the missing of integrity constraint enforcement. Our work contributes to quality improvement of database applications. Our work also demonstrates that it is feasible to effectively identify bugs or problematic code by mining code patterns in a specific domain/application area. 相似文献
17.
姚一红 《数字社区&智能家居》2009,(18)
Microsoft Access for Windows是Microsoft公司推出的面向办公自动化、功能强大的关系数据库管理系统。文中讨论了在Ac-cess中的完整性控制策略,并举出了几个实际操作的例子。 相似文献
18.
19.
合成视景系统(SVS)是解决可控飞行撞地(CFIT)事故的有效途径,近年来,国家实施的重点基础研究发展计划已经把SVS的相关研究纳入了计划研究的一部分。SVS数据库的完整性研究是SVS研究中比较重要的部分。基于现阶段大部分飞机上都配备GPS、雷达测高仪等设备,本文主要基于下视传感器(DWL)对SVS数据库的完整性进行研究。基于DWL对SVS数据库进行实时监控可以有效保证数据库垂直方向数据的完整性,但是对于飞机数据库水平方向数据的完整性保证能力还略显不足。 相似文献