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

Re: Using concatenation in Join condition clause of SQL statement under calc view(script based)

$
0
0

Perhaps you could try concatenating the field in the 'JOIN' section prior to using  'ON'

 

e.g.

 

Select * from TABLE_A as TA

INNER JOIN (select 'a' || 'b' as "XCONCAT" from TABLE_B) AS TB

ON TA.FIELDX = TB.XCONCAT

 

 

If TABLE_B is Huge then don't expect performance to be great.


Viewing all articles
Browse latest Browse all 8556

Trending Articles



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