Quantcast
Channel: SCN: Message List - SAP HANA Developer Center
Viewing all articles
Browse latest Browse all 9165

Re: Self join in SAP HANA

$
0
0

Hi Galina,

 

a LEFT OUTER JOIN returns all the values belonging to the "left" table even if the join condition doesn't match on the "right" table - in this case a NULL value will be present in any column coming from the "right" table.

 

HANA's Calculation engine considers NULL value as a particular case (and honestly there is a difference between a VARCHAR with length 0 and a NULL)...you should correct your filter in something similar to

 

WHERE (UEPOS_KONDM !=''15" OR UEPOS_KONDM IS NULL)

 

Cheers,

Riccardo


Viewing all articles
Browse latest Browse all 9165

Trending Articles



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