Mysql
 sql >> Base de données >  >> RDS >> Mysql

Obtenir la longueur maximale autorisée dans la colonne, mysql

select COLUMN_NAME, CHARACTER_MAXIMUM_LENGTH 
from information_schema.columns
where table_schema = DATABASE() AND   -- name of your database
      table_name = 'turno' AND        -- name of your table
      COLUMN_NAME = 'nombreTurno'     -- name of the column