MSCEWI3113

The error logging clause in DML statements is not supported by Snowflake

This is a deprecated version of the SnowConvert documentation, please visit the official site HERE.

Severity

Medium

Description

This error is used to advise that the error_logging clause in Oracle's DML statements is not supported by Snowflake's DML statements.

Example Code

Input Code

MERGE INTO people_target pt 
USING people_source ps ON (pt.person_id = ps.person_id) 
WHEN MATCHED THEN UPDATE 
  SET pt.first_name = ps.first_name, 
      pt.last_name = ps.last_name, 
      pt.title = ps.title
LOG ERRORS;

Output Code

/*** MSC-ERROR - MSCEWI3113 - ERROR LOGGING CLAUSE IN DML STATEMENTS IS NOT SUPPORTED BY SNOWFLAKE ***/
MERGE INTO PUBLIC.people_target pt USING PUBLIC.people_source ps ON (pt.person_id = ps.person_id)
WHEN MATCHED THEN UPDATE
SET pt.first_name = ps.first_name,
    pt.last_name = ps.last_name,
    pt.title = ps.title;

Recommendations

Last updated