• ZZartin - Tuesday, December 26, 2017 11:10 AM

    anujkumar.mca - Tuesday, December 26, 2017 9:13 AM

    @jeff - Very valid points,But I want to give a chance to it as my server has high-end configuration and no business activity/user land at weekend on server.
    I want to do update statistics in parallel as it consume approx 60-70% time of my maintenance plan.
    enable the XP_CMDShell at prod shall not be recommended
    @Eirikur - Create multiple jobs is very obvious but I don't want to create bunch of jobs at instance.

    If you just want to try, you can just open up a few tabs in MS, put the commands in there and run them 😛

    Heh... GREAT suggestion!  That also means you can stop them easily if something goes wrong and you can monitor by known SPID.  This is, after all, a test from what I can see.

    --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)