QuestionQ164

VerifiedManipulating Data

A table is created with this command:

CREATE TABLE rate_list (rate NUMBER(6,2));  

Which two statements about executing inserts are true?

Choose two
Explanation

For NUMBER(6,2), precision is six total digits and scale is two digits to the right of the decimal point. Oracle rounds excess fractional digits to the specified scale, so -.9 is a valid stored value and 0.551 is rounded to .55. A value that exceeds the resulting precision raises an error. Oracle Database SQL Language Reference: Data Types

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!