• Any chance you could provide us with some sample data so we can test the query that you've written?

    SQL SERVER Central Forum Etiquette[/url]