You're viewing a single thread.
View all comments
79
comments
BEGIN
UPDATE
SELECT
COMMIT
41 0 ReplyAnd you can save a bunch of time by inlining all this into one query
15 0 ReplyWhy update before select? Shouldn't it be the other way around? (I'm clueless. )
5 0 ReplyThe select after the update is to check if the update went through properly. You can have more selects before the update if you wanted to.
9 0 ReplyAh. It makes sense now. Thanks.
2 0 Reply
The four horsemen of the datapocalypse
5 0 ReplyPermanently Deleted
3 0 Reply
You've viewed 79 comments.
Scroll to top