Takes actual value and expected value, checks that actual value is greater than expected value and report failure if actual value is less or equal to expected value. 

Arguments

  • V_ActualValue - actual value, Variable Character(255) in Oracle and Netezza, DECIMAL(18,8) in SQL Server
  • V_ExpectedValue - expected value, Variable Character(255) in Oracle and Netezza, DECIMAL(18,8) in SQL Server
  • v_UserMessage – message to report when assertion fails, Variable Character(255) in Oracle and Netezza, NVARCHAR(MAX) in SQL Server.

 

Examples

SQL Server

      EXEC DBTD_ASSERT_IS_GREATER 100, 6, ‘Values should be greater than expected’;

Oracle

      DBTD_ASSERT_IS_GREATER (100, 6, ‘Values should be greater than expected’);

Netezza

      CALL DBTD_ASSERT_IS_GREATER (100, 6, ‘Values should be greater than expected’);

 

See Also