SQL Windows Functions might be non-deterministic
How using SQL Windows functions with non unique order column can cause indeterminate results
How using SQL Windows functions with non unique order column can cause indeterminate results
A simple source control for SQL server code objects like views and stored procedures.
More