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 invoke the original export import utilities?

1127


Can we store pictures in the database and if so, how it can be done?

1089


How many objectname will be created for a single table drop function? Why 'flashback' query giving error "ORA-38312: original name is used by an existing object" while getting the table?

2311


Can the query output be sorted by multiple columns in oracle?

1045


What is a directory object?

1136


How to define a variable to match a table column data type?

1030


How to build data dictionary view an new database?

1047


What privilege is needed for a user to connect to oracle server?

1031


What are the four Oracle system processes that must always be up and running for the database to be useable?

1048


Does oracle partitioning improve performance?

1050


Explain oracle 12c new features for developers?

1119


What are the extensions used by oracle reports?

1085


what is partitioning? Types of partitioning. explain? what is the new kind of partitioning type introduced in 9i?

2315


For a field in a repeating frame, can the source come from the column which does not exist in the data group which forms the base for the frame ?

2063


How to assign query results to variables?

1094