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;

Comments

  1. Simon Stuart That's what I said!  I mean, the ingenuity!  The sheer determination!

    ReplyDelete
  2. Or as George W almost said it: "the SQL server is either with us, or against us".

    ReplyDelete
  3. Simon Stuart  "Needless to say, the President is correct. Whatever it was he said." (by another quotes goldmine, guess who :p)

    ReplyDelete
  4. Eric Grange  D. Rumsfeld comes to mind.

    ReplyDelete
  5. Is the issue the 'continue' in the exception handler? ;-)

    ReplyDelete
  6. The "break" is pretty exceptional too :)

    ReplyDelete
  7. It's the Fezzik school of programming.

    Inigo 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.

    ReplyDelete

Post a Comment