cancel
Showing results for 
Search instead for 
Did you mean: 

Replace single quote with double quotes

12-05-2014 1:21 PM
3305 views 5 comments
0 Likes
SAP Managed Tags
Subscribe

Hi Guys

could you please help me how to replace single quote with double quotes in data services

I have tried with replace_substr(column_nm, '''','"')

but it is giving an error on parsing:-

<Syntax error at line <1>: <>: near <'> found <;> expecting <')', ','>

Regards

0 Likes

Accepted Solutions (0)

Answers (2)

Answers (2)

vnovozhilov
Product and Topic Expert
Product and Topic Expert
0 Likes

Screen the single tick: replace_substr(column_nm, '\'','"')

Thank you,

Viacheslav.

Former Member
0 Likes

Hi Viacheslav,

If this is working , please mark this answer as correct answer.

Regards

Annesha

vnovozhilov
Product and Topic Expert
Product and Topic Expert
0 Likes

It wasn't me who raised the question. I used to be SCN Moderator for Data Services in the past but I am not anymore.

Thank you,

Viacheslav.

former_member208363
Active Participant
0 Likes

Hi,

Please try as shown below:

replace_substr(DATE_Table.Remarks,'\'','"')

Former Member
0 Likes

Hi,

The solution is you need to override the single quote with \'

so put '\''

The solution is

replace_substr(column_nm,, '\'','"');

I checked this is working

Thanks

Annesha