on ‎2016 Jan 11 2:28 PM
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
Request clarification before answering.
yes you can .. here is the documentation.. hope it helps
https://help.sap.com/saphelp_hanaplatform/helpdata/en/20/d5a65575191014946db96aaedbef5b/content.htm
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
| User | Count |
|---|---|
| 8 | |
| 5 | |
| 5 | |
| 4 | |
| 4 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.