-
-
Notifications
You must be signed in to change notification settings - Fork 246
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_drop_foreign_key generates statement that raises pyodbc.ProgrammingError (Incorrect syntax near '`') #716
Comments
Strange. Seems to be a typo introduced in 6e30795. |
@gordthompson I'm not familiar sql server, do backticks ( |
Oleg Shigorin has proposed a fix for this issue in the master branch: Fixes #716. Remove typo in _exec_drop_col_fk_constraint https://gerrit.sqlalchemy.org/c/sqlalchemy/alembic/+/2105 |
AFAIK, no. |
thanks, should be a typo then. |
how did this ever work? user at #621 (comment) maybe didnt actually run this part? |
Oleg Shigorin has proposed a fix for this issue in the master branch: Remove typo in _exec_drop_col_fk_constraint https://gerrit.sqlalchemy.org/c/sqlalchemy/alembic/+/2105 |
Describe the bug
This line is generating the following statement:
which leads to pyodbc.ProgrammingError:
Expected behavior
Foreign key dropped alongside column without errors.
Versions.
The text was updated successfully, but these errors were encountered: