Bobspadger / pyodbc

Automatically exported from code.google.com/p/pyodbc
MIT No Attribution
0 stars 0 forks source link

TestResult on MSSQL connection. #72

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hi people,
I'm trying to use pyodbc on linux (Ubuntu 9.04) but I have a lot of problems.
I'm using pyodbc from Windows for a lot of time and I did never have very
issue.
Now, on linux, I get error on executing simple query and the response is:
"""
    res = cur.fetchall()
pyodbc.ProgrammingError: No results.  Previous SQL was not a query.
"""

So I did try the test on MSSQL connection and I did obtain the content of
the attachment: a lot of error!
Have I some problem in my system or there is some problem in pyodbc linux
vesion.
Best regards.

Original issue reported on code.google.com by enricose...@hotmail.com on 22 Oct 2009 at 2:03

Attachments:

GoogleCodeExporter commented 9 years ago

Original comment by mkleehammer on 22 Oct 2009 at 5:55

GoogleCodeExporter commented 9 years ago
Can you create a very small test for this with a single query?  The SQL Server 
unit tests are really designed for the 
SQL Server ODBC drivers.  There are a lot of features not handled by FreeTDS.  
Perhaps we should setup a 
FreeTDS set of tests.

Thanks.

Original comment by mkleehammer on 31 Dec 2009 at 6:47

GoogleCodeExporter commented 9 years ago
Closing due to inactivity.

Original comment by mkleehammer on 6 Sep 2010 at 6:24

GoogleCodeExporter commented 9 years ago

Original comment by mkleehammer on 21 Nov 2010 at 4:43