what is difference between foreign key and reference key

Answer Posted / anup

very simple...we use primary key or foreign key whenever we need to make relation.ex..if we need to join student (Roll P.K) and marks(roll F.K.) then we can join both tables only if we have primary key in one table and foreign key in other..one table may have n numbers of foreign key and n number of primary key (Called composite key)..mail me if u need more details in oracle or any front end lang...anup from chennai,Ranchi.

Is This Answer Correct ?    8 Yes 27 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is oracle an operator?

534


1) What is ONE_SIZE_FITS_ALL approach? 2) Explain the Common & Variable Header of DATA FILE? 3) What are the Drawbacks to using OMF DB? and the Advantages? 4) List out the Advantages of Undo T.spaces over the Undo SEGMENT? 5) Difference between the Temporary tablespace with TEMPFILE and the Tablespace with TEMPORARY Keyword? 6) What are the situation extents are freeing for reuse.

1612


how can we store any pdf file in oracle

1644


Differentiate between pre-select and pre-query?

621


What is a user account in oracle?

629






What are the differences between lov and list item?

559


What is the meaning of recursive hints in oracle?

532


How to create a temporary table in oracle?

694


Explain cascading triggers.

574


What are the oracle differences between nvl and coalesce

518


How much memory your 10g xe server is using?

582


How to loop through a cursor variable?

569


How to insert a record into a table?

642


What do you know about normalization? Explain in detail?

499


How do I reset a sequence in oracle?

596