Quantcast
Channel: SCN : Discussion List - SAP HANA Developer Center
Viewing all articles
Browse latest Browse all 6412

Using wildcard for mandatory input parameters

$
0
0

Hi super-friends,

 

We have some calculation views that have input parameters.  These input parameters are automatically mandatory in our HANA rev 72.  When we pass a single parameter such as CUSTOMER to our query it works great and performance is good.  If we want ALL CUSTOMERS to display on the report we tried passing PERCENT (%) symbol in the parameter to return all values however the performance is horrible.  Has anybody found a better way to handle this?

 

ie: GOOD!

 

select * from "_SYS_BIC"."ourPackage/ourAmazingView"

(

'PLACEHOLDER' = ('$$IP_CUSTOMER$$', 'JOE DIRT INCORPORATED')

 

ie: NOT SO GOOD!

 

select * from "_SYS_BIC"."ourPackage/ourAmazingView"

(

'PLACEHOLDER' = ('$$IP_CUSTOMER$$', '%')

 

Something tells me somebody has a great suggestion for this one.  Many thanks in advance!

-Patrick


Viewing all articles
Browse latest Browse all 6412

Trending Articles



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