Established Member.. AlekseyG
Established Member..
298 views

When [...] is not a token.

Hello!

 

I want to use the string containing  '[^,]+' in sql request type rule but the system interprets it as a token and doesn't allow me to save the rule...

How to spell (what simbol to add before "[" maybe) to mark that it's not a token?

 

Thanks! 

0 Likes
3 Replies
Natalia_R_PPM Absent Member.
Absent Member.

Re: When [...] is not a token.

Hello AlekseyG,

 

 

Actually there are other users that reported similar issues in the past with strings that works in SQLTools but not in PPM.

There is a ER created for this issue, but the status is deferred

 

In PPM SQL this is treated as [^#@' || '#] is a Token, there should be way to treat is as string

 

 

 

I will search a little more in order to find if there a way to run these sql in PPM without confusing with a token.

 

Regards,

Natalia Rojas.

 

 

HP Support
If you find that this or any post resolves your issue, please be sure to mark it as an accepted solution.
0 Likes
Established Member.. Utkarsh_Mishra
Established Member..

Re: When [...] is not a token.

Are you trying to use Oracle regexp_substr ?

 

There are other ways to achive same functionality...

Cheers..
Utkarsh Mishra

-- Remember to give Kudos to answers! (click the KUDOS star)
0 Likes
Established Member.. AlekseyG
Established Member..

Re: When [...] is not a token.

Hello Utkarsh Mishra!

 

It would be great if you helped me to find the way.

 

I have two comma-separated strings:

'1,2,3', '4,5,6'

And want to split it into several rows and two columns:

 

1  4

2  5

3  6

 

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.