We are going to begin that transaction, dammit, *NO MATTER WHAT*.
We are going to begin that transaction, dammit, *NO MATTER WHAT*.
while true do
begin
Application.ProcessMessages;
try
LockConnection.BeginTrans;
break;
except
continue;
end;
end;
while true do
begin
Application.ProcessMessages;
try
LockConnection.BeginTrans;
break;
except
continue;
end;
end;
Simon Stuart That's what I said! I mean, the ingenuity! The sheer determination!
ReplyDeleteOr as George W almost said it: "the SQL server is either with us, or against us".
ReplyDeleteSimon Stuart "Needless to say, the President is correct. Whatever it was he said." (by another quotes goldmine, guess who :p)
ReplyDeleteTo infinity, and beyond...
ReplyDeleteEric Grange D. Rumsfeld comes to mind.
ReplyDeleteIs the issue the 'continue' in the exception handler? ;-)
ReplyDeleteThe "break" is pretty exceptional too :)
ReplyDeleteIt's the Fezzik school of programming.
ReplyDeleteInigo Montoya: [pushing his way through a crowd] Excuse me... Pardon me, Please it's important... Fezzik, please?
Fezzik: EVERYBODY MOVE!
[everybody clears a path]
Inigo Montoya: Thank you.