- Categories:
Conversion functions , Semi-structured and structured data functions (Array/Object)
TO_ OBJECT¶
Converts the input value to an OBJECT:
Syntax¶
Arguments¶
exprAn expression that evaluates to a VARIANT that contains an OBJECT.
Returns¶
The data type of the returned value is OBJECT.
Examples¶
This demonstrates simple usage of the TO_OBJECT function:
Create a table and insert a value of type VARIANT. (The function PARSE_JSON returns a VARIANT.)
Call the TO_OBJECT function: