Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> RE: export fails with invalid column name

RE: export fails with invalid column name

From: Christopher Spence <cspence_at_FuelSpot.com>
Date: Wed, 08 Aug 2001 11:21:53 -0700
Message-ID: <F001.00364C63.20010808113001@fatcity.com>

Column position is completely inmaterial. Except for putting nulls near the end of the table. If you really want it in that format use a view or use ctas and put it in that format with the ctas syntax when you create the table.

"Do not criticize someone until you walked a mile in their shoes, that way when you criticize them, you are a mile a way and have their shoes."

Christopher R. Spence OCP MCSE MCP A+ RAPTOR CNA Oracle DBA
Phone: (978) 322-5744
Fax: (707) 885-2275

Fuelspot
73 Princeton Street
North, Chelmsford 01863  

-----Original Message-----
Sent: Wednesday, August 08, 2001 2:27 PM To: 'Christopher Spence'

but when i add the column it will added as last column but i want to add this column between the columns.....

-----Original Message-----
Sent: Wednesday, August 08, 2001 2:59 PM To: Multiple recipients of list ORACLE-L

Are you saying the table you are importing to has a different column name/datatype?

If so, I would add the old column to the table, import it, then create the new column and use an update statement to move the data over. Then drop the old column.

If the table isn't huge, you can load it into a difference schema, then use ctas syntax to move it over to a new table.

Watch out for references though.

"Do not criticize someone until you walked a mile in their shoes, that way when you criticize them, you are a mile a way and have their shoes."

Christopher R. Spence OCP MCSE MCP A+ RAPTOR CNA Oracle DBA
Phone: (978) 322-5744
Fax: (707) 885-2275

Fuelspot
73 Princeton Street
North, Chelmsford 01863  

-----Original Message-----
Sent: Wednesday, August 08, 2001 2:30 PM To: Multiple recipients of list ORACLE-L

Hi,

We have a table in which one of column name and datatype is change from 1 version to next..... like earlier column name is status number, it is changed to tx_status raw(16)....... when i try to import this table to new version from export dump of earlier version.... i am getting error: invalid column name .export fails......... column is null for all rows........ How can i migrate this table to new version ..without using sql loader.......

Thanks
Harvinder
--

Please see the official ORACLE-L FAQ: http://www.orafaq.com
--

Author: Harvinder Singh
  INET: Harvinder.Singh_at_MetraTech.com

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
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.com
--

Author: Christopher Spence
  INET: cspence_at_FuelSpot.com
Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
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.com
--

Author: Christopher Spence
  INET: cspence_at_FuelSpot.com
Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
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 Wed Aug 08 2001 - 13:21:53 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US