MSCEWI3115

DBMS_OUTPUT.PUTLINE check UDF implementation

Severity

Low

Description

This message is shown when SnowConvert migrates a DBMS_OUTPUT.PUT_LINE Oracle built-in package function. This warning tells you to check the added UDF.

This EWI exists to tell the user to review the DBMS_OUTPUT.PUT_LINE implementation where the following information will be found:

Example code

Input Code:

CREATE OR REPLACE PROCEDURE builtin_package_call
IS
BEGIN
	DBMS_OUTPUT.PUT_LINE(1);
	DBMS_OUTPUT.PUT_LINE("Test");
END;

Output Code:

CREATE OR REPLACE PROCEDURE PUBLIC.builtin_package_call ()
RETURNS VARCHAR
LANGUAGE SQL
EXECUTE AS CALLER
AS
$$
   BEGIN
      /*** MSC-WARNING - MSCEWI1020 - CUSTOM UDF 'DBMS_OUTPUT.PUT_LINE' INSERTED. ***/
      /*** MSC-WARNING - MSCEWI3115 - CHECK UDF IMPLEMENTATION FOR DBMS_OUTPUT.PUT_LINE ***/
      CALL DBMS_OUTPUT.PUT_LINE(1);
      /*** MSC-WARNING - MSCEWI1020 - CUSTOM UDF 'DBMS_OUTPUT.PUT_LINE' INSERTED. ***/
      /*** MSC-WARNING - MSCEWI3115 - CHECK UDF IMPLEMENTATION FOR DBMS_OUTPUT.PUT_LINE ***/
      CALL DBMS_OUTPUT.PUT_LINE("Test");
   END;
$$;

Recommendations

  • No additional user actions are required.

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

Last updated