Printer Friendly
Dictionary, Encyclopedia and Thesaurus - The Free Dictionary
3,900,170,407 visitors served.
forum Join the Word of the Day Mailing List For webmasters
?
Dictionary/
thesaurus
Medical
dictionary
Legal
dictionary
Financial
dictionary
Acronyms
 
Idioms
Encyclopedia
Wikipedia
encyclopedia
?

foreign key
(redirected from Foreign key constraint)

   Also found in: Wikipedia 0.02 sec.
foreign key
In relational databases, it is a field in one table that is indexed in another. Foreign keys provide the building blocks for relating tables. For example, in a customer order table, the salesperson field might contain an employee number. That field would be a foreign key in the table, because the employee table would be indexed on employee number. See entity relationship model.

Foreign Keys
Note the "FK" indications in this Erwin entity relationship modeling program. Every foreign key is a field in one table that is indexed in another. (Example courtesy of Logic Works, Inc.)

(database)foreign key - A column in a database table containing values that are also found in some primary key column (of a different table). By extension, any reference to entities of a different type.

Some RDBMSs allow a column to be explicitly labelled as a foreign key and only allow values to be inserted if they already exist in the relevant primary key column.



Want to thank TFD for its existence? Tell a friend about us, add a link to this page, add the site to iGoogle, or visit the webmaster's page for free fun content.
?Page tools
Printer friendly
Cite / link
Feedback
Mentioned in?  References in periodicals archive?   Encyclopedia browser?   Full browser?
No references found
 
In relational database terms, this arrow depicts a foreign key constraint, where the movieNr column in the Starred table is a foreign key referencing the primary key of the Movie table.
The foreign key constraint indicates that, in a collection, the name and the author of a top recipe must already exist as the name and the author of a recipe (in the same collection, but disregarding the order).
Prima's other requirements were that the selected product be purely Microsoft-centric and able to take advantage of all SQL Server(TM) capabilities, such as the use of foreign key constraints and surrogate keys.
 
 
Foreign Investment Review Board
Foreign investment risk matrix
Foreign investment risk matrix
Foreign investment risk matrix
Foreign investment risk matrix
Foreign Investment Services Bureau
Foreign investments
Foreign investments
Foreign Investments Negative List
Foreign Investor Tax Credit
Foreign investors
Foreign investors
Foreign investors
Foreign investors
Foreign investors
Foreign Investors Association of Albania
Foreign Investors Council in Estonia
Foreign Investors' Chamber of Commerce and Industry
Foreign Investors' Council in Latvia
Foreign Inward Remittance Certificate
Foreign Irrevocable Life Insurance Trust
Foreign Issues Tracking System
Foreign Jobs Time
Foreign Joint Services NCO
foreign judgment
Foreign judgment lien
Foreign key
Foreign key
Foreign key
Foreign key
Foreign key constraint
Foreign labor
Foreign labor
Foreign labor
Foreign Labor Certification Unit
Foreign labour
Foreign labour
Foreign labour
Foreign Lady
Foreign language
Foreign Language Academy of Global Studies High School
Foreign Language Across the Curriculum
Foreign Language and Area Studies
Foreign Language and Area Studies Fellowships
Foreign Language and International Economics
Foreign Language and International Trade
Foreign Language and Study
Foreign Language Aptitude Test
Foreign Language Assessment Directory
Foreign Language Assistance Program
Foreign Language Association for Managers in Education
Foreign Language Association of Central California
Foreign Language Association of Georgia
Foreign Language Association of Greater Sacramento
Foreign Language Association of Missouri
Foreign Language Association of North Carolina
Foreign Language Association of North Dakota
Foreign Language Association of Northern California
Foreign Language Association of the Red River
 
Encyclopedia
?

Terms of Use | Privacy policy | Feedback | Advertise with Us | Copyright © 2012 Farlex, Inc.
Disclaimer
All content on this website, including dictionary, thesaurus, literature, geography, and other reference data is for informational purposes only. This information should not be considered complete, up to date, and is not intended to be used in place of a visit, consultation, or advice of a legal, medical, or any other professional.