Skip to content

pyodbc.DataError: Conversion failed when converting da te and/or time from character string #149

@abdulwahidgul24085

Description

@abdulwahidgul24085

I get the following error when I try to create a superuser. Following is the like of code that it tells me which has the error.

  File "D:\path\virtual_venv\lib\site-packages\django_pyodbc\base.py", line 489, in execute
    return self.cursor.execute(sql, params)
pyodbc.DataError: ('22007', '[22007] [Microsoft][ODBC SQL Server Driver][SQL Server]Conversion failed when converting da
te and/or time from character string. (241) (SQLExecDirectW)')

I hope someone can let me know the solution for this problem.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions