Creating a foreign key constraint with index disabled.
创建一个索引禁用的外键约束。
In table 6, the INSERT into the Orders table fails due to a foreign key constraint violation on custno.
在表6中,对orders表执行insert语句失败,因为custno违背了外键约束。
Next, select the newly added foreign key constraint in the editor and specify the key columns using the Properties view.
接下来,在编辑器中选择新添加的外键约束,并使用Properties视图指定关键列。
The latter is actually a primary key lookup against the parent table and constitutes the foreign key constraint verification.
索引扫描实际上是对父表进行主键查找,并完成外键约束验证。
This category of overhead includes CHECK constraint verification and foreign key constraint (referential integrity (ri)) verification.
这一类的开销包括检查约束验证和外键约束(参照完整性(RI))验证。
Delete a foreign key constraint when you want to remove the requirement to enforce referential integrity.
如果想要移除对强制引用完整性的要求,则可删除外键约束。
Give you the option to implement referential integrity between parent and child tables by creating a foreign key constraint.
允许您选择通过创建外键约束来实现父表和子表之间的引用完整性。
But from our data model's perspective, there is no unique table we can use to create our foreign key constraint, like the one between TB_RIGHT and TB_PERSON.
但是从我们数据模型的角度来看,我们没有一个惟一的表可以用来创建我们的外键约束,就像TB_RIGHT和TB_PERSON之间那样。
Additionally, there cannot be a foreign key constraint between the table being truncated and other tables, otherwise the truncate table operation fails.
此外,被truncate的表和其他表之间是不能有外键约束的,否则truncateTABLE操作会失败。
A Foreign key constraint allows you to define referential integrity between a parent and child table.
外键约束允许您定义父表和子表之间的引用完整性。
To do so, click on the Add icon, and then select the database object type Foreign Key Constraint, as shown in Figure 4c.
为此,单击add图标,然后选择数据库对象类型Foreign Key Constraint,如图4c所示。
You have an index that is associated with a Unique or Foreign Key constraint that is heavily used in queries that you want to put on SSD.
您有一个索引与Unique或Foreign Key约束关联并且该索引被大量的查询所使用,您希望将这个索引放入SSD。
If a dataset contains constraints (such as a foreign-key constraint) it is possible to cause exceptions to be thrown depending on the order of operations performed against the dataset.
如果数据集包含约束(如外键约束),则可能导致引发异常,取决于对数据集执行操作的顺序。
If a dataset contains constraints (such as a foreign-key constraint) it is possible to cause exceptions to be thrown depending on the order of operations performed against the dataset.
如果数据集包含约束(如外键约束),则可能导致引发异常,取决于对数据集执行操作的顺序。
应用推荐