TINYBLOB
Very small binary object. A TINYBLOB column can store up to 255 bytes of binary data.
Syntax
TINYBLOBDescription
EXAMPLES
TINYBLOB
CREATE TABLE tinyblob_example (
description VARCHAR(20),
example TINYBLOB
) DEFAULT CHARSET=latin1; -- One byte per char makes the examples clearerINSERT INTO tinyblob_example VALUES
('Normal foo', 'foo'),
('Trailing spaces foo', 'foo '),
('NULLed', NULL),
('Empty', ''),
('Maximum', RPAD('', 255, CHAR(7)));Data too Long
See Also
Last updated
Was this helpful?

