469,626 Members | 1,529 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,626 developers. It's quick & easy.

How to avoid Tran Fail Log error with update statements

vj
I have an update statement which updates 100,00 records and most often
I end up in a tran fail log error , is there any option which would
enable me to commit the updates in batches.

Please let me know if there are any work arounds.

Thanks,
Vj.

Nov 12 '05 #1
1 1456
What type of logging are you using? If it's circular; then you've filled
up all of the primary and secondary logs. A simple solution is to
increase the log size or the number of logs. If this is a production
system; circular logging has other (negative) recovery implications.

You could use a WHERE predicate to restrict your updates to a portion of
your rows. Multiple UPDATES can be coded with a COMMIT between them.
Phil Sherman

vj wrote:
I have an update statement which updates 100,00 records and most often
I end up in a tran fail log error , is there any option which would
enable me to commit the updates in batches.

Please let me know if there are any work arounds.

Thanks,
Vj.

Nov 12 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by Mohammed Mazid | last post: by
10 posts views Thread by sqlgoogle | last post: by
3 posts views Thread by 4partee | last post: by
1 post views Thread by bharadwajrv | last post: by
5 posts views Thread by prakashwadhwani | last post: by
reply views Thread by gheharukoh7 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.