ibmdb / python-ibmdb-django

IBM DB2 Driver for the Django application Framework
Apache License 2.0
29 stars 42 forks source link

SQL0401N The data types of the operands for the operation "IN" are not compatible or comparable #64

Closed abhishekac-chy closed 3 years ago

abhishekac-chy commented 3 years ago

Following error I am getting while running python manage.py migrate -

Operations to perform: Apply all migrations: admin, auth, contenttypes, sessions Running migrations: Applying contenttypes.0001_initial... OK Applying auth.0001_initial...Traceback (most recent call last): File "C:\Users\\Desktop\DJANGO_ENV2\lib\site-packages\ibm_db_dbi.py", line 1306, in _execute_helper return_value = ibm_db.execute(self.stmt_handler, parameters) SQLCODE=-401atement Execute Failed: [IBM][CLI Driver][DB2/LINUXX8664] SQL0401N The data types of the operands for the operation "IN" are not compatible or comparable. SQLSTATE=42818

python - 3.7.4 ibm_db - 3.0.4 django - 3.1 ibm_db_django - 1.4.0.0 regex - 2021.4.4