TRY_TO_UUID
functionsupportedCore SQL functionsA special version of TO_UUID that performs the same operation — that is, converts an input expression to a UUID value — but with error handling support. If the conversion can’t be performed, it returns a NULL value instead of raising an error. For more information, see the following topics: - Error-handling conversion functions - TO_UUID
Syntax
TRY_TO_UUID( <string_expr> )
Parameters
| Name | Required | Description |
|---|---|---|
string_expr | required | A string expression in UUID format. |
Returns
Returns a value of type UUID or NULL when TO_UUID would return an error.