Vidyalelo
MySQL · Q833

MySQL

Programming · MySQL · question 833

Q833

A DEFAULT value cannot be supplied to TEXT types.

A.
True
Answer
B.
False

Answer: Option A

Solution

Answer: Option A
Solution:
This question is asking about DEFAULT values in MySQL and how they relate to the TEXT data type.

DEFAULT values are values that are automatically assigned to a column when a new row is inserted into a table, and you don't explicitly specify a value for that column.

TEXT data types are used to store large amounts of text data, like articles, paragraphs, or long descriptions.

So, can you assign a DEFAULT value to a TEXT column?

The answer is False.

You can assign a DEFAULT value to a TEXT column in MySQL.

For example, you could set the default value for a TEXT column called 'description' to 'N/A' to indicate that no description is available.

So, the correct answer is Option B: False.