Toad's SQL editor is signaling incorrect syntax near 'resignal' when resignal is used in a stored procedure. Syntax is actually correct and procedure executes successfully and without errors. For example: declare exit handler for sqlexception begin rollback; call p_log_event(); commit; resignal; end; ... When I have any other error in further code, Messages tab in Results window is always pointing to the line where resignal is called, so i get mislead.
↧