Viewing 5 posts - 1 through 6 (of 6 total)
So here is my final code - not perfect but it gets what I needed, along with some extra null rows. I just dump the output into excel and remove...
February 16, 2015 at 7:47 pm
Hi Eirikur,
I modified the final select as follows to include the DENSE_RANK to get line number.
SELECT
CD.memberID
,TA.EventSeq
,TA.EventRefSeq
,DENSE_RANK() OVER (ORDER BY TA.RefStartDate)...
February 14, 2015 at 1:59 pm
Yes, you are correct. We are using a vendor application and apparently when it was implemented table A stores line level history with the EventReferralSequence field. But they did not...
February 7, 2015 at 12:27 pm
Eirikur,
This is excellent!!
Thank You so much for responding and for the code. Learn something new with the crosstab.
I will work on getting the decision_sent_date to begin with the second...
February 7, 2015 at 11:43 am
Thanks for responding.
The tables are linked by the two first columns: memberID and EventSeq
I am selecting all the columns for table A, the last column from table C and the...
February 7, 2015 at 6:10 am
Viewing 5 posts - 1 through 6 (of 6 total)