Can we create more than one constraint to column ?

Answers were Sorted based on User's Feedback



Can we create more than one constraint to column ?..

Answer / deva

yes we can

Is This Answer Correct ?    2 Yes 0 No

Can we create more than one constraint to column ?..

Answer / vijay

u can create more than one constraint on on column

Vijay Kushwaha

Is This Answer Correct ?    2 Yes 0 No

Can we create more than one constraint to column ?..

Answer / 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

Can we create more than one constraint to column ?..

Answer / madhava

s we can create

Is This Answer Correct ?    1 Yes 0 No

Can we create more than one constraint to column ?..

Answer / tripti gour

yes, we can
ex.

create table t1
(empno number(4) not null,
ename varchar2(30),
constraint u_k_t1 unique key (empno));

Is This Answer Correct ?    0 Yes 0 No

Can we create more than one constraint to column ?..

Answer / mosab

yes we can create more than constraints to only columns

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Oracle General Interview Questions

Find all employees in Dept “Marketing”.

2 Answers  


What is Trace File ?

4 Answers   Thermotech,


What are the ansi data types supported in oracle?

0 Answers  


select to_char('10','10') from dual This gives me an error oRA-1481 INVALID NUMBER FORMAT MODEL why? pls help

6 Answers  


i want to know about mr.b.kotravel......who has answered for second maxmium salary from employee table

3 Answers  


Where is the export dump file located?

0 Answers  


what is the uses of cusor

3 Answers   Perot Systems,


What is oracle open database communication (odbc)?

0 Answers  


How to insert a new row into a table in oracle?

0 Answers  


how to see the data (in unix) using dataset in datastage?

1 Answers   iGate,


Can an Integrity Constraint be enforced on a table if some existing table data does not satisfy the constraint ?

2 Answers  


How to create an oracle testing table?

0 Answers  


Categories
  • Oracle General Interview Questions Oracle General (1808)
  • Oracle DBA (Database Administration) Interview Questions Oracle DBA (Database Administration) (261)
  • Oracle Call Interface (OCI) Interview Questions Oracle Call Interface (OCI) (10)
  • Oracle Architecture Interview Questions Oracle Architecture (90)
  • Oracle Security Interview Questions Oracle Security (38)
  • Oracle Forms Reports Interview Questions Oracle Forms Reports (510)
  • Oracle Data Integrator (ODI) Interview Questions Oracle Data Integrator (ODI) (120)
  • Oracle ETL Interview Questions Oracle ETL (15)
  • Oracle RAC Interview Questions Oracle RAC (93)
  • Oracle D2K Interview Questions Oracle D2K (72)
  • Oracle AllOther Interview Questions Oracle AllOther (241)