Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

Explain the Difference Between a Primary Key and a Foreign Key.

Answer Posted / hr@tgksolutions.com

Each record in a table is uniquely identified by its primary key, which also guarantees data integrity. There can only be one primary key per table, which guarantees that every record is distinct.
Conversely, a foreign key refers to the primary key in the associated table to establish a connection between two tables. By guaranteeing the validity of the link between the tables and the consistency of the data, this relationship aids in preserving referential integrity between them.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is denormalization and why would someone consider doing so?

860


Which software is best for database?

831


What is actional flow mapping?

877


What is user and end user?

862


What is database join?

846


How to select a random record from a table?

893


What is super key in dbms?

850


Define truncate and delete commands?

952


What is instance in dbms?

808


What are the two major subsystems of system r?

1032


What methods is used to commit the changes made in DataSet object?

981


Explain the scenarios or situations under which progress database creates new index entry for a record?

979


What are the various kinds of interactions catered by dbms?

2068


Explain entity, entity type, and entity set in dbms?

765


What are procedures in database?

962