Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: Column alias giving ORA-00972
Create your own header?
Select 'col1', 'I have a very long column name here' from dual
UNION
select
col1
,col2
from tab;
-----Original Message-----
From: oracle-l-bounce_at_freelists.org
[mailto:oracle-l-bounce_at_freelists.org] On Behalf Of Jonathan Knight
Sent: Wednesday, April 05, 2006 11:14 AM
To: oracle-l_at_freelists.org
Subject: Column alias giving ORA-00972
All,
Trying to ...
select
col1
,col2 "I have a very long column name here"
from tab;
... and I'm getting ORA-00972. The query is passed into a reporting subsystem which outputs to Excel and automagically emails the report to a vendor. They really want the long name. I think I already know the answer, but does anyone know of a way to force/fake/beat into submission the Oracle parser?
Thanks,
Jon Knight
-- http://www.freelists.org/webpage/oracle-l -- http://www.freelists.org/webpage/oracle-lReceived on Wed Apr 05 2006 - 12:20:25 CDT