I tried to put a name for my columns with spaces, and because of delimitation of the string in the Execute Query activity with “”, it gives me error of the syntax.
The querry i want it to process is something like that:
Select Column1 as “Column 1”,
Column2 as “Column 2”
FROM TABLE
I came back with the solution !
In UiPath Studio, for Oracle SQL Developer, it’s not working directly with " “, or “” “”, or [ ], so i tried a trick.
I formatted the text with Assign activity, where i assign to a string variable my query in a string with ex: REEL_ID as my alias for the first column. Then, i used the Replace activity to replace REEL_ID with “”“REEL ID””" (yeah, it worked with 3 quotes!), with input and output my variable for formatted text… and it’s worked!
Cool!
In fact the 3 quotes in your replacement string are a single quote
first quote is start of string
2nd quote is escape character
3rd quote is just the quote
So if you write your SQL command in assign activity with 2 quotes (like show in my screen shot) it should work as well. Unfortunately I have no Oracle to test
I tried it for you, but it didn’t work . I put in the assign in query string ““REEL_ID””, then i tried to replace it with “REEL ID” and after that, i tried to replace with “”“REEL ID”“”, and as the result in the both tests, the column remains with REEL_ID.
Anyway, thank you for the implication. If you have another ideas to try them let me know.