In this blog post, you’ll learn more about the Sybase Error ORDER BY not allowed in window ‘%1’ and the reason for receiving this error
Sybase SQL Error Message
ORDER BY not allowed in window ‘%1’
Reason for this Error
When an existing window name is referenced from an inline window specification, either the inline window or the referenced window may have an ORDER BY, but not both.