adplus-dvertising
frame-decoration

Question

Which datatype is best suited to store currency values?

a.

INT

b.

FLOAT

c.

DOUBLE

d.

DECIMAL

Posted under MySQL Database

Answer: (d).DECIMAL

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. Which datatype is best suited to store currency values?

Similar Questions

Discover Related MCQs

Q. MySQL provides a date type that has an optional time part.

Q. If a column is expected to store values up to 2 million, the best datatype for it is _____________

Q. Which of these types store the longest length of strings?

Q. AUTO_INCREMENT columns must be NOT NULL.

Q. Which of these values is not valid as an AUTO_INCREMENT value?

Q. If an integer column is used for the values in range 1 to 99999, the best suitable datatype is ____________

Q. INT2 maps to MySQL type _____________

Q. INT3 maps to MySQL type _____________

Q. Which of these is not an exact numeric type?

Q. How many of the following do not support ‘BIT’ data type?

MyISAM, MEMORY, NDB

Q. The statement that suspends the replication related activity of the slave server is _____________

Q. The minimum value stored by signed TINYINT is _____________

Q. MySQL uses security based on ACL. What does it stand for?

Q. On Unix, ‘mysql’ client writes a record of executed statements to a history file.

Q. A password applies locally to an account.

Q. If $a represents an array with numeric indices in PHP, the first element accessed by ______________

Q. The operator used in PHP to access property of an object is ________________

Q. The maximum value that can be specified to the size of VARCHAR is _____________

Q. The storage in bytes required for VARCHAR(4) type ‘abcd’ is _____________

Q. Which mode does not remove trailing spaces when CHAR values are retrieved?