MSCEWI1025

Binding time variables might require a change in query.

Severity

Low

Description

The action of binding time variables might require changes in the query that contains them.

Example Code

Input Code:

CREATE PROCEDURE P_1025()
BEGIN
  ...  
  DECLARE LN_EMP_KEY_NO_PARAM NUMERIC DEFAULT -1;
  DECLARE FLOATVARNAME FLOAT DEFAULT 12.1;
  DECLARE hErrorMsg CHARACTER(30) DEFAULT 'NO ERROR';
  DECLARE CurrTs TIME DEFAULT CURRENT_TIME;
  DECLARE CurrTs2 TIME DEFAULT CURRENT_TIMESTAMP;
  ...
END;

Output Code:

Recommendations

  • No additional user actions are required.

  • If you need more support, you can email us at [email protected]

Last updated