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
What is difference between inner join and cross join?
Where is pl sql used?
What does where 1/2 mean in sql?
How can you fetch common records from two tables?
How is data stored in sql?
What is t-sql? : Transact sql
What is the difference between microsoft access and sql server?
What is the difference between having clause and where clause?
What is cursor and its types?
What are sql ddl commands?
What is a string data type in sql?
What is the difference between cluster and non-cluster index?
Is sql a case sensitive language?
what is an extent ? : Sql dba
List out the acid properties and explain?