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

Home -> Community -> Usenet -> c.d.o.server -> Re: Which column caused ORA-01438?

Re: Which column caused ORA-01438?

From: Noel <tomekb_at_softman.pl>
Date: Wed, 2 Jun 2004 09:25:50 +0200
Message-ID: <c9jvcn$i0s$1@inews.gazeta.pl>


> There is absolutely no excuse for a table with 303 columns.
> Well there may be one or two good excuses. But in 35+ years in IT I've
> yet to see it.
> Fix the real problem ... make your schema relational.

Hello.
Its like warehouse table.
I don't know how 303 got into my mind.
I'm sorry that i didn't check first.
Table has actually 248 columns and over 17 millions of rows.

TYPE COUNT(*)
--------------- ---------

DATE                    5
NUMBER                218
VARCHAR2               25


most of them are numerics and store values of several account balances for each clients in database. It is filled every day to keep values up to date, but there is need to access previous values.
It had to be created and managed that way, becouse all of data comes from other, non Oracle application.

To find a 'too short' column i had to search only 25 columns, with hope that there is no violation in any of numeric field.

And finally, since new application comes, this table soon become a relict, so there is no need to rebuild it in any way. New application joins two old applications.

--
TomekB
Received on Wed Jun 02 2004 - 02:25:50 CDT

Original text of this message

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