Question
Easy

In SQL decimal data type, ........... indicates the maximum number of digits to the right of decimal point.

1
Fraction
2
Float
3
Precision
4
Scale
Question Details
Time to Solve: 12
Exam: HTET
Level/Paper: Level 3
Chapter:
Topic:
Correct Answer
Option D
Explanation

The correct option is (4): Scale is the specific parameter in the SQL DECIMAL or NUMERIC data type definition that determines the maximum number of digits that can be stored to the right of the decimal point. When you define a column as DECIMAL(P, S), 'P' stands for Precision and 'S' stands for Scale. The Scale value dictates the fractional part of the number. For instance, a column defined as…Read More