Skip to content
New issue

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

MSSQL database doesn't allow aliases in GROUP BY #813

Open
t3hn0 opened this issue Oct 17, 2023 · 1 comment
Open

MSSQL database doesn't allow aliases in GROUP BY #813

t3hn0 opened this issue Oct 17, 2023 · 1 comment

Comments

@t3hn0
Copy link
Contributor

t3hn0 commented Oct 17, 2023

This part of code is preventing SS5 to be run on MSSQL database.

Logical Query Processing in MSSQL is:

  1. FROM
  2. ON
  3. JOIN
  4. WHERE
  5. GROUP BY
  6. WITH CUBE/ROLLUP
  7. HAVING
  8. SELECT
  9. DISTINCT
  10. ORDER BY
  11. TOP
  12. OFFSET/FETCH

Since original SQL only returns prettier variable name it shouldn't do any harm.

Tested on SS5 with MSSQL and SS5 with MySQL.

Fixed in PR#812

@tractorcow
Copy link
Collaborator

Approved PR at #812. Can merge once build is passed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants