Commit after every N rows

  • How I can make a commit after every N rows in a TDT?

    I need to import more than 14 millions registers and I want commit for each 5000 registries, for example.

    Thanks,

  • Right-click on the TDT, go to properties, options tab, in the field "Insert batch size" enter the number of rows you want.

    Keep in mind that if the step fails it will rollback the last batch, not all the data.

  • Milton,

    Its run fine! On the other hand, I like the behavior of the Rollback because if a batch fails, it doesn't interrupt the others.

    Thus I do not need to repeat the complete process because few baches have failed.

    Thank you very much,

    Marc

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic. Login to reply