Dynamically retrieve :NEW and :OLD values of a column in a trigger
455605Nov 7 2006 — edited Nov 9 2006I am just wondering if this possible.
EXECUTE IMMEDIATE 'select :new.<columnname> from dual' INTO tempstr
where:
.<columnname> is a column of a table
tempstr is a local variable
I tried but it didn't work. You guys might have other idea to retrieve old and new values dynamically.
Thanks,
Baldwin