answersLogoWhite

0


Best Answer

References its own relation

User Avatar

Wiki User

12y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is the recursive foreign key?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Computer Science

How do you apply a foreign key in a database?

The foreign key is a reference to a key (identifier) of a row in another or even the same table. When the foreign key is not null, it implies that there's an entry in the referenced table with that identifier. The syntax depends on wich database are you using, check the page in the related links below.


Types of keys in database management system?

super key foreign key candidate key surrogate key unique key alternate key composite key compound key


Using foreign key on ER diagram?

Foreign keys isnt drawn at a ER-diagram. The relation drawn between entities is enough to show, that der is at foreign key


Explain about primary key super key candidate key alternate key composite key foreign key?

KEYS IN SQL* Alternate key - An alternate key is any candidate key which is not selected to be the primary key* Candidate key - A candidate key is a field or combination of fields that can act as a primary key field for that table to uniquely identify each record in that table.For Eg:The table:Emloyee(Name,Address,Ssn,Employee_Idprimary_key,Phone_ext)In the above example Ssn no. and employee identity are ccandidate keys.* Compound key - compound key (also called a composite key or concatenated key) is a key that consists of 2 or more attributes.* Primary key - a primary key is a value that can be used to identify a unique row in a table. Attributes are associated with it. Examples of primary keys are Social Security numbers (associated to a specific person) or ISBNs (associated to a specific book).In the relational model of data, a primary key is a candidate key chosen as the main method of uniquely identifying a tuple in a relation.For Eg:Emloyee(Name,Address,Ssn,Employee_Idprimary_key,Phone_ext)* Superkey - A superkey is defined in the relational model as a set of attributes of a relation variable (relvar) for which it holds that in all relations assigned to that variable there are no two distinct tuples (rows) that have the same values for the attributes in this set. Equivalently a superkey can also be defined as a set of attributes of a relvar upon which all attributes of the relvar are functionally dependent.For Eg:Emloyee(Name,Address,Ssn,Employee_Idprimary_key,Phone_ext)All the above are super keys.* Foreign key - a foreign key (FK) is a field or group of fields in a database record that points to a key field or group of fields forming a key of another database record in some (usually different) table. Usually a foreign key in one table refers to the primary key (PK) of another table. This way references can be made to link information together and it is an essential part of database normalization.For Eg:For a Student....School(Name,Address,Phone,School_Reg_noprimary_key


What is the name of php language?

From Wikipedia: PHP originally stood for "Personal Home Page", it is now said to stand for "PHP: Hypertext Preprocessor", a recursive acronym. https://en.wikipedia.org/wiki/Php

Related questions

The key foreign policymakers are?

The key foreign policy makers are?


Can a foreign key be null?

yes .a foreign key can have null values


What Foreign key?

In the context of relational databases, a foreign key is a referential constraint between two tables.[1] The foreign key identifies a column or a set of columns in one (referencing) table that refers to a column or set of columns in another (referenced) table. The columns in the referencing table must be the primary key or other candidate key in the referenced table. The values in one row of the referencing columns must occur in a single row in the referenced table. Thus, a row in the referencing table cannot contain values that don't exist in the referenced table (except potentially NULL). This way references can be made to link information together and it is an essential part of database normalization. Multiple rows in the referencing table may refer to the same row in the referenced table. Most of the time, it reflects the one (master table, or referenced table) to many (child table, or referencing table) relationship. The referencing and referenced table may be the same table, i.e. the foreign key refers back to the same table. Such a foreign key is known in SQL:2003 as self-referencing or recursive foreign key. A table may have multiple foreign keys, and each foreign key can have a different referenced table. Each foreign key is enforced independently by the database system. Therefore, cascading relationships between tables can be established using foreign keys. Improper foreign key/primary key relationships or not enforcing those relationships are often the source of many database and data modeling problems.


What is foreign key?

In the context of relational databases, a foreign key is a referential constraint between two tables.[1] The foreign key identifies a column or a set of columns in one (referencing) table that refers to a column or set of columns in another (referenced) table. The columns in the referencing table must be the primary key or other candidate key in the referenced table. The values in one row of the referencing columns must occur in a single row in the referenced table. Thus, a row in the referencing table cannot contain values that don't exist in the referenced table (except potentially NULL). This way references can be made to link information together and it is an essential part of database normalization. Multiple rows in the referencing table may refer to the same row in the referenced table. Most of the time, it reflects the one (master table, or referenced table) to many (child table, or referencing table) relationship. The referencing and referenced table may be the same table, i.e. the foreign key refers back to the same table. Such a foreign key is known in SQL:2003 as self-referencing or recursive foreign key. A table may have multiple foreign keys, and each foreign key can have a different referenced table. Each foreign key is enforced independently by the database system. Therefore, cascading relationships between tables can be established using foreign keys. Improper foreign key/primary key relationships or not enforcing those relationships are often the source of many database and data modeling problems.


What is a foreign key?

In the context of relational databases, a foreign key is a referential constraint between two tables.[1] The foreign key identifies a column or a set of columns in one (referencing) table that refers to a column or set of columns in another (referenced) table. The columns in the referencing table must be the primary key or other candidate key in the referenced table. The values in one row of the referencing columns must occur in a single row in the referenced table. Thus, a row in the referencing table cannot contain values that don't exist in the referenced table (except potentially NULL). This way references can be made to link information together and it is an essential part of database normalization. Multiple rows in the referencing table may refer to the same row in the referenced table. Most of the time, it reflects the one (master table, or referenced table) to many (child table, or referencing table) relationship. The referencing and referenced table may be the same table, i.e. the foreign key refers back to the same table. Such a foreign key is known in SQL:2003 as self-referencing or recursive foreign key. A table may have multiple foreign keys, and each foreign key can have a different referenced table. Each foreign key is enforced independently by the database system. Therefore, cascading relationships between tables can be established using foreign keys. Improper foreign key/primary key relationships or not enforcing those relationships are often the source of many database and data modeling problems.


The foreign key uniquely identifies a record in a table T or F?

False. A foreign key is a primary of one table that is in another table. A foreign key can be repeated, so it does not uniquely identify records in the table where it is a foreign key.


How do you use foreign key in to oracle?

the foreign key referential between two tables.


What is recursive association?

a recursive association - as a aggregation is a special form of association, so recursive aggregation can be called as recursive association ... AKASH SISODIYA ......IT ...


Can a foreign-key column can contain duplicate values?

yep foreign key can have duplicate values


How do you apply a foreign key in a database?

The foreign key is a reference to a key (identifier) of a row in another or even the same table. When the foreign key is not null, it implies that there's an entry in the referenced table with that identifier. The syntax depends on wich database are you using, check the page in the related links below.


Explain the concept of foreign key How a foreign key differs from a primary key?

Foreign keys are used to link one database with another. A primary key is an attribute of a record that allows users to identify information.


Types of keys in database management system?

super key foreign key candidate key surrogate key unique key alternate key composite key compound key