SSC-EWI-TS0044
FOR XML clause is not supported in Snowflake.
Severity
Critical
Description
This EWI is added for the FOR XML clause which is not supported in Snowflake SQL
Code Example
Input Code:
SELECT TOP 1 LastName
FROM AdventureWorks2019.Person.Person
FOR XML AUTO;Output Code:
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:
SQL Server
Snowflake
If you need more support, you can email us at [email protected]
Last updated
