SELECT CHARACTER_MAXIMUM_LENGTH FROM INFORMATION_SCHEMA.COLUMNS WHERE table_name = 'table_name' AND table_schema = 'db_name' and column_name = 'column_name';
Источник: http://stackoverflow.com/questions/4990385/determine-max-length-allowed-in-a-column-in-mysql
No comments:
Post a Comment
Note: only a member of this blog may post a comment.