Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 9212

Re: Union Join in BO Universe derived table used in WEBI

$
0
0

So what should the EXPIRY_DATE be for the records coming from Part 2?  Current Date or perhaps NULL?  If it should be NULL, you can set it like this...

 

SELECT MEMBER, EXPIRY_DATE

 

FROM
(

(Select A.MEMBER, C.EXPIRY_DATE

From ABC.MEMBER A                                                   - - - - - - -- - - - Part 1

Inner Join CDE.DATE
on A.TAX=C.TAX
etc.......)

 

 

UNION

(SELECT B.MEMBER, NULL

FROM BCD.MEMBER B                                              - - - - - - - - - - - - - Part 2

etc.....)
)

GROUP BY

MEMBER, EXPIRY_DATE

 

Does that help?

 

Noel


Viewing all articles
Browse latest Browse all 9212

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>