1. how to use the check option constraints in sql query..?

2.how to add data in a complex query ?

3.is it possible to use commit or rollback or savepoint in
triggers...if not why please explain with examples...?

4.what is the difference between meterialized view and
normal view..how to create materialized view and how to use
it..?

5.what is varray...? what is the advantage of the varray ?
please expalin with a simpel example..i want to load into a
table (student no and name and his marks..) please give
example..

6.what are the bulk bind exceptions...how to use bulk bind
and how to use bulk collect..please explain with example...

7.what is for update of and where current of ...?

8 what is the use of nowait ?

9.please give an example for nocopy in a simple plsql query

10.create an index in a table...tellme how to use the
index in a where clause to do performance tunning...

Answers were Sorted based on User's Feedback



1. how to use the check option constraints in sql query..? 2.how to add data in a complex query ..

Answer / devi

create table td2
(city varchar2(12) constraint td2_ename_ck check(city in
('ctc',''bbsr))

Is This Answer Correct ?    8 Yes 3 No

1. how to use the check option constraints in sql query..? 2.how to add data in a complex query ..

Answer / gaurav gupta

is it possible to use commit or rollback or savepoint in
triggers...if not why please explain with examples...?

yes it's posible to use savepoint or commit in triggers but
trigger should be autonomious transaction trigger
(Independent trigger).

Is This Answer Correct ?    2 Yes 0 No

1. how to use the check option constraints in sql query..? 2.how to add data in a complex query ..

Answer / gaurav gupta

A view has a logical existence but a materialized view has
a physical existence.Moreover a materialized view can be
indexed,analysed and so on....that is all the things that
we can do with a table can also be done with a materialized
view.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More SQL PLSQL Interview Questions

what is the bond code in materialized view?

0 Answers  


What is the difference between python and sql?

0 Answers  


Difference between IN and EXISTS

4 Answers   Nous, Polaris,


What is the full form of sql?

0 Answers  


What is procedure in pl sql?

0 Answers  






Explain isolation levels. : Transact sql

0 Answers  


What are the steps you take to tune(performance tuning) the code in plsql?

4 Answers   Cap Gemini, Infosys, TCS,


Show the cursor attributes of pl/sql.

0 Answers  


How do I create a sql script?

0 Answers  


Hello All, Could any well write a query for the following scenario. Account(table name) No Name Amount 1 ABCD 2000.00 2 DEFG -2000.00 3 GHIJ 3000.50 4 JKLM 4000.00 5 MNOP 6000.00 O/p Should be in this format No Name Credit Debit 1 ABCD 2000.00 0 2 DEFG 0 -2000.00 3 GHIJ 3000.50 4 JKLM 0 -4000.00 5 MNOP 6000.00 o could any one give appropriate query for this Thnks in Advance

5 Answers   Target,


What is difference between my sql and sql?

0 Answers  


What operating systems are supported by oracle sql developer?

0 Answers  


Categories