adplus-dvertising
frame-decoration

Question

Which one is the correct declaration for choosing the character set other than default?

a.

Varchar(20) character set utf8;

b.

Varchar(20);

c.

Varchar(20) character set;

d.

None of the mentioned

Answer: (a).Varchar(20) character set utf8;

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. Which one is the correct declaration for choosing the character set other than default?

Similar Questions

Discover Related MCQs

Q. Which “text type” has the maximum number of bytes?

Q. Which among the following have the maximum bytes?

Q. What will happen if the data being loaded into a text column exceeds the maximum size of that type?

Q. Which data type is more suitable for storing “small notes” in Mysql?

Q. Which data type is more suitable for storing “documents” in Mysql?

Q. “Numeric Data” is used to store ____________

Q. Which Numeric Data type has the largest range?

Q. What will be the storage pattern for “float(4,2)” in Mysql?

Q. Which among the following are the correct representation of “float(4,2)”?

Q. Which among the following is the correct representation of “float(5,0)”?

Q. Which among the following is the correct representation of “float(1,1)”?

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

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 ____________