endig, siehe => http://www.oracle.com/technetwork/database/features/instant-client/index-097480.html
<... ndungen!
Mehr dazu siehe hier: [[http://blog.red-database-security.com/2009/01/17/tutorial-oracle-sql-i... racle.clientversion()
#get the connection to the database
connection = cx_Oracle.connect('scott/tiger@1... .1/GPI')
# Version der DB ausgeben
print "Oracle Database Version ::", connection.version
#Cursor auf
endungen!
Mehr dazu siehe hier: [[http://blog.red-database-security.com/2009/01/17/tutorial-oracle-sql-i... MP DB exits in ",os.getcwd())
else:
print("No Database found in ::",os.getcwd())
sys.exit(0)
co... _cmd="INSERT INTO EMP VALUES(?,?,?,?,?,?,?,?)"
l_data=[ (7371,'SMITH','CLERK',7372,'17-12-1980',800,Non... nmal einfügen mit
# cursor.executemany(sql_cmd,l_data)
#
#Oder einzeln um jeden Fehler auch einzeln au
r Methode (Lambda Konstrukt):
<code python>
#Test data - List with letter and Numbers pairs
for i in ran... values (:1, :2,:3)", dept_rows)
except cx_Oracle.DatabaseError as e:
connection.rollback()
print "Oracle Database Error:", e
except:
print "Unexpected erro... Eine Exception im Code werfen:
<code python>
if (datagram[20]==1):
raise ValueError('-- Error :: Bi