简体   繁体   中英

Using a like in input parameter with filter expression - SAP HANA

I'm using a input parameter: NumeroAffaire with a filter expression:

"NumAffaire"='$$NumeroAffaire$$'

When I enter specific number (example:000933782201109-1), it will work good!

For example, I'm doing that: 在此处输入图像描述

Now what I want to do, it's to enter only few number (example:00093378220110)and it show me all possibilites data

So, I think I need to use a LIKE and i'm doing this but don't work:

  "NumAffaire" like '$$NumeroAffaire$$%'

Someone can explain me the correct syntax for using a LIKE in input parameter with a filter

It may be worth checking if the usage of LIKE can be replaced with a CONTAINS predicate. The latter should work with SQL parameters.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM