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 an issue of adding OFFSET keyword for legacy SQL Server versions #218

Merged
merged 1 commit into from
Jan 10, 2023

Commits on Dec 28, 2022

  1. Fix an issue of adding OFFSET keyword for legacy SQL Server vresions

    I was getting the following exception when trying to access legacy SQL Server 2008 R2 database:
    pyodbc.ProgrammingError: ('42000', "[42000] [Microsoft][ODBC Driver 17 for SQL Server][SQL Server]Incorrect syntax near 'OFFSET'. (102) (SQLExecDirectW)")
    
    I only added one more condition before adding the OFFSET keyword.
    adelkhayata76 committed Dec 28, 2022
    Configuration menu
    Copy the full SHA
    f59b59b View commit details
    Browse the repository at this point in the history