The query runs fine and creates OUTFILE. The problem is instead of value of r.issue_description coming in the results, it is being outputted as it is. The output is like below.
The same query runs fine when ran against sql developer. I am assuming its something to do with the unix single and double quotes. Please can someone help.
Earlier the query was same without the double quotes and works fine. But the problem is, since the issue_discription has commas in its value, while opening the csv file, the formatting is all lost. Hence I included the quotes to enclose the text value as should be done normally while running any DB query.
---------- Post updated at 05:06 AM ---------- Previous update was at 04:28 AM ----------
Hi, I got the issue. Just use the escape character and it works!!