Oracle PL/SQL Query

Thanks for the tag mate @kirankumar.mahanthi1, appreciate it!

Welcome to the UiPath Community @VicP!

I think the issue is with the reserved characters in the query → This means there are some characters that are reserved in VB as a part of syntax and functions for eg.: " " double quote is reserved to let the complier to know that whatever is inside this is a string.

So I suggest you to replace the reserved characters with the required tag
for double quote simply add one more double quote, that will keep the double quote as it is.
For eg: ““ExtractR”” → this will be “ExtractR” in the complied query

You can give a try to this and also one link mentioned below can help.

Replace Slash with non-reserved character | PLSQL

What is suggested to go about the procedure by breaking to see what all this are causing the issue. Execute a smaller part to gain more clear idea.

Hope this helps!