If you specify the data type as DECIMAL (5,2), what?s the
range of values that can go in this table?

Answers were Sorted based on User's Feedback



If you specify the data type as DECIMAL (5,2), what?s the range of values that can go in this tabl..

Answer / amith

999.99 to -99.99. Note that with the negative number the
minus sign is considered one of the digits.

Is This Answer Correct ?    11 Yes 5 No

If you specify the data type as DECIMAL (5,2), what?s the range of values that can go in this tabl..

Answer / rajesh kumar

minimum: -999.99
maximum: +999.99

It takes M+2 bytes to store. Here M is 5 and two extra byte
for storing sign & decimal.

Is This Answer Correct ?    5 Yes 3 No

Post New Answer

More MySQL Interview Questions

Should I use pdo or mysqli?

0 Answers  


How can you add and remove any column of a table?

0 Answers  


Are stored procedures precompiled?

0 Answers  


What is sharding in mysql?

0 Answers  


Is mysql relational database?

0 Answers  






How do you know if your mysql server is alive?

0 Answers  


What are the difference between mongodb and mysql?

1 Answers  


How is oracle different from mysql?

0 Answers  


What is index length in mysql?

0 Answers  


Is mysql connect deprecated?

0 Answers  


What is csv?

0 Answers  


How do you create a primary key?

0 Answers  


Categories