FOR_XML_UDF (OBJECT, 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.
Returns
Returns a varchar in the format of XML.
Usage example
Input:
Output:
PreviousTRANSFORM_SP_EXECUTE_SQL_STRING_UDF(STRING, STRING, ARRAY, ARRAY)NextFOR_XML_UDF (OBJECT, VARCHAR, VARCHAR)
Last updated