adplus-dvertising
frame-decoration

Question

Which data type is used to store data and time in Mysql?

a.

Numeric data type

b.

Text data type

c.

Temporal data type

d.

Char/Varchar

Answer: (c).Temporal data type

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. Which data type is used to store data and time in Mysql?

Similar Questions

Discover Related MCQs

Q. What is the default format for “Date” data type?

Q. What is the default format for “Datetime” data type?

Q. What is the default format for “Timestamp” data type?

Q. What is the default format for “Year” data type?

Q. What is the default format for “Time” data type?

Q. Is “Datetime” and “Timestamp” are same data type?

Q. Which value will show an error when stored in float(4,2)?

Q. The datatype for single precision floating point number is ____________

Q. Which datatype is used for a fixed length binary string?

Q. Which datatype means a variable length non binary string?

Q. Which data and time datatype stores time value in ‘hh:mm:ss’ format?

Q. Which spatial datatype is used to store a curve?

Q. How many of the following attributes are allowed only for numeric types?

UNSIGNED, ZEROFILL, CHARACTER SET, COLLATE

Q. A DEFAULT value cannot be supplied to spatial types.

Q. A DEFAULT value cannot be supplied to TEXT types.

Q. The datatype INT stores ___________

Q. The datatype SMALLINT stores ___________

Q. The maximum non zero value for FLOAT is ___________

Q. The maximum non zero values for DOUBLE is ___________

Q. The storage size in bytes required for the MEDIUMINT datatype is ___________