MySQL Forums
Forum List  »  Triggers

calling SP from trigger..how to access the NEW and OLD values
Posted by: Harisankar S
Date: December 03, 2005 04:51AM

Hi,
Can I dynamically referrence a column , inside a trigger.??

I have the column name,which is to be referenced, in a variable.


ie

SET str = 'NEW.name'; //
call spTest(str); // i know this will not work

My intention is to make the value of the column, which is specified in a variable, is available inside the procedure.


Hari

Options: ReplyQuote


Subject
Views
Written By
Posted
calling SP from trigger..how to access the NEW and OLD values
1924
December 03, 2005 04:51AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.