Can we create more than one constraint to column ?
Answer Posted / nageswararao.kamineni
we can create morethan one constrint on column
for example
create table emp11
(empno number(2) primary key,
ename varchar2(20) unique,not null
sal number(7,2));
here a table can containe only one primary key,if we wnat
declare more then one primary key,we can create like this
using unique and not null constarint.
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
How do I spool in oracle?
How to commit the current transaction in oracle?
How to define an oracle cursor variable?
What is a named program unit?
What is a nested table and how is it different from a normal table?
How to do paging with oracle?
What is meant by joins? List out the types of joins.
How to assign data of the deleted row to variables?
What is the difference between 10g OEM and 11g OEM?
Give the different types of rollback segments.
How to use group functions in the select clause using oracle?
Is oracle a language?
What is instant client oracle?
Why do we need integrity constraints in a database?
What are the parameters that we can pass through a stored procedure?