May 22, 2013 at 1:06 am
I dont get any valuas out the Query ??
May 22, 2013 at 1:14 am
karim.boulahfa (5/22/2013)
I dont get any valuas out the Query ??
It's very difficult to rework someone else's code without data to run the code against. That's why I wrote "Something like this", because I can't run the code to verify it. You will have to experiment with it to find out why no results are returned. Try running the inner query, try commenting out any filters. This shouldn't cost you more than a few seconds of your time.
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
Viewing 2 posts - 16 through 16 (of 16 total)
You must be logged in to reply to this topic. Login to reply