Question

In: Computer Science

Explain in your own words what the precision (p) and scale (s) parameters for the Oracle...

Explain in your own words what the precision (p) and scale (s) parameters for the Oracle data type NUMBER mean.

Solutions

Expert Solution

Dear Student ,

As per the requirement submitted above , kindly find the below solution.

Oracle data type NUMBER :

  • In oracle number data type is used to store the integer values and floating point values.
  • This means if need to store age of a person then number is used because age is represented with integer values such as 12,36,42 etc.
  • But if there is requirement to store mobile number of a person then number(10) can be used.
  • This means phone number can contains only digits.This is called  precision (p).
  • If there is requirement to store price of a product , then price might be in fraction and hence number(5,2) can be used.
  • This means price can store upto 5 digits before decimal point and after decimal point there is 2 digits.
  • This is called number(p,s) , here p stands for precision and s stands for scale.
  • In oracle precision can be vary from 1 to 38
  • and scale cab be vary from -84 to 127.

NOTE : PLEASE FEEL FREE TO PROVIDE FEEDBACK ABOUT THE SOLUTION.


Related Solutions

In the design of large scale nitric acid project , explain in your own words 1....
In the design of large scale nitric acid project , explain in your own words 1. any consideration regarding heat recovery and, 2. the rationale for any decisions made on this aspect. kindly explain in detail Thanks
In your own words, explain what is meant by OH&S risk and risk assessment.
In your own words, explain what is meant by OH&S risk and risk assessment.
In your own words, explain what an outlier is.
In your own words, explain what an outlier is.
a.   Write out in your own words what the van der Waals a and b parameters...
a.   Write out in your own words what the van der Waals a and b parameters represent. b.   Rank in increasing order the van der Waals a and b parameters for the following four gases: Hydrogen, Benzene, Ethanol, and Ethane. Check your intuition by looking up these values and explaining the observed trends in a and b.
Explain in your own words why the margin of error is the largest when p is...
Explain in your own words why the margin of error is the largest when p is 0.5, and how many participants would we need to ensure that the margin of error is smaller than 0.05 using a 95% confidence interval.
Explain in your own words how you would go about developing a behaviorally anchored rating scale
Explain in your own words how you would go about developing a behaviorally anchored rating scale
Describe the term "economies of scale" in your own words. Is this a short-run concept or...
Describe the term "economies of scale" in your own words. Is this a short-run concept or a long-run concept; why?
Explain, in your own words, what a derivative represents geometrically.
Explain, in your own words, what a derivative represents geometrically.
Describe nuclear binding energy. In your own words, explain nuclear radioactivity. In your own words, explain...
Describe nuclear binding energy. In your own words, explain nuclear radioactivity. In your own words, explain the radio decay process. In your own words, explain nuclear reactions.
In your own words, please explain the Conflict Perspective. Provide an example. In your own words,...
In your own words, please explain the Conflict Perspective. Provide an example. In your own words, please explain the Interactionist Perspective. Provide an example.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT