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: Numerical Data Size

Re: Numerical Data Size

From: Andrew Babb <andrewb_at_mail.com>
Date: Thu, 29 Apr 1999 09:25:58 +0800
Message-ID: <3727B525.CE51A26E@mail.com>


Hi Julia,

The numerical definition can be read as follows;

I want to be able to load a number that is upto 4 digits in length, 2 of which may be after the decimal point.

There is no way, except with the use of a CHECK constraint to specify that the number should be less than 100.

Hope this helps,
Andrew

Julia Cristina Varela de Montoya wrote:

> I ran a sql loader today. I insert a flat file with numerical data that
> was as such: 99.99, including the decimal. It never exceed 2,2 in every
> case. I defined the table column as DECIMAL(2,2). I got an error on the
> load, and could only load it when I make the column DECIMAL(4,2) Can
> someone tell me why I need DECIMAL(4,2) for xx.yy? Thank you very much.
Received on Wed Apr 28 1999 - 20:25:58 CDT

Original text of this message

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