Can we create a trigger on view?
Answer / Yogesh Kumar Sagar
No, triggers cannot be created directly on views. A trigger is associated with a specific table or a specific event on the table, and since views are not physical tables, triggers cannot be associated with them.
| Is This Answer Correct ? | 0 Yes | 0 No |
write a pl/sql function if enter a value=0 then output value=1 and vise verse with out using if and case statements.
What is data type in sql?
Define a temp table?
How to create your own reports in sql developer?
Compare SQL and PL/SQL.
What is the relation b/w view and trigger
4. Select sum(A.salary) +sum(B.salary) as TOT_SAL from ( select LEVEL emp_id,level*100 salary,case when mod (level,2)=0then 2 else null end dept_id from dual connect by level<6 )A right outer join (select level emp_id ,level*200 salary ,case when mod (level,3)=0 then 2 else null end dept_id from dual connect by level<6)B On A.dept_id=B.dept_id And A.emp_id=B.emp-id;
How many times can we commit in a loop?
Can a table have two primary keys?
What is the difference between cross join and natural join?
Explain how procedures and functions are called in a PL/SQL block ?
What is an implicit commit?
Oracle (3253)
SQL Server (4518)
MS Access (429)
MySQL (1402)
Postgre (483)
Sybase (267)
DB Architecture (141)
DB Administration (291)
DB Development (113)
SQL PLSQL (3330)
MongoDB (502)
IBM Informix (50)
Neo4j (82)
InfluxDB (0)
Apache CouchDB (44)
Firebird (5)
Database Management (1411)
Databases AllOther (288)