can we delete the trigger in a view? if yes why if not why?
Answer Posted / pradeep
As per my knowledge we can drop trigger crated on view see
below exp
CREATE OR REPLACE FORCE VIEW "SCOTT"."TEST_VIEW"
("EMPNO", "ENAME", "JOB", "MGR", "HIREDATE", "SAL", "COMM",
"DEPTNO") AS
select "EMPNO", "ENAME", "JOB", "MGR", "HIREDATE", "SAL", "
COMM", "DEPTNO" from emp;
SQL> create or replace
2 TRIGGER SCOTT.VIEW_TIG
3 INSTEAD OF INSERT OR DELETE OR UPDATE ON TEST_VIEW
4 BEGIN
5 NULL;
6 END;
7 /
Trigger created.
SQL> drop trigger VIEW_TIG ;
Trigger dropped.
| Is This Answer Correct ? | 11 Yes | 0 No |
Post New Answer View All Answers
Is ms sql is free?
Can we call a function containing dml statements in a select query?
Which command is used to delete a package?
Does truncate need commit?
how is myisam table stored? : Sql dba
Why we use pl sql?
How to use boolean type in select statement?
How do you delete a table?
Why do we use function in pl sql?
What is the use of %rowtype?
What does cursor do in sql?
List different type of expressions with the example.
What is nvarchar max in sql?
how can we optimize or increase the speed of a mysql select query? : Sql dba
Explain the commit statement.