Getting an SQL statement inside a trigger.

Started by Miguel Omar Carvajalover 24 years ago1 messagesgeneral
Jump to latest
#1Miguel Omar Carvajal
omar@carvajal.com

Hi there,
I was wondering how I can get the SQL statement that made a trigger fire.
For example: insert into customers values(1, 'joe') fires get_customer() and
that function has a variable with the value "insert into customers values(1,
'joe') ". How can I do this?

Thanks in advance,
Omar