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

Database crashes. Corruption is found scattered among the file system neither of your doing nor of Oracles. What database recovery options are available? Database is in archive log mode.

0 Answers  


Explain compound trigger in oracle?

0 Answers  


Difference between join and a subquery?

8 Answers   Base Automation, NMDC,


Describe Referential Integrity ?

1 Answers  


How many types of table in Oracle?

0 Answers   MCN Solutions,






What is meant by joins? List out the types of joins.

0 Answers  


select statement does not retrieve any records. what exception is raised?

2 Answers  


What is the difference between substr and instr?

0 Answers  


What are the components of logical database structure in oracle database?

0 Answers  


what is the difference between data migration and production migration.

0 Answers  


How do we create privileges in oracle?

0 Answers  


where we have to use ON clause and where we have to use USING clause in JOINS

2 Answers  


Categories
  • Oracle General Interview Questions Oracle General (1789)
  • 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)