Difference between primary key and unique key ?

Answer Posted / ajoy

primary key and unique key both can be referenced to other
table as foreign key. please check this error message

ORA-02270: no matching unique or primary key for this
column-list

Is This Answer Correct ?    4 Yes 7 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Give syntax for SQL and ORACLE joins.

849


Explain an index segment?

831


How to save query output to a local file?

777


Which dictionary tables and/or views would you look at to diagnose a locking issue?

1673


How to set up autotrace for a user account?

785


what is the scenario where you take the database to NoArchivelog mode?

2053


Point out the difference between user tables and data dictionary?

749


How to start an oracle instance?

772


What are data pump export and import modes?

810


What is the difference between primary key and unique key and foreign key in oracle?

755


What is system tablespace?

836


How to create a stored procedure in oracle?

793


what happened to the global index when I truncate the data in one of the partition?

1710


IS it possible to built the oracle database without setting the kernal parameters?

1980


What is the data type of dual table?

695