Subject | Re: [ib-support] error in sp |
---|---|
Author | Martijn Tonies |
Post date | 2002-10-11T08:17:28Z |
Hi,
transaction
control is done by the calling application.
With regards,
Martijn Tonies
InterBase Workbench - the developer tool for InterBase
http://www.upscene.com
Firebird Workbench - the developer tool for Firebird
http://www.upscene.com
Upscene Productions
http://www.upscene.com
"This is an object-oriented system.
If we change anything, the users object."
> i've created a store procedure.must
> the idea is to raise an error code/message to the user if the procedure
> failed and to raise a message if the procedure succeed.
> i've read the language reference manual, and it said that if used, WHEN
> be the last statement in the begin..end block.You cannot control transaction from within a stored procedure. All
>
> i guess i have to assign one variable. but how do this variable know that
> this procedure works well or not.
> fyi, i need to rollback everything if there was an error, if not, then
> commit.
transaction
control is done by the calling application.
With regards,
Martijn Tonies
InterBase Workbench - the developer tool for InterBase
http://www.upscene.com
Firebird Workbench - the developer tool for Firebird
http://www.upscene.com
Upscene Productions
http://www.upscene.com
"This is an object-oriented system.
If we change anything, the users object."