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

Re: Exception when combining COUNT() with CONTAINS() (TextSearch), not possibly?

$
0
0

Hi Fred,

 

According to the SQL reference the CONTAINS() predicate works on column tables and attribute views (join views) only. Calc views are not supported (from the SPS07 SQL reference: 'The CONTAINS-predicate works only on column store tables (simple tables and join-views)').

 

In your example you can replace the CONTAINS() predicate and use the LIKE predicate instead (UPPER(BasicMaterial) LIKE '%A%' OR UPPER(BasicMaterial) LIKE '%B%' OR ...), but this of course will not work for all possible uses of CONTAINS().

 

Regards,

Jörg


Viewing all articles
Browse latest Browse all 9165

Trending Articles



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