当前位置: 代码迷 >> 综合 >> python connect oracl
  详细解决方案

python connect oracl

热度:25   发布时间:2024-02-07 12:27:21.0

python connect oracl

import cx_Oracle
conn=cx_Oracle.connect(‘bao’,‘Amituofo’,‘LAPTOP:1521/ORCL’)
cursor = conn.cursor()
cursor.execute(“insert into dishonest values(‘amituofo’)”)
print(“successfully”)
conn.commit()
cursor.close()

  相关解决方案