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

COUNT field incorrect or syntax error Django 1.11.20 #198

Open
julian-patmos opened this issue Feb 21, 2019 · 1 comment
Open

COUNT field incorrect or syntax error Django 1.11.20 #198

julian-patmos opened this issue Feb 21, 2019 · 1 comment

Comments

@julian-patmos
Copy link

When I run the migrations they fail with the following error message

lib/python3.6/site-packages/sql_server/pyodbc/base.py", line 575, in execute
    return self.cursor.execute(sql, params)
django.db.utils.Error: ('07002', '[07002] [Microsoft][ODBC Driver 17 for SQL Server]COUNT field incorrect or syntax error (0) (SQLExecDirectW)')

@onkar-bagade
Copy link

hey did you find solution to this problem. i am facing some what similar issue when i am trying to return paginated response in Django rest framework

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