SSC-FDM-TS0005
TRY_CONVERT/TRY_CAST could not be converted to TRY_CAST
Description
This FMD is added when a TRY_CONVERT or TRY_CAST cannot be converted to a TRY_CAST in Snowflake.
Snowflake's TRY_CAST function has a limitation as it only allows the conversion of string expressions. However, Transact's TRY_CONVERT
and TRY_CAST
functions allow any data type expression.
Currently, the transformation from TRY_CONVERT
or TRY_CAST
to Snowflake's TRY_CAST
is only performed for string expressions or expressions that the tool can identify as strings in its context.
Code Example
Input Code:
IN -> SqlServer_01.sql
Output Code:
OUT -> SqlServer_01.sql
Recommendations
No additional user actions are required.
If you need more support, you can email us at snowconvert-support@snowflake.com
Last updated