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.
可能重复: URL 的最佳数据库字段类型
我正在将我的访问权限转移到 mysql 中。我的 url 是 access 数据库中的数据类型 Anchor,我想知道将它们存储在 mysql 中的最佳数据类型是什么
我会选择适当大小的varchar.
varchar
我会使用通用的 VARCHAR(255)
http://dev.mysql.com/doc/refman/5.5/en/char.html