• as an additional hint for pasting code between the tags, add a couple of carriage returns between the opening and closing tags. Doing that will usually keep the code from changing the comparison operators (e.g. > and <).

    Jason...AKA CirqueDeSQLeil
    _______________________________________________
    I have given a name to my pain...MCM SQL Server, MVP
    SQL RNNR
    Posting Performance Based Questions - Gail Shaw[/url]
    Learn Extended Events