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 / anil bharodiya

Primary key is field of the table that can be used to
uniquely identify records of the table

Is This Answer Correct ?    0 Yes 0 No

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

Answer / sripathi venkata ramesh

I am Sripathi Venkata Ramesh from Gudivada and the answer
is mentioned below

Primary key: A Primary key is a column or group of columns
used to uniquely identify each row in a table like
It defines the column as a Mandatory column.
The data held across the column must be unique.
By default it creates clustered index.
It does not allow null values and duplicate values

Foreign key: A Foreign key is a column or group of columns
whose values are derived from the primary key of some other
table

Is This Answer Correct ?    2 Yes 2 No

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

Answer / bharathi sundar

A PRIMARY KEY DOES NOT ACCEDES DUPLICATIONS .
A FOREIGN KEY IS USED FOR LINKING TWO DATABASE TABLES
ABSTRUSELY .

A FOREIGN KEY USES THE PRIMARY KEY IN ANOTHER TABLE,
TO RETRIEVE OR TO IDENTIFY THE CELL VALUES IN ANOTHER
TABLE.........

Is This Answer Correct ?    0 Yes 0 No

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

Answer / o p yadav

primary key is the unique value,but its not nul values..
this kry is avoided dublicate values

foreign key is always references the primary key and allow null value.

Is This Answer Correct ?    0 Yes 0 No

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

Answer / sravan kumar

A attribute which it is uniquely identifies in a row in a
table is called Primary key..


A column in a table whose values matches the primary key in
some other table is called Foreign key

Is This Answer Correct ?    0 Yes 0 No

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

Answer / raja

foriegn key always refers to
primary key but Primary key is unique key

Is This Answer Correct ?    0 Yes 0 No

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

Answer / suneel manne

Primary key is a key it will allow only Unique values and
avoid duplicate values and foreign key is a reference key
from the other table, So here primary key acts as a parent
key and foreign key acts as a child key.

Is This Answer Correct ?    0 Yes 0 No

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

Answer / ibrahim

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 ?    0 Yes 1 No

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

Answer / kush kaushik

Primary key is primary means from india and foreign key is forgeiner means from forign .. ..By kush kaushik(kush.kaushik87@gmail.com)

Is This Answer Correct ?    0 Yes 1 No

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

Answer / reddy

foreign key is NULL
foreign key reference as Primary key in another table


Primary key is unique
primary key is not NULL and

Is This Answer Correct ?    0 Yes 1 No

Post New Answer

More Oracle General Interview Questions

Without giving condition how to retrieve the unmatched records from table.

1 Answers   TCS,


How to connect ms access to oracle servers?

0 Answers  


which institute and which faculty is providing best training for oracle sql, plsql in hyderabad

4 Answers  


How to create a new table in oracle?

0 Answers  


What is the effect of setting the value of OPTIMIZER_MODE to 'RULE' ?

1 Answers  


How to connect to the server with user account: sys?

0 Answers  


What is the difference between normal and corelated subqueries?

2 Answers  


How to convert times to characters in oracle?

0 Answers  


What is OCI. What are its uses?

1 Answers  


what's query optimization and without use of IN AND Exist can we get another way data from query

0 Answers  


What is the difference between hot backup and cold backup in oracle? Tell about their benefits also.

0 Answers  


What is the difference between view and materialized view in Oracle?

0 Answers   MCN Solutions,


Categories
  • Oracle General Interview Questions Oracle General (1809)
  • 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)