[DB-SIG] DCOracle question

Jēkabs Andrušaitis j.andrusaitis@konts.lv
Thu, 25 May 2000 12:13:39 +0300


You should import DCOracle module (which wraps all the
different modules under one roof).

import DCOracle

dbc= DCOracle.Connect('username/password@tnsname')
cur= dbc.cursor()

I think that problem with your code was importing oci_ directly.

Jekabs Andrušaitis
Sistemu analitikis
Tieto Konts Financial Systems
Kr.Barona 30, Riga, LV-1011, Latvia
tel.: (371) 7286660, (371) 7283689
fax: (371) 7243000
e-mail: J.Andrusaitis@konts.lv
http://www.konts.lv