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


what is the difference between primary key & foreign key?

Answers were Sorted based on User's Feedback



what is the difference between primary key & foreign key?..

Answer / mohammadazam

A primary key is an combination of attributes that uniquely
identifies each row in a relation. A primary key is
designated by underlining the attribute name. The primary
key of an entity set allows us to distinguish among the
various entities of the set.

A foreign key is an attribute in a relation of database
that serves as the primary key of another relation in the
same database.

Is This Answer Correct ?    17 Yes 6 No

what is the difference between primary key & foreign key?..

Answer / khan

i dont know
i just read above
and all answer seems to b same and correct
i am confused

Is This Answer Correct ?    30 Yes 21 No

what is the difference between primary key & foreign key?..

Answer / dimna

primay key uniquely identifies records in relation.
in a table only one primary key.But may have more than one
foreign key.

Is This Answer Correct ?    17 Yes 9 No

what is the difference between primary key & foreign key?..

Answer / ibrahim

primay key uniquely identifies records in relation.
in a table only one primary key.But may have more than one
foreign key.

Is This Answer Correct ?    14 Yes 7 No

what is the difference between primary key & foreign key?..

Answer / navane

Primary key is a keyword.
It should not have null value and duplicate value.
We can have only one primary key in a table and the value
should be unique.

Foreign key is a keyword.
It can have null value and duplicate value.
We can have more than one foreign key for a table and this
froeign key table references the primary key table.

Is This Answer Correct ?    3 Yes 0 No

what is the difference between primary key & foreign key?..

Answer / ilakarthi

primary key is available in foreign key but not available in the foreign key for a primary key

Is This Answer Correct ?    2 Yes 0 No

what is the difference between primary key & foreign key?..

Answer / vaziuddin shaik

PRIMARY KEY
-------------
Primary key is a column in a table which is having unique
values......and it does not contain null values and
duplicate values...........

FOREIGN KEY
-------------
Foreign key is a column in a table which act as reference to
another table.....and it may contain null and duplicate
values.....(or)it may not contain null and duplicate
values...........

Is This Answer Correct ?    2 Yes 0 No

what is the difference between primary key & foreign key?..

Answer / sairam

primary key is an individual key
foreign key depends in primary key

Is This Answer Correct ?    1 Yes 0 No

what is the difference between primary key & foreign key?..

Answer / himabindu

primary key is unique.it does not allow null&duplicate
values.it is individual.
foreign key always refers primary key.it is
independent

Is This Answer Correct ?    1 Yes 0 No

what is the difference between primary key & foreign key?..

Answer / rathika

only one primary key on the table.
more than one foreign key on a table

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More Oracle General Interview Questions

Why required to run root.sh at the time of installation and what exactly it will do

1 Answers  


Iam learning oracle developer 2000.. can anyone give me then tutorials sites or PDF related to developer 2000 please send me the details @ mak2786@gmail.com thanks Arun

0 Answers  


How to write a query with a full outer join in oracle?

1 Answers  


How to commit the current transaction in oracle?

0 Answers  


How to call a stored procedure inside a trigger? Give an example.

1 Answers   Exilant,


Why does for update in oracle 8 cause an ora-01002 error?

0 Answers  


What is the string concatenation operator in oracle?

0 Answers  


How to resolve the ORA-39133 error in Oracle?

0 Answers  


Difference between open_form and call_form in oracle.

0 Answers  


how to convert .db (extention) database file into .dmp (extention ) for oracle database ?

0 Answers   EDC,


Will the Optimizer always use COST-based approach if OPTIMIZER_MODE is set to "Cost"?

1 Answers  


How to establish administrator authentication to the server?

0 Answers  


Categories
  • Oracle General Interview Questions Oracle General (1803)
  • Oracle DBA (Database Administration) Interview Questions Oracle DBA (Database Administration) (261)
  • Oracle Call Interface (OCI) Interview Questions Oracle Call Interface (OCI) (10)
  • Oracle Architecture Interview Questions Oracle Architecture (90)
  • Oracle Security Interview Questions Oracle Security (38)
  • Oracle Forms Reports Interview Questions Oracle Forms Reports (510)
  • Oracle Data Integrator (ODI) Interview Questions Oracle Data Integrator (ODI) (120)
  • Oracle ETL Interview Questions Oracle ETL (15)
  • Oracle RAC Interview Questions Oracle RAC (93)
  • Oracle D2K Interview Questions Oracle D2K (72)
  • Oracle AllOther Interview Questions Oracle AllOther (241)