Mysql
 sql >> Database >  >> RDS >> Mysql

Determina la lunghezza massima consentita in una colonna in MySQL

SELECT CHARACTER_MAXIMUM_LENGTH
  FROM INFORMATION_SCHEMA.COLUMNS
 WHERE table_name = 'your_table_name'
   AND table_schema = 'your_db_name'
   AND column_name = 'your_column_name'
 LIMIT 0 , 1