• Can you provide some DML and some sample data with a required output? This will help you get an answer quicker.



    Microsoft Certified Master - SQL Server 2008
    Follow me on twitter: @keith_tate

    Forum Etiquette: How to post data/code on a forum to get the best help[/url]