Python and MS SQL (Microsoft SQL server)

arno at mtb.ee arno at mtb.ee
Wed Jan 19 10:59:57 EST 2000


On Tue, 18 Jan 2000 14:59:07 -0500, Dave Cinege <dcinege at psychosis.com> wrote:
>"George Thom at s" wrote:
>> 
>> Hi Dave,
>> The odbc module that comes as part of the win32 extensions bundled with
>> Python 1.5.2 for the various flavours (!) of Windows should do just fine.
>
>So you're saying python has to be runnign on NT for this to work?
>
>> Additional functionality (with some tweaking ... ymmv ;-) can be obtained
>> with marc Lemburg's mxODBC module.
>
>What about this? we're looking to run on solaris or linux.
>

You could use the FreeTDS library:

http://www.freetds.org/

It supports both Sybase and Microsoft servers and exports 
db-, ct- and ODBC- compliant API's. I have used it with great success
in combination with Python's sybasemodule.



HTH,

Arno



More information about the Python-list mailing list