• coolchaitu - Saturday, April 21, 2018 11:10 AM

    Good Morning Experts,

    A user typed "begin transaction" and went home. Will this have any affect on the log file(.ldf file). Will it cause any issues. Will it impact anything? Please let me know

    Most likely, it'll affect your career for allowing users to have such access to the database. 😀

    The answer is a possible "yes" to all you've stated and more.  It depends on what they were actually doing within the transaction.  Things like this deserve a phone call to that person and their boss to find out if you can kill the SPID if it starts causing issues.

    --Jeff Moden


    RBAR is pronounced "ree-bar" and is a "Modenism" for Row-By-Agonizing-Row.
    First step towards the paradigm shift of writing Set Based code:
    ________Stop thinking about what you want to do to a ROW... think, instead, of what you want to do to a COLUMN.

    Change is inevitable... Change for the better is not.


    Helpful Links:
    How to post code problems
    How to Post Performance Problems
    Create a Tally Function (fnTally)