Hi,
Can anyone suggest a faster way to do deletes using Pro*C..I have to delete about 3 million records from a table, which cannot be done at one shot because of the rollback segment problem..So I am deleting 100,000 rows at a time-
while (1)
{
EXEC SQL delete from table_name where date_col= :date_val and rownum<100000;
if(sqlca.sqlcode==1403)
break;
}
Can anyone suggest a faster way to do deletes using Pro*C..I have to delete about 3 million records from a table, which cannot be done at one shot because of the rollback segment problem..So I am deleting 100,000 rows at a time-
while (1)
{
EXEC SQL delete from table_name where date_col= :date_val and rownum<100000;
if(sqlca.sqlcode==1403)
break;
}