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...


how to insert the data through views? The view is depending
upon more than two tables?
how to update materalized views?

Answers were Sorted based on User's Feedback



how to insert the data through views? The view is depending upon more than two tables? how to upd..

Answer / rajesh venati

If we create a view on more than one table, or using
distinct keyword or use any group functions it is called
complex view.
If we want perform DML operations on complex views the we
will go for Instead of Triggers.Through the instead of
triggers we can perform DML operations on complex views.

Is This Answer Correct ?    4 Yes 0 No

how to insert the data through views? The view is depending upon more than two tables? how to upd..

Answer / monika

by creating instead of trigger on table,we can update base
table through view

Is This Answer Correct ?    2 Yes 1 No

how to insert the data through views? The view is depending upon more than two tables? how to upd..

Answer / manikanta.srinu

DML Operations also is done by the view,if view have only
one table.For multiple tables in a view,DML operation was
not support.
how to update materalized views?
If ur master table is updated, your materialized view will
automatically get refreshed if ur materialized view is
create with ON COMMIT option. Else, you
have to REFRESH evertime once ur master is
inserted/deleted/updated.

CREATE MATERIALIZED VIEW departments FOR UPDATE AS
SELECT * FROM departmentsworld;

Is This Answer Correct ?    1 Yes 4 No

Post New Answer

More SQL PLSQL Interview Questions

Is it possible to remove child records without removing master table records...the two having pk,fk relationship?

0 Answers  


what is cursor. write example of it. What are the attributes of cursor.

0 Answers  


Do view contain data?

6 Answers   Ramco,


What is a database trigger?

0 Answers  


What are literals in sql server?

0 Answers  


What will be the output for the below Query Select 'High' from dual where null = null;

12 Answers   Infosys, Satyam,


Write a sql to print only character form the below string. @So&*CIE%$TE@GEN!@RAL

1 Answers   Societe Generale,


How to call a javascript function from pl sql?

0 Answers  


Explain the purpose of %type and %rowtype data types?

0 Answers  


What is dense_rank in sql?

0 Answers  


Can we group by two columns in sql?

0 Answers  


How do you write a complex sql query?

0 Answers  


Categories