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
How do I view tables in sql developer?
what is a database transaction? : Sql dba
How do I make sql search faster?
explain the advantages and disadvantages of stored procedure? : Sql dba
What is sql in java?
What is the usage of sql functions?
How you improve the performance of sql*loader? : aql loader
what is clause? : Sql dba
What is clustered and nonclustered index in sql?
Can we insert in view in sql?
What is the difference between view and stored procedure?
How do you bind variables in pl sql?
Write a sql query to convert all character to uppercase after hypen.
How many triggers can be applied on a table?
what is the difference between delete and truncate statement in sql? : Sql dba