| Issue 285: | FreeTDS SQL Server Invalid data type | |
| 1 person starred this issue and may be notified of changes. | Back to list |
I am using Ubuntu. I want to access Microsoft sql database using pyodbc in django. I installed all requirements. I wrote this
cursor.execute('SELECT Id FROM %s' %table_name)
I am getting error which is
[HY004] [FreeTDS][SQL Server]Invalid data type (0) (SQLBindParameter)')
But, when I try this
cursor.execute('SELECT * FROM mytable')
It works fine. Why do I see that error, Is there a way to solve that issue ?
Sep 26, 2012
Project Member
#1
mkleehammer
Status:
Investigating
Sep 27, 2012
(No comment was entered for this change.)
Labels:
freetds
Sep 27, 2012
What is the data type of Id? Thanks.
Status:
Hold
Sep 27, 2012
(No comment was entered for this change.)
Labels:
-freetds FreeTDS
Sep 29, 2012
(No comment was entered for this change.)
Labels:
-FreeTDS Driver-FreeTDS
Sep 29, 2012
(No comment was entered for this change.)
Labels:
-Driver-FreeTDS Driver-freetds
|