var sidebar_align = 'right';
var content_container_margin = parseInt('290px');
var sidebar_width = parseInt('270px');
I have defined an exit handler in a stored procedure and now I want to store the SQL-statement in error in a table. How can I retrieve the SQL-statement which ended in error
Retrieve SQL-statement which ended in error
The easiest way I can think of is before you execute a SQL statement, store it in a variable. Then in the error handler, the contents of that variable will be the offending statement to do with what you want.
Log in with your username and password
Forgot your password?
Subscribe to dBforums Brief to receive special offers from dBforums partners and sponsors