techmarimuthu (7/2/2013)
@ChrisM@Work : this are (50200,50194,50430,50191,1) Record Id
Yes I can see that! How does the list come into existence? Is it typed in by you or generated by a front-end?
For fast, accurate and documented assistance in answering your questions, please read this article.
Understanding and using APPLY, (I) and (II) Paul White
Hidden RBAR: Triangular Joins / The "Numbers" or "Tally" Table: What it is and how it replaces a loop Jeff Moden