We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ported from CodePlex
The query reports an error if it detects a constant expression in the ORDER BY clause:
ORDER BY
A constant expression was encountered in the ORDER BY list.
This is exactly what SQL Server does. In contrast to SQL Server I would suggest the same error message for GROUP BY:
GROUP BY
Each ORDER BY expression must contain at least one column.
(The part with "that is not an outer reference" does not make sense, since nested queries cannot contain an ORDER BY).
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Ported from CodePlex
The query reports an error if it detects a constant expression in the
ORDER BY
clause:This is exactly what SQL Server does. In contrast to SQL Server I would suggest the same error message for
GROUP BY
:(The part with "that is not an outer reference" does not make sense, since nested queries cannot contain an ORDER BY).
The text was updated successfully, but these errors were encountered: