Is primary key = unique key,not null?
If yes,please explain
IF No,please explain
Answer Posted / kirti
Yes.When a column is assigned primary key it means it
contains unique value(i.e. no duplicate value is allowed) &
it can't accept null values.
Whereas unique key means no duplicare value is allowed, but
null value is allowed. And not null means no null value is
accepted but duplicate value can be passed.
So when we assign primary key to a column, the column
becomes both unique & not null.
Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
How do I start tns listener?
How to create a temporary table in oracle?
How to open and close an explicit cursor in oracle?
hey friends, What are the steps I can do to transfer the database from Microsoft Access 2003 to oracle10g (or SQL) Best regards
What is concurrency in oracle?
How to change user password in oracle?
How to loop through a cursor variable?
How do I use os authentication with weblogic jdriver for oracle and connection pools?
What are the differences between lov and list item?
How to enter a new row into a table interactively?
What is object data modeling?
What is the usage of synonyms?
What is enter substitution variable in oracle?
What is max rowid in oracle?
Why use resource manager in Oracle?