February 2018
Intermediate to advanced
510 pages
16h 10m
English
MySQL SET is a data type which can have zero or more values. A permitted list of values is specified at the time of table creation. Each value must be from within the list of permitted values. Multiple set members are specified by a comma (,) separated list of values. A SET can have a maximum of 64 distinct members. If strict mode is enabled, an error is generated if duplicate values are found in the column definition.
It must be taken care that SET member values do not contain commas; otherwise, they are interpreted as SET member separators.
A column specified as SET('yes', 'no') NOT NULL can have any of the following values:
Trailing spaces are removed automatically from SET member values. Upon retrieval, ...
Read now
Unlock full access