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 to execute a stored program unit?
Why cursor variables are easier to use than cursors?
How much memory your 10g xe server is using?
Explain the use of record length option in exp command.
how to make an oracle object
Why oracle is used?
IS it possible to built the oracle database without setting the kernal parameters?
What are the advantages of oracle?
What happens in oracle commit?
What is a table index in oracle?
while i take backup using ibm tsm the following errors occurred: rman-03009 ora-19513 ora-27206 ora-19502 ora-27030 ora-ora19511
Using the relations and the rules set out in the notes under each relation, write table create statements for the relations EMPLOYEE, FIRE and DESPATCH. You should aim to provide each constraint with a formal name, for example table_column_pk.
How to use fetch statement in a loop?
How to start a new transaction in oracle?
What is the exact use of Collections?