Code: Alles auswählen
from com.ziclix.python.sql import zxJDBC
d, u, p, v = "jdbc:odbc:---", "----", "----","sun.jdbc.odbc.JdbcOdbcDriver"
db = zxJDBC.connect(d, u, p, v)
c = db.cursor()
c.execute("select * from CTXSYS.CTX_OBJECT_ATTRIBUTES")
print(c.description)
for a in c.fetchall():
print(a)
Code: Alles auswählen
Traceback (innermost last):
File "C:\Dokumente und Einstellungen\ii161l\workspace\JDBC Connect\src\Test.py", line 8, in ?
Error: error getting index [1], type [-9] [SQLCode: 0]
Flow