• Expected result set is also important. Have a look at the link in my signature on how to post T-SQL questions.

    Thanks.

    Thom~

    Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
    Larnu.uk