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...

Define the terms primary key foreign key and also the
difference between primary and the unique key

Answer Posted / pugal

Primary Key : The primary key of a relational table
uniquely identifies each record in the table

Foreign Key : These keys are used to create relationships
between tables.

Unique Key : In relational database design, a unique key is
a candidate key to uniquely identify each row in a table. A
unique key comprises a single column or set of columns

Difference between primary and unique key :

primary key not allows null values
unique key allows null values

Is This Answer Correct ?    33 Yes 12 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to retrieve data from an cursor to a record?

1012


Using the relations and the rules set out in the notes under each relation, write table create statements for the relations EMPLOYEE, FIRE and DESPATCH. You should aim to provide each constraint with a formal name, for example table_column_pk.

1793


List out the types of joins.

1080


How to delete multiple rows from a table in oracle?

1003


How to define a procedure inside another procedure?

960


what is port in oracle? how is it related to database application.

1892


How to create a new tablespace in oracle?

932


how to code performance tuning of oracle PL/SQL? can any body send me the perfect answer?

5330


What is difference between cartesian join and cross join?

1016


What is a nvl function? How can it be used?

958


What privilege is needed for a user to create views in oracle?

978


What are the uses of synonyms?

1082


What are the limitations oracle database 10g xe?

975


Explain the difference between sql and oracle?

1022


How to use group functions in the select clause using oracle?

1022