Procedure used to report error in a unit test. Saves error into the DBTD_TBL_LOG log table and raises error to the parent process.
Arguments
- v_ErrorID - error id, integer
Examples
SQL Server
EXEC DBTD_ERROR 55000;
Oracle
DBTD_ERROR (20050);
Netezza
CALL DBTD_ERROR (14000);
See Also