I have two list having 100 elements in each (say class_db_col, and class_id_col). I want to push all the items in class_db_col list to one column (say class_result) present in oracle DB.
statement = 'update TRANSFERS_TXN_MT set CLASS_RESULT = :1 where id= :2'
for i in range(len(class_db_col)):
cursor.execute(statement,(class_id_col[i],class_db_col[i]))
conn.commit()
getting this error
ORA-01484: arrays can only be bound to PL/SQL statement
can anyone help me with this problem?