InterSystems IRIS TSQL Code 6804 FOR XML EXPLICIT requires the second col

In this post, you’ll learn about the SQL error code 6804 in InterSystems IRIS database the reason why you are receiving the TSQL message when using the InterSystems IRIS data platform

Error Code :

6804

Reason for the Error code 6804 in InterSystems IRIS DBMS

FOR XML EXPLICIT requires the second column to hold NULL or nonnegative integers that represent XML parent tag IDs.