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
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 |
Answer / monika
by creating instead of trigger on table,we can update base
table through view
Is This Answer Correct ? | 2 Yes | 1 No |
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 |
What is sqlerrm?
What is sql and its types?
Can we have two clustered index on a table?
what is offset-fetch filter in tsql? : Transact sql
I WANT INFORMATION ABOUT SAS SOFTWARE USING FINANCIAL COMPANIES LIST, PLESE GIVE ME DETAILS ABOUT
how to achieve this problem?i am having table with two colums like empno,gender. in gender column, i am having records male,female like that .my final output will be male female 5 6
Find out the 3rd highest salary?
51 Answers BirlaSoft, DAC, Silvia Infotech, Sutra Infotech,
Why should I use postgresql?
What is pl sql record in oracle?
What is the use of index in sql?
Is oracel sql developer written in java?
how to Update table Sales_summary with max(sales) data from table sales_dataTable 1. sales_data table Table 2. Sales_summary Region sales Region sales N 500 N 0 N 800 W 0 N 600 W 899 W 458 W 900 I want the Sales_summary After Update like this Region Sales N 800 W 900