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

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

Why we use pl sql?

708


Can triggers stop a dml statement from executing on a table?

805


Is it possible to link two groups inside a cross products after the cross products group has been created?

769


How do you know if a relationship is 2nf?

689


Are null values same as that of zero or a blank space?

731






What is pl sql variable?

701


table structure: ---------------- col1 col2 ----- ----- 01-mar-2012 11:12:46 01-mar-2012 11:12:10 01-mar-2012 11:12:46 01-mar-2012 11:11:23 Write a query to display the result as shown below: col1 col2 ----- ----- 01-mar-2012 11:12:46 01-mar-2012 11:12:10

3717


What does count (*) do in sql?

737


How do I find duplicates in sql?

689


Do we need to create index on primary key?

642


How does postgresql compare to oracle/db2/ms sql server/informix?

772


Why do we create views in sql?

778


Can a trigger call a stored procedure?

747


What is on delete restrict?

721


Is delete faster than truncate?

749