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 |
What happens to the data files if a tablespace is dropped?
How to initialize variables with default values?
Please explain me all types of Data models. Also give me the details if each model can have other name.for example:schematic data model is also known as conceptual data model and entity relation data model.
How to name query output columns in oracle?
How to grant create session privilege to a user in oracle?
pls explain connect by prior with example and its real time use
How to Select second Maximum salary in a Table ?
Can you use a commit statement within a database trigger?
How to use fetch statement in a loop?
How to delete an existing row from a table in oracle?
what is the difference between oracle enterprise edition and oracle express edition?
What are the different types of failures that occur in Oracle database?