sqlplus not showing column names
Posted on 2009-04-01
I have a query that returns all the columns from my DB base on the provided criteria. The problem is that there are 81 columns and I need to see which values correspond to each column name.
The query is as folows:
set colsep ,
set heading on
set feedback off
set pagesize 0
set linesize 3000
set trimspool on
select * from doctaba where A33 in (07323910933,07323910934)
I see all the data in the sqlplus output and the csv file, but do not see what column is associated with each value. My DBA says the only way to get the column names is by specifying each column individually in the select. Is this correct? I really don't want to specify 81 column names.