Technology Blogs by Members
Explore a vibrant mix of technical expertise, industry insights, and tech buzz in member blogs covering SAP products, technology, and events. Get in the mix!
cancel
Showing results for 
Search instead for 
Did you mean: 
Former Member

I came across a requirement in Information Steward, to create a Rule that looks for the word "Competitor" in the column string, The name of the columns was NOTES (lets just say).

This word"Competitor" can be at any location in the string and can be in case. If this word exists, then the rule should pass the value else fails it.

The equivalent SQL Query for this would be simple:

WHERE

UPPER(NOTES) LIKE '%COMPETITOR%'

But to do the same in the Rule, we do not have the LIKE function.

Instead, we had to use the following formula (using match_regex function) to perform the same task.

BEGIN

RETURN

match_regex($parameter0, '.*COMPETITOR.*', 'CASE_INSENSITIVE');

END

This will do the trick.

Thanks,

Shaheen Makandar

1 Comment
Labels in this area