Subject | Re: [firebird-support] logging exception message text in stored procedures |
---|---|
Author | Ann W. Harrison |
Post date | 2006-02-14T17:09:51Z |
tommyjky wrote:
I'd suggest using an external table (aka flat file) for logging. As
a general thing you want to log errors even if they resulted in the
transaction rolling back. External tables don't roll back.
Regards,
Ann
> I have a store procedure in which I want to to write exeptions to aLook in the table rdb$exceptions - rdb$message may be what you want.
> log table. When I get an error, I want to call a stored procedure and
> send the text of the error message and write it to a table. I don't
> know the field that the error text is stored in. Can someone please
> tell me the name of the field where I can get the error message text.
>
I'd suggest using an external table (aka flat file) for logging. As
a general thing you want to log errors even if they resulted in the
transaction rolling back. External tables don't roll back.
Regards,
Ann