Differences between revisions 6 and 7
Revision 6 as of 2005-10-10 11:10:51
Size: 1221
Comment:
Revision 7 as of 2008-02-01 19:07:46
Size: 1120
Editor: PaulBoddie
Comment: Rearranged to match the new template.
Deletions are marked like this. Additions are marked like this.
Line 2: Line 2:
[[TableOfContents]]
Line 4: Line 3:
== Masthead == = SAP DB (MaxDB) =
Line 9: Line 8:

----
Line 18: Line 19:

==== Extensions to DB API ====

==== Comments ====
Line 33: Line 30:
Line 49: Line 47:
==== Comments ====
----
Line 52: Line 51:
Line 53: Line 53:

== Pros ==

== Cons ==

SAP DB (MaxDB)

URL

http://www.sapdb.org/

licence
GPL
platforms
Linux/i386, Solaris, HP-UX, AIX, Dec, Windows


DB API 2.0 Drivers

sapdbapi

URL

http://www.sapdb.org/sap_db_program.htm

licence
LGPL
platforms
see SAP DB
Python versions
1.5.2 - 2.2

Other Drivers

sapdb

URL

http://www.sapdb.org/sap_db_program.htm

licence
LGPL
platforms
see SAP DB
Python versions
1.5.2 - 2.2

Programming Model

cursor = session.sql ("select * from messages")
for msgno, lang, text in cursor:
    print msgno, text

insert = session.prepare ("insert into sometable values (?, ?)")
print insert.getDescription ()
insert.execute (["string", 1])

select = session.prepare ("select * from messages where msgno < :msgno")
cursor = select.execute ([200])
print cursor.next ()
print cursor.relative (100)
print cursor.absolute (4)
print cursor.absolute (-4)


Supported Python Applications

  • a sapdb driver exists for ["PyDO"] (Python Data Objects)

SAP DB (last edited 2013-08-11 12:31:35 by MarcAndreLemburg)

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