Reputation: 325
After executing,
cursor.executemany("insert into table(col1, col2, col3) values (:1, :2, :3"), data, batcherrors = True)
connection.commit()
for errorobj in cursor.getbatcherrors():
I want to load the bad records from the list data as a pipe delimited string into a table with three columns run_date, data_string, error.
is this possible?
Upvotes: 0
Views: 33