cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Referencing trigger event in trigger definition

former_member283953
Discoverer
0 Likes
233

Hello,

When I define a trigger on multiple events (INSERT OR UPDATE for instance), is it possible to reference the type of events inside statements between BEGIN and END?

Thanks!

Cheers,

Wei

Accepted Solutions (0)

Answers (1)

Answers (1)

SergioG_TX
SAP Champion
SAP Champion
0 Likes
former_member283953
Discoverer
0 Likes

Hi Sergio,

Thanks for reply.

I know it is possible to reference NEW and OLD row (or table). But I don't see in the linked document how to reference which type of events triggers the action (INSERT or UPDATE or DELETE). Maybe I overlook something. Can you tell me the exactly location in the document? Would be great if you could give me some example code.

Thanks!

Cheers,

Wei