Difference between primary key and unique key ?

Answer Posted / sreesakthi

primary key will not allow null values whereas unique key
will allow null values.we have only one primary key per
table,but we can have more than one unique key per table

Is This Answer Correct ?    25 Yes 8 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to call a stored function with parameters?

564


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

1849


How to use "while" statements in oracle?

741


How do we create privileges in oracle?

588


Can a parameter be passed to a cursor?

600






How do I escape a reserved word in oracle?

632


various types of hints and their usage

2131


Can we convert a date to char in oracle and if so, what would be the syntax?

550


How to start instance with a minimal initialization parameter file?

540


What are the uses of Database Trigger ?

1105


types of indexes and the rationale behind choosing a particular index for a situation.

1986


What is a view and how is it different from a table?

574


What is the order of defining local variables and sub procedures/functions?

602


Explain parameter file in oracle.

580


What is a connect identifier?

543