• edited by
2,488 views

1 Answer

Best answer
6 6 votes

Answer would be (D) It is variable.

TINYBLOB, TINYTEXT                       L + 1 bytes, where L < 2^8
BLOB, TEXT                                      L + 2 bytes, where L < 2^16
MEDIUMBLOB, MEDIUMTEXT            L + 3 bytes, where L < 2^24
LONGBLOB, LONGTEXT                     L + 4 bytes, where L < 2^32

Variable-length string types are stored using a length prefix plus data. The length prefix requires from one to four bytes depending on the data type, and the value of the prefix is L (the byte length of the string). For example, storage for a MEDIUMTEXT value requires L bytes to store the value plus three bytes to store the length of the value.

Here is the Reference. 

• selected by
Position:
Show:

Related questions

0 0 votes
1 1 answer
26
26 views
GO Classes asked 14 hours ago
26 views
The database contains:$\mathrm{Users}(\mathrm{uid},\mathrm{name},\mathrm{dob},\mathrm{user\_type})$$\mathrm{Posts}(\mathrm{pid},\mathrm{folder},\mathrm{summary})$$\mathrm...
1 1 vote
1 1 answer
28
28 views
GO Classes asked 15 hours ago
28 views
The Adjacency List table stores the data for the tree structure shown below. Which SQL keyword should be inserted at $\mathbf{[a]}$ to retrieve the leaf nodes of the tree...
0 0 votes
1 1 answer
19
19 views
GO Classes asked 16 hours ago
19 views
Consider:SQL Statement $\mathbf{1}$$\mathrm{SELECT\ *}$ $\mathrm{FROM\ R}$ $\mathrm{UNION}$ $\mathrm{SELECT\ *}$ $\mathrm{FROM\ R}$;SQL Statement $\mathbf{2}$$\mathrm{SEL...
0 0 votes
1 1 answer
22
22 views
GO Classes asked 16 hours ago
22 views
Consider the following $\mathrm{Product}$ table:$$\begin{array}{|c|c|c|c|} \hline \mathrm{ProductID} & \mathrm{Product} & \mathrm{SupplierID} & \mathrm{UnitPrice} \\ \hli...