Life is too short to try to remember stuff like this...

        SQL> create table x (y number(9,2));

        Table created.

        SQL> insert into x values (999999999.99);
        insert into x values (999999999.99)
                              *
        ERROR at line 1:
        ORA-01438: value larger than specified precision allows for this
column

        SQL> insert into x values (9999999.99);

        1 row created.

So, that's 9 digits in total with 7 to the left and 2 to the right...

----- Original Message -----
To: "Multiple recipients of list ORACLE-L" <[EMAIL PROTECTED]>
Sent: Tuesday, November 12, 2002 6:48 PM


> Chris, I wish i could remember, wait
>
> var_name number(9,2)  heck i can't remember if thats a total of 9 digits
> with 2 to the right, so is it 7.2 or is it 9.2
>
> damn.
>
> joe
>
>
> Grabowy, Chris wrote:
>
> >Totally off Oracle topic.
> >
> >I am studying the mainframe layout specs for a flat file, and came
> >across this "datatype", and I just want to confirm my interpretation.
> >
> >PIC 9(9)V99
> >
> >So that's 9 digits before the decimal point?
> >
> >And then two digits after the decimal point?
> >
> >And the actual data would have a decimal point?
> >
> >So in this case, for a total of 12 characters?
> >
> >123456789.99 ?
> >
> >TIA!!!
> >
> >
>
> --
> Please see the official ORACLE-L FAQ: http://www.orafaq.com
> --
> Author: Joe Testa
>   INET: [EMAIL PROTECTED]
>
> Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
> San Diego, California        -- Mailing list and web hosting services
> ---------------------------------------------------------------------
> 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: Tim Gorman
  INET: [EMAIL PROTECTED]

Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
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