In this blog post, you’ll learn more about the Sybase Error The result returned is non-deterministic and the reason for receiving this error
Sybase SQL Error Message
The result returned is non-deterministic
Reason for this Error
FIRST or TOP n are used in a SELECT statement to limit the size of a result. The statement must also have an ORDER BY if the result is to be well-defined. If it does not have an ORDER BY, then the server is free to return any subset of the result that has the requested number of rows.