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

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

How do I delete a mysql user?

456


What are the applications required to support mysql?

479


What is dirty read and phantom read?

439


Can we rename database in mysql?

484


How to dump a table to a file with 'mysqldump'?

517






What do you understand by mysql terminal?

511


What is mysql primary key?

514


what is constraints? Also explain the different types of constraints?

516


Does adding an index lock a table?

481


What is the data type for image?

602


Can you tell the difference between mysql_fetch_object and mysql_fetch_array?

497


What are the security alerts while using mysql?

569


how to dump all databases for backup. Backup file is sql commands to recreate all db's.

442


What is schema in mysql?

489


What is the difference between heap table and temporary table?

607