Difference between primary key and unique key ?
Answer Posted / umapathy.r
The column holding the primary key constraint cannot accept
null values.whereas colum holding the unique constraint can
accept null values assume that t3 is a table with two
columns t1 having primary key constraint and t2 having
unique constraint if u try to insert null into t2 it will
accept that values whereas column t1 will not accept null
| Is This Answer Correct ? | 1164 Yes | 121 No |
Post New Answer View All Answers
What is ordinary table in oracle?
If a parameter is used in a query without being previously defined, what diff. exist betw. report 2.0 and 2.5 when the query is applied ?
Is oracle a language?
while i take backup using ibm tsm the following errors occurred: rman-03009 ora-19513 ora-27206 ora-19502 ora-27030 ora-ora19511
How to establish administrator authentication to the server?
How to add a new column to an existing table in oracle?
What are joins, explain all types of joins?
If youre unsure in which script a sys or system-owned object is created, but you know its in a script from a specific directory, what UNIX command from that directory structure can you run to find your answer?
what is Single Byte Overhead...?
How would you edit your CRONTAB to schedule the running of /test/test.sh to run every other day at 2PM?
Write a trigger example in oracle?
What are the differences between blob and clob in oracle?
What is primefaces used for?
What is the difference between PFILE and SPFILE in Oracle?
What is truncate oracle?