https://dev.mysql.com/create-procedure.html
For example, if a function specifies an ENUM or SET value in the RETURNS clause, but the RETURN statement returns an integer, the value returned from the function is the string for the corresponding ENUM member of set of SET members. To associate ...
https://dev.mysql.com/grant-tables.html
Table 6.7 procs_priv Table Columns Table Name procs_priv Scope columns Host Db User Routine_name Routine_type Privilege columns Proc_priv Other columns Timestamp Grantor The Routine_type column is an ENUM column with values of 'FUNCTION' or ... The ...
https://dev.mysql.com/create-table.html
Character data types (CHAR, VARCHAR, the TEXT types, ENUM, SET, and any synonyms) synonyms) can include CHARACTER SET to specify the character set for the column. Columns using BLOB, TEXT, SET, ENUM, BIT, or spatial data types are not permitted; ...
https://dev.mysql.com/data-type-defaults.html
For string types other than ENUM, the default value is the empty string. Data type specifications can have explicit or implicit default values. A DEFAULT value clause in a data type specification explicitly indicates a default value for a column.
https://dev.mysql.com/mysql-result-metadata.html
enum enum_resultset_metadata mysql_result_metadata(MYSQL_RES *result) mysql_result_metadata() returns a value that indicates whether a result set has metadata. mysql_result_metadata() returns one of these values: enum enum_resultset_metadata { ...
https://dev.mysql.com/cast-functions.html
row *************************** Table: new_table Create Table: CREATE TABLE `new_table` ( `c1` date DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 The cast functions are useful for sorting ENUM columns in lexical order. Normally, sorting of ...
https://dev.mysql.com/known-issues.html
You can have up to 255 ENUM and SET columns in one table. In MIN(), MAX(), and other aggregate functions, MySQL currently compares ENUM and SET columns by their string value rather than by the string's relative position in the set. This section ...
https://dev.mysql.com/example-auto-increment.html
You can also explicitly assign 0 to the column to generate sequence numbers, unless the NO_AUTO_VALUE_ON_ZERO SQL mode is enabled. For example: INSERT INTO animals (id,name) VALUES(0,'groundhog'); If the column is declared NOT NULL, it is also ...
https://dev.mysql.com/myisamchk-table-info.html
To obtain a description of a MyISAM table or statistics about it, use the commands shown here. The output from these commands is explained later in this section. myisamchk -d tbl_name Runs myisamchk in “describe mode” to produce a description ...
https://dev.mysql.com/extensions-to-ansi.html
Data types The MEDIUMINT, SET, and ENUM data types, and the various BLOB and TEXT data types. MySQL Server supports some extensions that you probably will not find in other SQL DBMSs. Be warned that if you use them, your code will not be portable ...