Define Foreign Key?
Answers were Sorted based on User's Feedback
Answer / vani
it is a primary key which is referenced to another table
Is This Answer Correct ? | 19 Yes | 5 No |
Foreign Key is used to establish Referential Integrity/Constraint between 2 tables. Mainly it is a column in a table that uniquely identifies every record in another table. A table can have 1 or more than 1 FKs.
~Manoj (sqlwithmanoj.wordpress.com)
Is This Answer Correct ? | 10 Yes | 0 No |
Answer / pravati
foreign key of one table points to a primary key of another table.
Is This Answer Correct ? | 1 Yes | 0 No |
Is null vs coalesce?
how to get the rowid/rownumbes of a table in sqlserver
Write an sql query to sort a table according to the amounts in a row and find the second largest amount.
What is stored in the mssqlsystemresource database? : sql server database administration
Explain the steps to use transact-sql cursor?
What are different types of views?
What are sp_configure commands and set commands?
State the difference between local and global temporary tables?
How to find the last update record in SQL Server?
Where sql server usernames and passwords are stored in a sql server?
To which devices can a backup be created and where should these devices be located? : sql server management studio
What are views used for?