Reputation: 153
I am writing a batch script for Oracle and want my output in a text file, columns separated by commas.
select
quote_id ,
coverage_amount from Customer;
But it is coming as tab-delimited. How to get them separated by commas?
Upvotes: 1
Views: 3925
Reputation: 96484
select
quote_id || ', ' || coverage_amount
from Customer;
Upvotes: 3