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

How do sql triggers work?

560


What is memory optimized table?

583


How many scalar data types are supported in pl/sql?

534


If the application is running very slow? At what points you need to go about the database in order to improve the performance?

573


What are the constraints available in sql?

592






What is sql performance tuning?

505


Why stored procedure is faster than query?

523


What is spool?

605


What are inner outer left and right joins in sql?

527


what is an alias command? : Sql dba

556


What is trigger types of trigger?

562


Define a temp table?

566


What are pl/sql packages?

577


what is an extent ? : Sql dba

593


What is a heap in sql?

533