Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6363231
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T00:00:43+00:00 2026-05-25T00:00:43+00:00

I’ve been trying to understand Oracle database’s use of data type = number. I

  • 0

I’ve been trying to understand Oracle database’s use of data type = number. I ran across the following link:

ask tom

and I’m having trouble interpreting it. I should mention I don’t have Oracle background, but approaching this from Matlab experience. I understand number data type has a precision and scale. What I don’t understand is how the exponent is treated here. Is the exponent a separate consideration from precision and scale? Or, is the exponent limited by precision and scale?

Here’s my confusion — the above link starts with:

Q: I declared the datatype of a column of a table as NUMBER & Presumed it to
be Number(38) to be specific. But What I found to be strange that, it is
accepting digits beyong 38 digits.ie. 1.111E+125. If the Datatype’s precision
is 38 and scale can range from -84 to 127 how this value can insert into the column.

A: and we said…
1.111e+125 only has 4 digits of precision (number of digits needed to represent
the number — in this case 1111).

Which seems to indicate the exponent is treated separate from precision and scale. But a few messages down someone else asks:

Q: When I create a table like:
create table test(no number(7)) ;
insert into test values(1.00e+25) ;
it gives the following error message:
ORA-01438: value larger than specified precision allows for this column.
Can u pls. explain this.

A: you said 7 digits, you gave it 25

which seems to indicate the exponent is limited by the precision. Hoping someone can help me understand how both answers can be correct.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T00:00:44+00:00Added an answer on May 25, 2026 at 12:00 am

    number(7) is an integer with (at most) seven digits (in the “normal” decimal representation). Note that fractions are not allowed. Numbers larger than 9,999,999 will not be accepted. This has nothing to do with how many significant digits they have. This is a “business constraint” put in place by you.

    number(7,2) would be a number with seven digits, including two after the decimal point

    number is a floating point number with 38 digits of precision (i.e. 38 significant digits, no matter where they are in relation to the decimal point). The exponent can be anything between -84 and 125. There are no “business contraints” here. You can store as much as Oracle can store (which is 38 digits and the exponent between -84 and 125).

    Note that all these numbers are stored as decimal data (to avoid rounding errors when converting into binary), so “digits” really mean decimal digits (not binary bits).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am trying to understand how to use SyndicationItem to display feed which is
link Im having trouble converting the html entites into html characters, (&# 8217;) i
I'm trying to use string.replace('’','') to replace the dreaded weird single-quote character: ’ (aka
I ran into a problem. Wrote the following code snippet: teksti = teksti.Trim() teksti
I have a jquery bug and I've been looking for hours now, I can't
Basically, what I'm trying to create is a page of div tags, each has
I have a string like this: La Torre Eiffel paragonata all’Everest What PHP function
I want use html5's new tag to play a wav file (currently only supported
I'm using v2.0 of ClassTextile.php, with the following call: $testimonial_text = $textile->TextileRestricted($_POST['testimonial']); ... and
I am trying to render a haml file in a javascript response like so:

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.