Sorry, 0 records returned with that :(
So that is what happens when you don't post:
1) CREATE TABLE statements for you tables.
2) INSERT statements with sample data.
3) The desired result given the sample.
Visakh's query looks good to me, but since you did not post the above, I don't think Visakh tested it.
Erland Sommarskog, SQL Server MVP, esquel@sommarskog.se
No comments:
Post a Comment