0
在等同於cx_Oracle.executemany,我可以用來排除?用executemany刪除cx_oracle?
用一個非常簡單的例子即時通訊使用這塊代碼插入數據,但它可能做到刪除條目?
try:
con = None
con = cx_Oracle.connect(uid , pwd, dsn)
cur = con.cursor()
cur.executemany(sql,params)
con.commit()
except cx_Oracle.DatabaseError, e:
print 'Error %s' % e
sys.exit(1)
finally:
if con:
con.close()
謝謝你指出。 –
非常歡迎。快樂的編碼。 – bernie