How can I report a number of variable with a precision of 127 type?

I try to declare a variable with precision - like for example V_NUM NUMBER (1,127).

According to oracle, it should be possible-

http://docs.Oracle.com/CD/E11882_01/server.112/e41084/sql_elements001.htm#SQLRF30020

2

NUMBER[ (p [, s]) ]

Number having precision p and scale s . Precision p may vary from 1 to 38. Wide s can vary from-84 to 127. Precision and scale are in decimal digits. A NUMBER value requires 1 to 22 bytes.

but after the execution of the present

declare

Number V_NUM (1 127);

Start

V_NUM: = 1.2333333333333333333333234343435;

DBMS_OUTPUT. PUT_LINE (V_NUM);

end;

/

I got error (I know that p must be greater, then s - but I can't figured an example for this case s = 127)

Error starting line: 1 at the controls.

declare

Number V_NUM (1 127);

Start

V_NUM: = 1.2333333333333333333333234343435;

DBMS_OUTPUT. PUT_LINE (V_NUM);

end;

Error report-

ORA-06502: PL/SQL: digital error or value: number too high accuracy

ORA-06512: at line 4 level

06502 00000 - "PL/SQL: digital error or the value of %s.

* Cause: A digital arithmetic error, String, conversion or coercion

has occurred. For example, this error occurs if an attempt is made to

assign the NULL value to a variable declared NOT NULL, or if a

attempt to assign an integer greater than 99 to a variable

NUMBER (2) declared.

* Action: Change the data, how it is handled, or how it is so declared

that values do not violate the constraints.

Is it possible to reach my goal?

Ok. I found this ;)

Thank you

Tags: Database

Similar Questions

Maybe you are looking for

  • When I connect to a site that requires a password, why don't the Save password check box appears open, even though I have this feature enabled?

    I activated the "Save password" function on & off, press on save and even restarted my computer and I nothing will cause the box 'Save password' open pop and give me a chance to save my passwords. It burst open for a few sites, but for most, it pops

  • I can't get updates to start!

    Windows Vista does not just update, I tried almost everything, I did click fix lastnight idea and that has not worked. Here is the screenshot of the error message, but im pretty sure that someone who had this problem has seen before. http://img8.imag

  • Update Dell 1.6.1007.0

    Greetings, After the Dell Update 1.6.1007.0 has been installed, the touchpad / mouse control has changed.  Now, when a link is vacuum above, it acts as if it has been activated on.  Any idea on how to reset the control for the button of the mouse to

  • Downgrade from Windows

    Hi, is it possible to downgrade my PC Win 7 Enterprise to Win 7 Pro?

  • Trying to set up a virtual private network

    I thought a SSL VPN would be good, but everytime I go to connect to him, I have clicked through security warnings and install a securty certificate. Other than the VPN works, but it less tech savy (and more) users will use this vpn, and they won't ha