0 votes
in Sql by
What is the difference between BLOB AND TEXT?

1 Answer

0 votes
by
A BLOB is a binary large object that can hold a variable amount of data. There are four types of BLOB –

TINYBLOB
BLOB
MEDIUMBLOB and
LONGBLOB
They all differ only in the maximum length of the values they can hold.

A TEXT is a case-insensitive BLOB. The four TEXT types

TINYTEXT
TEXT
MEDIUMTEXT and
LONGTEXT
They all correspond to the four BLOB types and have the same maximum lengths and storage requirements.

The only difference between BLOB and TEXT types is that sorting and comparison is performed in case-sensitive for BLOB values and case-insensitive for TEXT values.

Related questions

0 votes
asked Jan 13 in Sql by DavidAnderson
0 votes
asked Jan 14 in Sql by AdilsonLima
...