Difference between primary key and unique key ?

Answer Posted / praveen

primary key not allows null values, but unique key allows null values. only one primary is possible in one table, but multiple unique keys are possible in a table. Each unique key accepts only one null field. Both are used to prevent repeated entry of values.

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain joins in oracle?

737


How to define a sub function?

853


I am using an Oracle 8i Database my data contains Clob data. I am using toad version 7.6 i am able to get the data in toad but unable to extract the data in excel.when trying to extract the data into the excel the toad error says out of memory. Can any body please help me to extract the data through the same toad version. Thanks in advance

2048


Explain compound trigger in oracle?

739


What are the oracle built-in data types?

740






Can you tell me how to add new column in existing views?how?How is possible?

1116


hey friends, What are the steps I can do to transfer the database from Microsoft Access 2003 to oracle10g (or SQL) Best regards

1770


How do I spool to a csv formatted file using sqlplus?

700


How to define an explicit cursor in oracle?

773


How to do clean up if create database failed?

753


What is SQL Tuning Advisor in Oracle?

842


How to open a cursor variable?

769


What is ordinary table in oracle?

812


Typically, where is the conventional directory structure chosen for Oracle binaries to reside?

1785


What is oracle data type?

720