• Hi shiva...

    Your query looks really helpful...only if i could get thir running. Attached is the script i modified a little. I am getting error message

    Msg 102, Level 15, State 1, Line 34

    Incorrect syntax near '?'.

    Msg 102, Level 15, State 1, Line 60

    Incorrect syntax near '?'.

    PLEASE HELP