adplus-dvertising
frame-decoration

Question

What is the best datatype for a column that is expected to store values up to 2 million?

a.

SMALLINT

b.

TINYINT

c.

MEDIUMINT

d.

BIGINT

Answer: (d).BIGINT

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. What is the best datatype for a column that is expected to store values up to 2 million?

Similar Questions

Discover Related MCQs

Q. MySQL does not provide a date type that has an optional time part.

Q. Which variable checks for the availability of SSL support?

Q. The grant table scope columns that is case insensitive is _____________

Q. The TLS protocol is _____________

Q. How many files does each end of a client/server connection including SSL support use to set up secure communications?

Q. The value of event_scheduler that enables checking status but not changing it at runtime is ______________

Q. The statement that is used to check the status of the event scheduler at runtime is _____________

Q. The line that is not used to turn on the event scheduler is _________________

Q. REGEXP does not take collation into account.

Q. What does the expression ‘2 BETWEEN 2 AND 5’ result in?

Q. What does ‘abc’ || ‘xyz’, when PIPES_AS_CONCAT is enabled, result in?

Q. What causes a replication master server to delete all the binary log files even if they are still in use?

Q. Which of these grant table scope columns is case insensitive?

Q. The table that lists the column level privileges is _____________

Q. Which table lists the accounts and the databases for which the privileges are provided?

Q. How is a stored procedure invoked?

Q. Triggers and events are not invoked automatically by the server.

Q. Triggers are not supported for _____________

Q. What does LAST_INSERT_ID() return when no AUTO_INCREMENT value has been generated during the current connection?

Q. How can the value of recently generated sequence number be obtained?