August 12, 2010 at 5:29 am
Thanks a TON!!!!
The query works very well.
the enddate for rowid = 3 comes form startdate-1 from row id = 4.....
and for last row id there is default value.
August 12, 2010 at 5:32 am
khushbu (8/12/2010)
Thanks a TON!!!!The query works very well.
the enddate for rowid = 3 comes form startdate-1 from row id = 4.....
and for last row id there is default value.
You're welcome, but be careful because you have contradicted yourself a couple of times:
"No, a startdate from one deccode cannot be used as the enddate for another."
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