adspace
How would you reference column values before and after you have inserted and deleted triggers?
Answer Posted / 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 |
Post New Answer View All Answers
how to use regular expression in pattern match conditions? : Sql dba
What is the current version of sql?
what is dbms? : Sql dba
what are all the common sql function? : Sql dba
what is sql server agent? : Sql dba
Can we rollback truncate?
Can delete statement be rollbacked?
what are aggregate and scalar functions? : Sql dba
what are the advantages of sql ? : Sql dba
What is the best sql course?
Does group by remove duplicates?
Hi am new to PLSQL & facing problems in writing code like in SP, Functions, so any one having some SP coding with in depth explanation please share with me my Email ID suvarnaatsuvarna@rediffmail.com Or taking tanning on this please do contact me
what is schema? : Sql dba
how many tables will create when we create table, what are they? : Sql dba
Do we need to rebuild index after truncate?