Replace "\" in SQL Table Transformer

Dhiraj Kr_ Gupta
Contributor
June 4, 2024

Replace ( T1.'Link', "\", "%5C") is showing error in the SQL table transformer. is there way to do this.

\\name is giving output 

\

ame

 

1 answer

1 accepted

2 votes
Answer accepted
Stiltsoft support
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 5, 2024

Hi @Dhiraj Kr_ Gupta ,

You may check this Community thread regarding similar question: https://community.atlassian.com/t5/Confluence-questions/Where-statement-with-apostrophe-within-value/qaq-p/2043412

For your case I believe that \ is CHAR(92), so the query will look smth like this: REPLACE(T1.'Link', CHAR(92), "%5C")

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events