
[计] 参照完整性;引用完整性
How should I keep referential integrity to users in a separate membership provider?
我应该如何在一个单独的成员提供者向用户保持参照完整性?
This referential integrity can be checked in one or both directions depending on the project goal.
取决于项目的目的,可以从一个方向或同时从两个方向检查引用完整性。
If referential integrity violations are discovered during the load test, then you might also need to set the sequence grouping for container managed persistence.
如果在负载测试过程中发现存在引用完整性违规,则可能还需要为容器管理的持久性设置顺序分组。
That ensures referential integrity between the tables.
这样就保证了表间的引用完整性。
It is also a sound choice if you want to use database referential integrity to enforce associations.
如果你想用数据库的引用完整性来做关联,那它也是个合适的选择。
Even though referential integrity and check constraints are very helpful during the ETL process to help detect data problems, implementing them on final data warehouse tables is not efficient.
在ETL过程中,即时参照完整性和检查约束极其有助于检测数据问题,在最终的数据仓库表中实现它们也不会高效。
You can copy tables, data, stored procedures, referential integrity constraints, security, and indexes. Choose the object(s) to copy.
可以复制表、数据、存储过程、引用完整性约束、安全性和索引。选择要复制的对象。
You can transfer tables, data, stored procedures, referential integrity constraints, security, and indexes. Choose the object(s) to transfer.
可以传输表、数据、存储过程、引用完整性约束、安全性和索引。选择要传输的对象。
Referential integrity is a fancy SQL term that refers to keeping all the data in your database clean, free from incorrect or unused data, and accurate in terms of joins across tables.
引用完整性是一个美妙的SQL术语,它指的是保持数据库中的所有数据都是干净的,没有错误或者多余的数据,表之间的连接准确合理。
In reality, it's up to you to decide whether you want your classes to maintain strict referential integrity (in other words, have all deletes cascade) or to allow a looser relationship.
实际上,您可以自己决定是否希望类保持严格的引用完整性(换句话说,所有删除操作都是级联的)或者允许更松散的关系。
It had good ANSI SQL support, referential integrity, and good performance as long as the number of concurrent accesses didn't grow too large.
它有很好的ANSISQL支持和引用完整性,并且只要并发用户的增长不太大它可以保持良好的性能。
Replication to non-DB2 target tables with referential integrity constraints is supported only if you manually define the constraints on the corresponding nicknames.
只有在相应别名上手工定义约束,才支持到带有参照完整性约束的非DB2目标表的复制。
This category of overhead includes CHECK constraint verification and foreign key constraint (referential integrity (RI)) verification.
这一类的开销包括检查约束验证和外键约束(参照完整性(RI))验证。
This table uses referential integrity constraints to ensure data validity.
这个表使用引用完整性约束确保数据的有效性。
State the primary types of tables found in a data warehouse and the order which they must be loaded to enforce referential integrity.
简述数据仓库中的表的基本类型,以及为了保证引用完整性该以什么样的顺序对它们进行加载。
Do not include any clauses defining declarative referential integrity constraints.
不要包括可定义声明引用完整性约束的子句。
You can't use database features such as referential integrity, and you can't rely on tools to discover the relationships based on the names of your columns.
不能使用诸如引用完整性这样的数据库特性,也不能依赖于工具来基于列的名称发现这些关系。
Control over the database aspects of persistent classes including indices, constraints, and referential integrity.
持久类保持和数据库一致。包括索引,约束和参照完整性。
The technical data quality dimension defines the data quality criteria often found in logical data modeling entity integrity and referential integrity rules.
技术性数据质量维定义在逻辑数据建模实体完整性和引用完整性规则中常见的数据质量标准。
For example, this might happen when two ore more of the tables in the MQT have a referential integrity relationship defined and the join predicate is on their primary key - foreign key columns.
例如,当MQT 中的两个或多个表定义了引用完整性关系并且联结谓词在它们自己的主键-外键列上时,就会出现这种情况。
Copy tables, data, stored procedures, referential integrity constraints, security, and indexes. Specify the object(s) to copy.
复制表、数据、存储过程、引用完整性约束、安全性和索引。请指定要复制的对象。
This paper presents a class of specific covert channels in database system-the covert channel using referential integrity. We compute their bandwidth and propose the methods to handle them.
该文提出了一类数据库系统所特有的隐通道一利用引用完整性约束传送信息的隐通道,分析了它们的带宽,并提出了处理这类隐通道的方法。
For instance, complex data relationships would require full referential integrity enforcement.
比如,复杂的数据关系要求有完全的引用完整性限制。
This ensures that the atomicity, consistency, isolation, and durability (ACID) criteria for transactions are met and that referential integrity is enforced.
这可确保满足事务的原子性、一致性、隔离和持久性 (ACID)标准,且保证引用完整性。
Transfer tables, data, stored procedures, referential integrity constraints, security, and indexes. Specify the object(s) to transfer.
可以传输表、数据、存储过程、引用完整性约束、安全性和索引。请指定要传输的对象。
A relationship that does not enforce referential integrity appears as a thin line between the common fields supporting the relationship.
不实施参照完整性的关系在支持该关系的公共字段之间显示为细线。
Depending on which methods your database developers have used, the database will be vulnerable to different sorts of referential integrity issues.
根据数据库开发人员所使用手段的不同,应用程序的数据库将会经受不同程度的引用完整性的问题。
It is very important to implement referential integrity when developing a DBAS (Database Application System).
参照完整性的实施是数据库应用系统设计的关键之一。
If one document contains the authoritative data that other documents refer to, it is more difficult to maintain referential integrity.
如果一个文档包含其他文档引用的可靠数据,就很难维护引用完整性。
参照完整性(Referential Integrity)是关系型数据库中的核心约束机制,用于确保不同数据表间关联关系的准确性和一致性。其核心规则是:若表A包含指向表B的外键字段,则该外键的值必须与表B中对应主键的值完全匹配,或为空值(若允许空值)。
这一概念由IBM研究员Edgar F. Codd在1970年提出,作为关系模型的十二准则之一。美国国家标准与技术研究院(NIST)数据库资源指南指出,参照完整性通过阻止以下非法操作维护数据质量:
微软技术文档显示,现代数据库系统如SQL Server通过FOREIGN KEY约束自动执行参照完整性。当违反规则时,系统可触发级联操作(CASCADE)、设为空值(SET NULL)或拒绝变更(NO ACTION)等处理策略。
Oracle数据库白皮书证实,实施参照完整性可降低数据冗余率达30%-60%,同时提升事务处理可靠性。国际标准化组织ISO/IEC 9075标准明确规定参照完整性的语法规范和执行要求,确保跨平台数据库的兼容性。
参照完整性(Referential Integrity)是数据库设计中的一个核心概念,用于确保数据库中表之间关系的有效性和一致性。以下是详细解释:
参照完整性要求:如果一个字段(外键)引用了另一个表的主键,那么该外键的值必须始终指向另一个表中实际存在的主键值,或者为NULL
(如果允许空值)。这防止了“无效引用”或“孤儿记录”的产生。
NULL
)通过外键约束(Foreign Key Constraint)实现,例如在SQL中:
CREATE TABLE 订单 (
订单ID INT PRIMARY KEY,
客户ID INT,
FOREIGN KEY (客户ID) REFERENCES 客户(客户ID)
ON DELETE CASCADE
);
此代码表示:删除客户表中的某条记录时,所有关联订单也会被自动删除。
若未启用参照完整性,可能出现以下问题:
参照完整性是维护数据库逻辑可靠性的基石,尤其在涉及多表关联的复杂系统中(如电商、ERP)。它通过外键约束强制执行业务规则,避免数据孤立或逻辑错误,从而提升整体数据质量。
【别人正在浏览】