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: [EMAIL PROTECTED]
>
>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: [EMAIL PROTECTED] (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: [EMAIL PROTECTED]

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: [EMAIL PROTECTED] (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).

Reply via email to