Quantcast
Channel: Toad for Oracle
Viewing all articles
Browse latest Browse all 4009

Forum Post: RE: How do I add the colum'names in exporting SQL to text using Run as script

$
0
0
PS. If any of the data in the columns in your query have spaces, commas then you will need to wrap those columns in double quotes for the csv to be valid, so: Select ' " ' || cli || ' ",' || ... I've left a space before and after the double quotes so you can tell them apart from the single quotes. Also, does any of the data have double quotes? If so, you must find them and double them up. Something like: Select ' " ' || replace (cli, ' " ',' "" ') || ' ",' || ... Again, I've put spaces in where they do not need to be, just to separate single and double quotes. Hth Cheers, Norm. [TeamT]

Viewing all articles
Browse latest Browse all 4009


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>