The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

2 votes
Answer accepted
Stiltsoft support
Atlassian Partner
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")

TAGS
AUG Leaders

Atlassian Community Events