I have a datatable of 3 columns ID (int), Name (string), Status (string) and of 1000 rows .. and a table with 4 columns seq (generated from SEQR.NEXTVAL), ID, Name, Status.
I want to insert all 1000 rows in a single query. I mean avoiding 1000 times database hit using loops for performance issue.
Constraints are:
- I am using Oracle 10g
- stored procedures, cursors not allowed
- To temporary table creation allowed as DBA is from client side so I can't create DB tables from my side
Any suggestion with proper code? I am using Oracle client and DbCommand object