sql server support from linux

Discussion in 'Python' started by Simon Wittber, Dec 21, 2004.

  1. I am currently tasked with connecting Python CGI programs, under
    Apache2 / Linux, to SQL Server on Windows 2000.

    The latest MSSQL module from
    http://www.object-craft.com.au/projects/mssql/ (0.09) will not (for
    me, at least) compile on Debian.
    The next version of the module (0.08) will compile, but raises a
    MemoryException whenever I return varchar fields. Hopeless. It also
    segfaults (!) whenever I use datetime fields.

    The sybase library (also from object-craft) appears to work, but
    raises an exception whenever an empty query result is returned. This
    is bizzare, and not DB-API 2.0 compiant.

    Does anyone in this list ever connect to SQL Server from Linux, using
    Python? If so, what is your solution?

    I'm going nuts over here!

    Sw.
     
    Simon Wittber, Dec 21, 2004
    #1
    1. Advertising

  2. Simon Wittber wrote:
    > I am currently tasked with connecting Python CGI programs, under
    > Apache2 / Linux, to SQL Server on Windows 2000.
    >
    > The latest MSSQL module from
    > http://www.object-craft.com.au/projects/mssql/ (0.09) will not (for
    > me, at least) compile on Debian.
    > The next version of the module (0.08) will compile, but raises a
    > MemoryException whenever I return varchar fields. Hopeless. It also
    > segfaults (!) whenever I use datetime fields.
    >
    > The sybase library (also from object-craft) appears to work, but
    > raises an exception whenever an empty query result is returned. This
    > is bizzare, and not DB-API 2.0 compiant.
    >
    > Does anyone in this list ever connect to SQL Server from Linux, using
    > Python? If so, what is your solution?


    Using mx.ODBC?

    --

    Vincent Wehren

    >
    > I'm going nuts over here!
    >
    > Sw.
     
    vincent wehren, Dec 21, 2004
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. =?Utf-8?B?UmV6YQ==?=
    Replies:
    3
    Views:
    18,051
    Carlos Barini
    Jun 7, 2004
  2. Daves
    Replies:
    1
    Views:
    407
  3. Geoff
    Replies:
    3
    Views:
    473
    Patrick.O.Ige
    Jan 16, 2006
  4. farseer

    SQL Server 2005 + SQL Server Express

    farseer, Aug 7, 2006, in forum: ASP .Net
    Replies:
    3
    Views:
    360
    farseer
    Aug 8, 2006
  5. Allen Chen [MSFT]
    Replies:
    0
    Views:
    880
    Allen Chen [MSFT]
    Oct 14, 2008
Loading...

Share This Page