MS ADO (MS SQL-Server/MS Access)

The Microsoft ADO API allows access MS SQL-Server and MS Access databases.

To utilize MS ADO within GNUe, you must use one of the following python drivers:

msado

A Python DB-API 2.0 module that makes it easy to use Microsoft ADO for connecting with databases and other data sources.

Prerequisites:

Home Page: http://sourceforge.net/projects/adodbapi

Supported Platforms:

Connection Properties

The following properties can be specified in your connections.conf file:

You can find more connection strings here:
http://www.able-consulting.com/MDAC/ADO/Connection/OLEDB_Providers.htm

Examples

The following is an example of a connection.conf entry:

  [access]
  comment = MS Access database
  provider = msado
  oledb_provider = Microsoft.Jet.OLEDB.4.0
  data_source = C:\mydb.mdb

  [sqlserver]
  comment = MS SQL Server database
  provider = msado
  oledb_provider = sqloledb
  data_source = myServerName
  initial_catalog = myDatabaseName

Notes

  1. This driver is only usable under MS Windows.
  2. This driver does not implement schema creation. Index introspection is not supported by this driver
  3. MS SQL Server has been tested successfully. MS Access backends need some more testing
  4. Other than that, the driver is fully functional with no known serious problems.

GNUe Home

Developer Tools