Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


What is the difference between column level constraints and
table level constraints?

Answers were Sorted based on User's Feedback



What is the difference between column level constraints and table level constraints?..

Answer / akki

column constraint is only for particular column to provide restriction,

where in table level constraint we define multiple constraint at same time except not null .

not null is only used for column level.

ex: create table customer(cust_id number(2) not null,cust_name varchar2(20)check(cust_name like 'C%');

above example is shows constraints on column level.

Is This Answer Correct ?    1 Yes 1 No

What is the difference between column level constraints and table level constraints?..

Answer / riddhi

Difference between column level constraints and table level constraints
1)Column level constraint is declared at the time of creating a table but table level constraint is created after table is created.
2)Column Level Constraints refers Only One Column whereas table level constraints refers to one or more than one column
3)not null constraint can't be created as table level constraints because it don't have name.
Column level constraint-

Ex : Create table emp
( empno number primary Key);
Table level constraint

Ex: Create table emp
( empno number);
Constraints pk_con primary Key(empno));

Is This Answer Correct ?    0 Yes 1 No

What is the difference between column level constraints and table level constraints?..

Answer / chunnu

is questn ka ans mai pichle 50 saal se dund rha hu....mile
to apne pas hi rakhna.........varna mere sir ko bta
dena .....sir kha gae...pad k ana bhul gae the.....

Is This Answer Correct ?    32 Yes 39 No

What is the difference between column level constraints and table level constraints?..

Answer / hari

Column level and Table level Constraint

In column level we will give primary key after the data type
create table table-name(name varchar2(10) primary key)


In Table Level we will use constraint name..

Is This Answer Correct ?    19 Yes 29 No

Post New Answer

More Oracle General Interview Questions

HOW TO DISPLAY MAXIMUM SALARIES FROM EMP DEPARTMENT VISE ALONG WITH DEPARTMENT NAMES? E.g EMP,DEPT

5 Answers   College School Exams Tests, DELL,


how to unbreak sequence numbers during intereptions

1 Answers   Ion Exchange,


what is the use of system.effective.date variable in oracle?

0 Answers  


What are oracle functions?

0 Answers  


what is the scenario where you take the database to NoArchivelog mode?

0 Answers  


How to open a cursor variable?

0 Answers  


How to find 1st, 2nd, 3rd highest using select select statement not using rownum

3 Answers  


How to export your own schema?

0 Answers  


How do we know whether an index is created on a table ???

2 Answers   TCS,


How can Oracle users be audited?

0 Answers   MCN Solutions,


Why do I get java.lang.abstractmethoderror when trying to load a blob in the db?

0 Answers  


What do database buffers contain?

0 Answers  


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