Can we create more than one constraint to column ?
Answers were Sorted based on User's Feedback
Answer / vijay
u can create more than one constraint on on column
Vijay Kushwaha
| Is This Answer Correct ? | 2 Yes | 0 No |
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 |
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 |
Answer / mosab
yes we can create more than constraints to only columns
| Is This Answer Correct ? | 0 Yes | 0 No |
How to define an anonymous procedure without variables?
What is the parameter mode that can be passed to a procedure?
What is a oracle database?
What is a table index?
What is where clause in oracle?
Briefly explain what is literal? Give an example where it can be used?
What is snapshot is too old? Give and example for better understand.
21. Using a set operator, display the client number of all clients who have ever placed an order and whose whose name does not contain the string Sm.
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.
Will you be able to store pictures in the database?
How to bring a tablespace online?
How to update values in a table in oracle?