In this blog post, you’ll learn more about the Sybase Error UNPIVOT error: An IN clause item does not contain the same number of items as the FOR clause and the reason for receiving this error
Sybase SQL Error Message
UNPIVOT error: An IN clause item does not contain the same number of items as the FOR clause
Reason for this Error
You specified an UNPIVOT, but the number of items in the FOR clause does not match the number of items in one IN clause item.