FIELDNAME function

The FIELDNAME field function returns the name of a given field.

Syntax

FIELDNAME returns the name of the field identified by source_field_reference as a character value. If the parameter identifies a nonexistent field, NULL is returned.

For example:
FIELDNAME(InputRoot.XML)
returns XML.
FIELDNAME(InputBody)
returns the name of the last child of InputRoot, which could be XML.
FIELDNAME(InputRoot.*[<])
returns the name of the last child of InputRoot, which could be XML.

Related concepts
ESQL

Related tasks
Developing ESQL

Related reference
Syntax preference
ESQL field functions