1

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?

1
  • See my answer. Note having things in columns seems to contradict as just csv perhaps unless you wanted lots of space separators. Commented May 16, 2012 at 9:53

1 Answer 1

3
select 
quote_id || ', ' || coverage_amount 
from Customer;
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.