adplus-dvertising
frame-decoration

Question

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

UNSIGNED, ZEROFILL, CHARACTER SET, COLLATE

a.

1

b.

2

c.

3

d.

4

Posted under MySQL Database

Answer: (b).2

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. How many of the following attributes are allowed only for numeric types? UNSIGNED, ZEROFILL, CHARACTER SET, COLLATE

Similar Questions

Discover Related MCQs

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 ___________

Q. The size of the BIT type is ___________

Q. The REAL type is synonym for ___________

Q. The maximum number of elements allowed in SET() is ___________

Q. The number of binary string types among the following is ___________

BINARY, VARBINARY, BLOB, CHAR

Q. The maximum size in bytes of a row in MySQL is __________

Q. MEMORY tables do not support BLOB and TEXT indexes.

Q. MySQL works with spatial values in 3 formats.

Q. By default, MySQL clips out of range numeric values to the nearest fit value.

Q. For which type are illegal values converted to the appropriate ‘zero’ value?

Q. What is the command to see the warning messages?

Q. The SQL mode to check for divide by zero error is ________________

Q. Which mode is used to turn on strict mode and all of the additional restrictions?

Q. Which mode is a shorthand for ‘both strict modes plus a bunch of other restrictions’?