Reputation: 7289
I have some procedures that calls another procedure with different parameters. Is there a way in that procedure to know who called it? Some kind of stacktrace...
Upvotes: 1
Views: 70
Reputation: 4150
I would recommend finding a cleaner way to solve what are you trying to solve, like passing extra parameter to identify what you need to.
Anyway you can use MON$CALL_STACK
to get, probably, what you're looking for.
Upvotes: 1