Quote:
Originally posted by m1l
In my defence, I didn't forget to reset the counter, I had copied the code from the person above only to show how a CURSOR ... FOR ... LOOP works. I still am of the opinion that the SQL COPY command is the best option but I am open to being shot down in flames.
I agrea with you about the COPY command and it's efficiency and usefullness. However it has one limitation: it is only a SQL*Plus command (not a SQL command, as you said), so you can execute it only from SQL*Plus. This is pretty severe limitation, mybe not in this particular case, but in general.