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
What is the order of defining local variables and sub procedures/functions?
What is a proxy class?
How to list all tables in your schema?
How to run queries on external tables?
What is connection pooling in oracle?
ABOUT IDENTITY?
when we are importing items in inventory, showing errors, Oracle support suggested us for running scripts & also suggested if we run scripts, iprocurement applicaation if is there it will show shared and if we go in future for iprocurement, it wont work. So kinldy suggest any functional solution.
Can a formula column referred to columns in higher group ?
How to create a new table in oracle?
How to update values on multiple rows in oracle?
Can u please explain me the Discussion on Except ,using cast like type cast. Question in the context of difference between two tables
What is save point in oracle database?
Explain oracle data types with examples?
Explain index?
What is oracle data type?