Last answered:

12 Dec 2022

Posted on:

10 Dec 2022

0

why is it (10,2) in particular ?

why in decimal he but a 10,2

1 answers ( 0 marked as helpful)
Instructor
Posted on:

12 Dec 2022

0

Hi Tasneem!
Thanks for reaching out.

DECIMAL(10,2) means you can have a decimal number with a maximal total precision of 10 digits. Two (2) of them after the decimal point and eight (8) before. It is not so important why this is used. It is important to know how it works. The idea is to have option for bigger salaries.

Hope this helps.
Best,
Tsvetelin

Submit an answer