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)
cursor.executemany("SQL EXEC STATEMENT", data, batcherrors=True)
for error in cursor.getbatcherrors():
print("Error", error.message, "at row offset", error.offset)
Comments
Post a Comment