TRANSLATE_CHK_UDF

Important Notice: Migration of Documentation Website

Please be advised that our documentation website is currently undergoing a migration to a new platform. To ensure you have access to the most up-to-date information, we kindly request that you visit our new documentation website located at:

Official Snowflake Snowconvert Documentation

For any immediate assistance or if you encounter any issues, please contact our support team at [email protected].

Thank you for your understanding.

Definition

Determines if a translation conversion can be performed without producing errors.

PUBLIC.TRANSLATE_CHK_UDF(COL_NAME STRING, SOURCE_REPERTOIRE_NAME STRING) 

Parameters

COL_NAME STRING

The column to be checked.

SOURCE_REPERTOIRE_NAME STRING

The source repertoire name.

Returns

0: The string can be translated without error. NULL: The string result is null.

Anything else: The position of the first character in the string causes a translation error.

Usage example

Input:

SELECT PUBLIC.TRANSLATE_CHK_UDF('ABC', 'UNICODE_TO_LATIN');

Output:

0

Last updated