and more in a single search tool across platforms. Read the announcement here. |
01/23/2024 01:51 PM
Hi,
We are trying to use the regexp_replace feature in the data analyzer and are getting an error. The first regexp works as expected.
Query: select
u.customproperty59 regexp '%|\[|#|!|\*|&|\(|\)|~|`|'' | { | \ ^ | } | \ \ | \ / | \ ? | > | < |,|;|: | "|\+|=|]|ä|ë|ö|ü', regexp_replace(u.customproperty59,'%|\[|#|!|\*|&|\(|\)|~|`|'' | { | \ ^ | } | \ \ | \ / | \ ? | > | < |,|;|: | "|\+|=|]|ä|ë|ö|ü','') as t1,u.username, u.email, u.customproperty59
from users u
where u.username=99990290
Error:
I have also tried running directly in a standard SQL analytic and am getting a different error.
Error:
Thanks,
Brandon
Solved! Go to Solution.
01/23/2024 07:09 PM - edited 01/23/2024 07:15 PM
regexp_replace is not supported. use saviynt database functions
SELECT
u.customproperty59,
FN_EIC_REPLACE(customproperty59,null)s,
u.username,
u.email
FROM
users u
WHERE
u.username = 137658;
01/24/2024 05:07 AM
@rushikeshvartak This worked thank you!