Subject RE: [ib-support] Trigger name inside trigger code
Author Martijn Tonies
Hi,


>We use exeptions in IB/FB. We try find effective way(reusable piece of
code)
>to tell application more information about exeption.
>We know alternative way -> insert special code into each trigger(we have
>more then 500 triggers).

But you can't change the exception text while raising an exception, right?
At least, that's a problem I'm having :)

Or aren't you raising EXCEPTIONs from triggers/procedures?

Martijn Tonies
InterBase Workbench - the developer tool for InterBase and Firebird
http://www.interbaseworkbench.com


> Hi,
>
> As far as I know, no.
>
> What are you trying to do? Maybe we can help with the problem?
>
> Martijn Tonies
> InterBase Workbench - the developer tool for InterBase and Firebird
> http://www.interbaseworkbench.com
>
>
> Hi,
>
> Can I get trigger name or table name from trigger code. Something like
> "CURRENT_TRIGGER_NAME".
> Please help me.
>
> Mira Slavik


[Non-text portions of this message have been removed]