what is the different between unique+not null & primary key,
Answer Posted / giri
unique:it does not allow duplicate values but it allow null values.
not null:It does not allow null values but allow duplicate values.
primary:It does not allow both duplicate and null values.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Is sql the best database?
Is it mandatory for the primary key to be given a value when a new record is inserted?
What is a variable in sql?
What are different clauses used in sql?
How do I run a sql query in pgadmin 4?
What is pivot query?
What is a heap in sql?
What is the difference between join and natural join?
What is string join?
Can a key be both primary and foreign?
How do I sort a table in sql?
what is collation? : Sql dba
Why do we use joins in sql?
Can variables be used in sql statements?
what is a scheduled jobs or what is a scheduled tasks? : Sql dba