Prints the message base on the provided verbose settings. Used by test runners to control verbose output.

Arguments

  • v_Verbose - set value to 0 to avoid printing any messages, set value to 1 or any other number that is greater than 0 to print the message. SMALLINT
  • V_Message - the message. NVARCHAR(MAX)

 

Examples

SQL Server

      --following line will not print any messages
      EXEC DBTD_PRINT_MESSAGE 0, 'My Message 1';


      --following line will print the second message
      EXEC DBTD_PRINT_MESSAGE 1, 'My Message 2';

 

See Also