In this blog post, you’ll learn more about the Sybase Error Illegal PARTITION BY item %2, %1 and the reason for receiving this error
Sybase SQL Error Message
Illegal PARTITION BY item %2, %1
Reason for this Error
MARKNEW The specificied column name or ordinal number is not present within the select list.