FOR_XML_UDF (OBJECT, VARCHAR, VARCHAR)
Definition
This user-defined function (UDF) converts an object to XML.
Parameters
OBJ
OBJECT
Object to be converted.
ELEMENT_NAME
VARCHAR
Element name to be given the object.
ROOT_NAME
VARCHAR
The root name for XML.
Returns
Returns a varchar in the format of XML.
Usage example
Input:
Output:
PreviousFOR_XML_UDF (OBJECT, VARCHAR)NextUPDATE_ERROR_VARS_UDF (STRING, STRING, STRING, STRING, STRING, STRING)
Last updated