In this blog post, you’ll learn more about the Sybase Error PIVOT error: PIVOT XML does not contain a valid subquery, ANY, or ALL in the IN clause and the reason for receiving this error
Sybase SQL Error Message
PIVOT error: PIVOT XML does not contain a valid subquery, ANY, or ALL in the IN clause
Reason for this Error
You specified a PIVOT XML clause, but the IN clause does not contain a valid subquery, ANY or ALL.