Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: Invalid column in table - how to access it?
Rao - And you'll save yourself a lot of trouble if you just drop this table.
If it has valuable data in it, you can use Guang's methods to move the data
into a new table. The quicker you do this, the less pain in the long run.
Dennis Williams
DBA, 40%OCP, 100% DBA
Lifetouch, Inc.
dwilliams_at_lifetouch.com
-----Original Message-----
Sent: Friday, February 28, 2003 1:05 PM
To: Multiple recipients of list ORACLE-L
Use: Select "name" from messages;
See this example:
SQL> create table t1 ("col1" number);
Table created.
SQL> desc t1;
Name Null? Type ----------------------------------------- -------- ------------------------ ---- col1 NUMBER
SQL> insert into t1 (col1) values (1);
insert into t1 (col1) values (1)
*
SQL> insert into t1 ("col1") values (1);
1 row created.
SQL> select col1 from t1;
select col1 from t1
*
ERROR at line 1:
ORA-00904: invalid column name
SQL> select "col1" from t1;
col1
1
Guang
> -----Original Message-----
> From: root_at_fatcity.com [mailto:root_at_fatcity.com]On Behalf Of
> maheswara.rao_at_sungard.com
> Sent: Friday, February 28, 2003 1:40 PM
> To: Multiple recipients of list ORACLE-L
> Subject: Invalid column in table - how to access it?
> >
>
>
>
>
>
>
>
>
>> To REMOVE yourself from this mailing list, send an E-Mail message
> Fat City Network Services -- 858-538-5051 http://www.fatcity.com
> San Diego, California -- Mailing list and web hosting services
> ---------------------------------------------------------------------
-- Please see the official ORACLE-L FAQ: http://www.orafaq.net -- Author: gmei INET: gmei_at_incyte.com Fat City Network Services -- 858-538-5051 http://www.fatcity.com San Diego, California -- Mailing list and web hosting services --------------------------------------------------------------------- To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing). -- Please see the official ORACLE-L FAQ: http://www.orafaq.net -- Author: DENNIS WILLIAMS INET: DWILLIAMS_at_LIFETOUCH.COM Fat City Network Services -- 858-538-5051 http://www.fatcity.com San Diego, California -- Mailing list and web hosting services --------------------------------------------------------------------- To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing).Received on Fri Feb 28 2003 - 13:25:08 CST