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 are the attributes that are found in a cursor?
Briefly explain what is literal? Give an example where it can be used?
In which language oracle has been developed?
What is oracle latest version?
Can we write insert statement in function in oracle?
What are a query and state the different types of queries and their uses?
What is rowid and rownum in oracle?
while i take backup using ibm tsm the following errors occurred: rman-03009 ora-19513 ora-27206 ora-19502 ora-27030 ora-ora19511
What is oracle in java?
Difference between varchar and varchar2 data types?
What is data type in oracle?
How to delete an existing row from a table in oracle?
What is Virtual Private Database in Oracle?
What do you mean by a database transaction & what all tcl statements are available in oracle?
How to get the Installed Oracle Version Information ?