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 / gajendra jain

A table can have only one Primery key but it can have any number of Foreign key.

Is This Answer Correct ?    0 Yes 1 No

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

Answer / anand

Primary key is used to identify a row in a table and it
doesnot allow null values. It avoids duplication of rows.

whereas foreign key refers to a column or combination of
columns included in the defenition of referential integrity

Is This Answer Correct ?    0 Yes 1 No

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

Answer / abhishek ranjan

The main diference between primary key and the foreign key is that the primary key is a column or a set of columns that can be used to uniquely identify a row in a table while the foreign key is a column or a set of columns that refer to a primary key or a candidate key of another table. Foreign key mainly provides a method to link information in several tables. Another difference is that a table can have a single primary key, but it can have multiple foreign keys that can reference different tables.

Is This Answer Correct ?    0 Yes 1 No

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

Answer / leang heng

Primary Key is a column or group of columns that determine
in each Record to make not null.

Foreign Key is Column that provide Relationship to Primary
Key between Entities or Table.

Is This Answer Correct ?    0 Yes 1 No

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

Answer / praneeth

primary key helps in uniquely identifying the records in a table
a foreign key is a field that points to the primary key of another table which links one table to another table

Is This Answer Correct ?    0 Yes 1 No

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

Answer / aarti

Primary Key : It is a unique key of the table.Unique for
each record in the table(e.g ID).

Foreign Key : When a primary key is used as a reference key
in another table then it is called as a foreign key.It is
used to link two tables.

Is This Answer Correct ?    1 Yes 2 No

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

Answer / keyman

Foreign key = Florida Keys (Keys in a foreign land)
Primary Key = The main key you use to enter you home

Is This Answer Correct ?    12 Yes 36 No

Post New Answer

More Oracle General Interview Questions

If I have a select statment which retrives 2 rows, & that rows have the same data in all the fields except the last field and I want to merge the 2 rows to be in 1 row with concatenating the last field which have the different data.... eg: the 1st row has these fields: A-B-C the second row has: A-B-X ........ i want to merge the two row to be in one row like ----> A- B- C,X

2 Answers  


Explain the difference between replace() and translate() functions in oracle?

0 Answers  


What is the cache hit ratio, what impact does it have on performance of an Oracle database and what is involved in tuning it?

0 Answers  


How would you optimize a slow SQL query?

1 Answers  


What is Oracle table?

1 Answers  


What are the attributes that are found in a cursor?

0 Answers  


how can we store any pdf file in oracle

0 Answers  


How to loop through data rows in the implicit cursor?

0 Answers  


What to do if dba lost the system password?

0 Answers  


What is an Oracle Instance?

0 Answers  


Please explan Why static query is more faster than dynamic query ?

2 Answers  


How to define a cusotmer as a supplier in ORACLE R12

0 Answers   Intelligroup,


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)