django-pyodbc-azure
django-pyodbc-azure copied to clipboard
Calls to stored proceedures
Hi!
I have a problem calling stored procedures from this django module. Few days ago, I try with PYODBC directly on a Python code and the stored procedure call works fine according the documentation that they left. But the same implementation did not worked when I call a stored procedure with input parameters. I am getting the folling error:
TypeError at /spname not all arguments converted during string formatting
The documentation in PYODBC saids (according the follwing link: https://github.com/mkleehammer/pyodbc/issues/184) that implementation consists in the execution sentence (string) as a first argument and the parameters (tuple) as a second argument to the cursor.execute function
Can you help me with this please?
Hi, @nicomin have you found some answer to this question. I am facing difficulties in using store procedure in my Django code.
Hello, @AnkurBegining. I changed my mind about call SPs from Django, my friend ...