sql - Store multiple records at a time into database table and then check if any record had been lost or not -
i new linux , oracle sql. store multiple records (of pre-set length, 800) @ time abc.csv file seperated commas (contains huge no. of records, million) database table , check if record had been lost or not. if record lost in process or not copied database retry store whole lot again. succeeded move onto next lot else save lot has not been stored database in seperate log file , continue next lot. abc.csv has field columns follows record_no.,id,name,etc.,.....
any ideas or sugestions welcomed.
-thanks in advance.
i don't know oracle sql in plain old mysql select count(*) <tblname>
, see if number matches expect in there after inserts.
note: beneficial if knew total amount of items being inserted table in total.
Comments
Post a Comment