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

How to work with data objects interactively?

548


How to change program global area (pga) in oracle?

579


How can I create database in oracle?

559


How to export data to a csv file?

615


How to best split csv strings in oracle 9i?

579






What are the various oracle database objects?

672


How a tablespace is related to data files?

577


Differentiate between post-database commit and post-form commit?

539


What is the disadvantage of User defind function?

1830


what is meant by magic query

1766


Which is better Oracle or MS SQL? Why?

3961


How do I manually uninstall oracle client?

512


6. Display the client name and order date for all orders using the traditional method.

1745


What is oracle data type?

548


How to drop an existing view in oracle?

562