Comments (8)
Just to be sure, explicitly setting it to False has not resolved the issue.
from mssql-django.
HI there, we're able to reproduce this locally and are investigating.
from mssql-django.
This is due to a change on our end. As a workaround, can you try adding "OPTIONS": {"return_rows_bulk_insert": False}
to your options?
from mssql-django.
I tried but the situation remained the same and the same error occurred.
DATABASES = {
"default": {
"ENGINE": "mssql",
"NAME": "db",
"USER": "user",
"PASSWORD": "password",
"HOST": "localhost",
"PORT": "1433",
"OPTIONS": {
"driver": os.getenv("MSSQL_DRIVER", "ODBC Driver 18 for SQL Server"),
"return_rows_bulk_insert": False,
"extra_params": "",
},
}
}
The default value is False, so it was already False when I first reported it.
from mssql-django.
The default was changed to true for 1.4 but we are planning to change it back
from mssql-django.
Having a similar issue with:
Django: 5.0.3
mssql-django: 1.4
python: 3.11.6
The target table 'xxxxxxxxxx' of the DML statement cannot have any enabled triggers if the statement contains an OUTPUT clause without INTO clause. (334) (SQLExecDirectW);
Have tried setting return_rows_bulk_insert
to True and False, neither worked. Cannot roll back to 1.3 as it doesn't support Django 5.
I can confirm that running 4.2.11 & mssql-django 1.3 does not have this issue.
from mssql-django.
Same issue appearing in my side as well with mssql-django: 1.4
SQL Trigger for 'AFTER INSERT' fails with the same error
[SQL Server]The target table 'xxxxxxxxxxxx' of the DML statement cannot have any enabled triggers if the statement contains an OUTPUT clause without INTO clause.
from mssql-django.
Same issue here with. I'm using mssql-django: 1.4
from mssql-django.
Related Issues (20)
- Errors Running Tests with 1.4.1 HOT 5
- [QUESTION] Timezone related impact when upgrading to latest version. HOT 2
- UUID stored with hyphens causes DB error in 1.4.1 HOT 6
- [BUG] - func subtract_temporals in operations.py summing a list + tuple in case the list is empty HOT 1
- SQL query contains the percent sign that should remain, for example in a LIKE SQL query HOT 4
- [BUG] - Degradation caused by DatabaseIntrospection.get_table_list HOT 3
- Datetime conversion issue with USE_TZ and settings.TIME_ZONE != 'UTC'? HOT 2
- [42000] [Microsoft][ODBC Driver 17 for SQL Server][SQL Server]Incorrect syntax near ')' ... Mssqlserver does not support COUNT_BIG (expr) HOT 6
- file not found (0) (SQLDriverConnect)") HOT 2
- Fail to connect to database mac os with M2 HOT 2
- [QUESTION] Why is supports_ignore_conflicts = False HOT 1
- Setting a default value for fields do not propagate to database HOT 1
- SQL Server 2005 compatibility issue- migration failure with filtered index queries HOT 2
- How to enable REGEXP_LIKE function on Azure SQL Server HOT 2
- [QUESTION] HOT 3
- [QUESTION] How to use executemany with raw query? HOT 3
- Named filter not working HOT 2
- [QUESTION] SQL Server does not support JSONFields. HOT 2
- CursorWrapper._as_sql_type should handle bytes values HOT 3
- Unable to connect from Docker container running django to SQL Server using the FreeTDS driver HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mssql-django.