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

Fix paging statements with SqlServer 2005 when the statement uses aliases #833

Merged
merged 2 commits into from
Jul 3, 2023

Conversation

gusbro
Copy link
Contributor

@gusbro gusbro commented Jun 21, 2023

Some paging statements generated for SQLServer 2005-2008 require an external subselect which is qualified with table name GX_ICTE. When the inner select uses aliases for some attribute (for example when using subtypes) the outer select must qualify them with GX_ICTE table and the alias used.
This code applies the alias mapping to the outer select.
Issue 71081

@gusbro gusbro requested a review from claudiamurialdo June 21, 2023 17:21
@genexusbot
Copy link
Collaborator

Cherry pick to beta success

@gusbro gusbro temporarily deployed to external-storage-tests June 21, 2023 17:21 — with GitHub Actions Inactive
@genexusbot
Copy link
Collaborator

Cherry pick to beta success

@gusbro gusbro temporarily deployed to external-storage-tests June 23, 2023 13:43 — with GitHub Actions Inactive
@gusbro gusbro requested a review from claudiamurialdo June 29, 2023 12:47
@gusbro gusbro merged commit efaaebc into master Jul 3, 2023
@gusbro gusbro deleted the PagingSelectSQL2005Fix branch July 3, 2023 14:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants