Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: Column alias giving ORA-00972
Oracle table column names are limed to 30 bytes, period.
However, since you are selecting off an existing table that would indicate that the real column name is less than or equal to 30 characters. Perhaps what you want is just a column label over 30 characters. Again the limit is 30.
SOMENAMEOTHERTHANTHEREALONE
I think you are out of luck or I do not understand what you are really
asking.
HTH -- Mark D Powell --
-----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:59:07 CDT
![]() |
![]() |