Display cx_oracle error indicating which rows are affected

cursor.executemany("SQL EXEC STATEMENT", data, batcherrors=True)

for error in cursor.getbatcherrors():

    print("Error", error.message, "at row offset", error.offset) 



Comments

Popular posts from this blog

Java encoding : UTF-8, Big5, x-MS950-HKSCS