How to Create Flat File With One Column Heading But No Underline
(Doc ID 2259173.1)
Last updated on APRIL 25, 2017
Applies to:SQL*Plus - Version 22.214.171.124 and later
Information in this document applies to any platform.
A user wants to spool data into a .csv file from SQL*Plus, but the output is not as desired.
The spooled output must meet the following criteria:
1. The query selects all columns, but not have them concatenated with pipe signs. That is, need to have query "select * from mytable", and not "select col1 ||','||col2||','||col3 from mytable".
2. Have each column data separated by a delimiter (for example, a comma).
3. Include one row of column headings at the top of spooled flat file.
4. Remove dashed underline shown under the column heading.
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!
In this Document