Differences between revisions 2 and 3
Revision 2 as of 2006-12-24 13:34:39
Size: 1131
Editor: cpc1-leed3-0-0-cust92
Comment:
Revision 3 as of 2007-06-16 10:04:15
Size: 2556
Editor: ip98
Comment:
Deletions are marked like this. Additions are marked like this.
Line 26: Line 26:
=== mxODBC ===
Line 27: Line 28:
  URL:: http://www.egenix.com/
  License:: eGenix.com Commercial License
  Platforms:: Windows, Unix, Mac OSX, FreeBSD, Solaris
Line 28: Line 32:
==== Comments ==== mxODBC requires an ODBC driver to talk to SQL Server. On Windows, this comes with SQL Server, on the other platforms, there are several commercial ODBC high quality drivers available. There's also a FreeTDS ODBC driver which is free.
Line 30: Line 34:
== Other Drivers == Unicode is supported both for data and SQL statements. mxODBC supports both 32-bit and 64-bit platforms.
Line 35: Line 39:

''Comment:'' This is actually not true at all: ODBC is the native API used for SQL Server and does support Unicode all the way. In fact, ODBC is the preferred way of accessing SQL Server if you care for performance. Microsoft has just released the [http://msdn2.microsoft.com/en-us/data/aa937733.aspx SQL Server Native Client] which is an extended ODBC driver for SQL Server. ADO is just a layer on top of the ODBC interface and a lot slower as a result. See e.g. [http://www.microsoft.com/technet/prodtechnol/windows2000serv/technologies/iis/reskit/iischp7.mspx MS TechNet] for a comparison of ODBC, OLE DB and ADO, or [http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/389535 this cookbook entry].
Line 43: Line 49:
 * Not free
 * SQL Server comes in various flavors.

 The SQL Server Express versions are free to download, use and can even be redistributed with products.

 The regular version includes the GUI tools and also provides advanced features which are not included in SQL Server Express.

TableOfContents

Masthead

URL

http://www.microsoft.com/sql/default.mspx

licence
Commercial software, although a free edition "SQL Server 2005 Express" is available.
platforms
Windows 2000 and later.

DB API 2.0 Drivers

adodbapi

URL

http://adodbapi.sourceforge.net/

SourceForge

http://sourceforge.net/projects/adodbapi

licence
LGPL
platforms
Windows only

pymssql

URL

http://pymssql.sourceforge.net/

SourceForge

http://sourceforge.net/projects/pymssql

licence
LGPL
platforms
Windows and Unix

mxODBC

URL

http://www.egenix.com/

License
eGenix.com Commercial License
Platforms
Windows, Unix, Mac OSX, FreeBSD, Solaris

mxODBC requires an ODBC driver to talk to SQL Server. On Windows, this comes with SQL Server, on the other platforms, there are several commercial ODBC high quality drivers available. There's also a FreeTDS ODBC driver which is free.

Unicode is supported both for data and SQL statements. mxODBC supports both 32-bit and 64-bit platforms.

ODBC

It is possible to connect to an SQL Server database using ODBC, either the mxODBC driver or the one included with Win32all. However, this is not recommended - adodbapi is a better solution, in part because it supports unicode.

Comment: This is actually not true at all: ODBC is the native API used for SQL Server and does support Unicode all the way. In fact, ODBC is the preferred way of accessing SQL Server if you care for performance. Microsoft has just released the [http://msdn2.microsoft.com/en-us/data/aa937733.aspx SQL Server Native Client] which is an extended ODBC driver for SQL Server. ADO is just a layer on top of the ODBC interface and a lot slower as a result. See e.g. [http://www.microsoft.com/technet/prodtechnol/windows2000serv/technologies/iis/reskit/iischp7.mspx MS TechNet] for a comparison of ODBC, OLE DB and ADO, or [http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/389535 this cookbook entry].

Pros

SQL Server is a robust and fully-featured database, and it performs very well. Moreover, I have not had any problems using this database with Python.

Cons

  • Windows only
  • SQL Server comes in various flavors. The SQL Server Express versions are free to download, use and can even be redistributed with products. The regular version includes the GUI tools and also provides advanced features which are not included in SQL Server Express.

SQL Server (last edited 2017-08-07 19:32:49 by MaximilianFuxjaeger)

Unable to edit the page? See the FrontPage for instructions.