In this blog post, you’ll learn more about the Sybase Error Too few columns and the reason for receiving this error
Sybase SQL Error Message
Too few columns
Reason for this Error
FOR XML EXPLICIT and FOR JSON EXPLICIT require at least three columns: the tag column, the parent column, and one or more data columns.