MSCEWI4042

OPENXML clause is not supported in Snowflake.

Severity

Medium

Description

This EWI is added fort the OPENXML clause which is not supported in Snowflake SQL

Code Example

Input Code:

SELECT    *
FROM OPENXML(@idoc, '/ROOT/Customers')

Output Code:

SELECT *
FROM
-- ** MSC-ERROR - MSCEWI4042 - OPENXML clause is not supported in SnowFlake**
--           OPENXML(@idoc, '/ROOT/Customers')
;

Recommendations

  • Consider using UDFs to emulate the behavior of the source code. The following code provides suggestions of UDFs that can be used to achieve recreating the original behavior:

Last updated