TRANSLATE_CHK_UDF

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

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