foreign key

Popularity
500+ learners.
Advertencia: Cerciórese de que los índices de la foreign key y de la primary key utilizan el mismo tipo de ordenación (DESC | ASC).
Caution Make sure that foreign key and primary key indexes use the same sort order (DESC | ASC).
Para ver las restricciones, vea Create Foreign Key Relationships.
For restrictions, see Create Foreign Key Relationships.
Esta opción solo se puede utilizar con las restricciones FOREIGN KEY y CHECK.
This option can only be used with FOREIGN KEY and CHECK constraints.
Los nombres por omisión de FOREIGN KEY, UNIQUE y CHECK pueden ser reemplazados.
The default names of FOREIGN KEY, UNIQUE and CHECK constraints can be overridden.
Restricciones con Nombre Los nombres por omisión de FOREIGN KEY, UNIQUE y CHECK pueden ser reemplazados.
Named Constraints The default names of FOREIGN KEY, UNIQUE and CHECK constraints can be overridden.
Si una restricción CHECK, una restricción FOREIGN KEY o las columnas calculadas hacen referencia a la columna cambiada.
If a CHECK constraint, FOREIGN KEY constraint, or computed columns reference the column changed.
Si no desea volver a comprobar las restricciones CHECK o FOREIGN KEY nuevas con los datos existentes, utilice WITH NOCHECK.
If you do not want to verify new CHECK or FOREIGN KEY constraints against existing data, use WITH NOCHECK.
La discusión en HACKERS se centró en el envío de un mensaje NOTICE o WARNING cuando se crea una FOREIGN KEY de distinto tipo.
The discussion on HACKERS centered around raising a NOTICE or a WARNING when creating a mismatched FOREIGN KEY.
Especifica si los datos de la tabla se han validado o no frente a una restricción FOREIGN KEY o CHECK recién agregada o habilitada de nuevo.
Specifies whether the data in the table is or is not validated against a newly added or re-enabled FOREIGN KEY or CHECK constraint.
El área SQL del Inspector ofrece información útil para trabajar con la estructura vía el lenguaje SQL.Para las relaciones, el área indica las propiedades FOREIGN KEY y REFERENCES.
The SQL area of the Inspector palette provides information that is useful for working with the structure via the SQL language. For relations, the area indicates FOREIGN KEY and REFERENCES properties.
En el ejemplo siguiente se crea la tabla ContactBackup y, a continuación, se modifica la tabla; primero se agrega una restricción FOREIGN KEY que hace referencia a la tabla Person.Person y, a continuación, se quita la restricción FOREIGN KEY.
The following example creates the table ContactBackup, and then alters the table, first by adding a FOREIGN KEY constraint that references the table Person.Person, then by dropping the FOREIGN KEY constraint.
Word of the Day
fresh