Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
这是对此的后续问题。
表中给定文本列的大小,例如 varchar(32) 是否存储在INFORMATION_SCHEMA.COLUMNS表 column中CHARACTER_MAXIMUM_LENGTH?
INFORMATION_SCHEMA.COLUMNS
CHARACTER_MAXIMUM_LENGTH
是的,但是你为什么不直接使用 java.sql.DatabaseMetaData 呢?