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]
↧