Procedure records failure message in the DBTD_TBL_LOG log table and raises exception up to the parent process.

 

Arguments

  • v_Message - failure message, Variable Character(4000). SQL Server uses NVARCHAR(MAX) datatype.

 

Examples

SQL Server

      EXEC DBTD_FAILURE 'Unit Test Failed for Foo reason';

Oracle

      DBTD_FAILURE ('Unit Test Failed for Foo reason');

Netezza

      CALL DBTD_FAILURE ('Unit Test Failed for Foo reason');

 

See Also