How would you reference column values before and after you have inserted and deleted triggers?
Answer / Shish Ram
In an INSERT trigger, you can reference the old row (before insert) using the pseudo-record variable :OLD. In a DELETE trigger, you can reference the old row (before delete) using :OLD.nFor newly inserted rows in an INSERT trigger, use :NEW to access the new values.
| Is This Answer Correct ? | 0 Yes | 0 No |
How to find only %th Highest Sal
What are the different ways to optimize a sql query?
What is a recursive stored procedure?
what is row? : Sql dba
How do I view tables in sql developer?
what is difference between procedure and function, procedure and trigger?
How to count the no of records of a table without using COUNT function?
What is the difference between join and union.
27 Answers 3i Infotech, ABC, Oracle, Polaris, TCS, XT Global,
how to do backup entire database? : Transact sql
What is rowid in sql?
oracle is compiler or interpretter,can any one tell me the answer?
How can you save or place your msg in a table?
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)