![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hi, in every function/procedure i write i add this to catch errors: * * EXCEPTION * * * * WHEN OTHERS THEN * * * * * * * * SET @err = cast(SQLSTATE as TEXT); * * * * * * * * call log_err(@err,'function name'); look for the ERRORMSG() function |
#3
| |||
| |||
|
|
On 19 Mai, 10:26, nemo <adam.samborow... (AT) gmail (DOT) com> wrote:> Hi, in every function/procedure i write i add this to catch errors: * * EXCEPTION * * * * WHEN OTHERS THEN * * * * * * * * SET @err = cast(SQLSTATE as TEXT); * * * * * * * * call log_err(@err,'function name'); * look for the *ERRORMSG() function Regards Thomas |

![]() |
| Thread Tools | |
| Display Modes | |
| |