# Binary Large Object Data Types
__*BLOB DATA TYPE*__
+ **`BLOB`**:
  + Binary large object
  + Variable-length binary byte string
  + Including **`TINYBLOB`**, **`BLOB`**, **`MEDIUMBLOB`**, **`LONGBLOB`** length corresponds to **`TEXT`** type respectively
```
tidb> CREATE TABLE test.bbb (id BLOB);
tidb> INSERT INTO test.bbb VALUES (CAST('SD' AS BINARY));
tidb> INSERT INTO test.bbb VALUES ('SD');
tidb> SELECT id, cast(id AS CHAR) FROM test.bbb;
+------------+------------------+
| id         | cast(id as char) |
+------------+------------------+
| 0x5344     | SD               |
| 0x5344     | SD               |
+-------------------------------+
```

------------------------------------------------------------
A BLOB is a large binary object. M indicates the maximum column length in bytes, ranging from 0 to 65,535.
The MEDIUMBLOB type is similar to the BLOB type. The difference is that the maximum column length for MEDIUMBLOB is 16,777,215.
The LONGBLOB type is similar to the BLOB type. The difference is that LONGBLOB has a maximum column length of 4,294,967,295.

