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: NUMBER PROBLEM

Re: NUMBER PROBLEM

From: Regina Harter <rharter_at_emc-inc.com>
Date: Fri, 14 Dec 2001 11:47:11 -0800
Message-ID: <F001.003DCEEE.20011214104018@fatcity.com>

When I encounter a situation like this, I usually make a temporary table containing the primary key and the field in question, load it with data from the table, update the field in the real table with null, modify the field type, then reload from the temporary table.

At 09:25 AM 12/14/01 -0800, you wrote:
>Hi,
>
>We have created our table column with datatype NUMBER (where it should be
>NUMBER(38,0))
>Now ODBC is treating NUMBER as double precision instead of integer which is
>breaking our code.
>Does there any way to convert NUMBER to number(38)..without export/import
>utility???????
>Alter table is not working as it it giving error table column should be
>empty.
>Tables have more than 10 million rows.
>
>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: Regina Harter
  INET: rharter_at_emc-inc.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 Fri Dec 14 2001 - 13:47:11 CST

Original text of this message

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