Viewing 4 posts - 1 through 4 (of 4 total)
SOLVED
this (unedited) sql gives the expected result
WITH CTE (id, parent) as
(
SELECT c.id, c.parent
from
(
SELECT DISTINCT(id), parent
FROM
(
select u.id, u.parent
FROM
(
SELECT a.id, a.Loan_ID
, COALESCE(b.id, a.id) AS id_b
, COALESCE(c.Loan_ID, a.id) AS loan_id_c
,...
October 6, 2020 at 4:48 pm
Hi jcelko212 32090
Thanks for the comments
October 6, 2020 at 4:18 pm
Hi Jeff
thanks for replying, can't say how much I appreciate you taking an interest in this
The proposed output correctly links the id's but (as in my own attempts) I get...
October 6, 2020 at 8:11 am
Hi Jeff
thanks for reaching out
I have added a script to load a temp table with a subset of my data.
Note that I have removed [PARENTKEY] as this just is the...
October 5, 2020 at 8:03 pm
Viewing 4 posts - 1 through 4 (of 4 total)