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 sql analyzer?

0 Answers  


How can we overcome recursive triggers in SQL?

1 Answers   iFlex,


What are the two parts of a procedure ?

6 Answers   Hi Caliber IT,


Can we create foreign key without primary key?

0 Answers  


what are Dynamic SQL statements?

9 Answers  






How to fetch common records from two tables?

1 Answers  


cursor types? explain with example programs?

1 Answers   HP,


How you can copy a file to file content and file to pl/sql table in advance pl/sql?

0 Answers  


Why is theta join required?

0 Answers  


What are the different sql commands?

0 Answers  


Can we create table in function?

0 Answers  


how many no of table can be join in a sql query.

4 Answers  


Categories