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.
作为一个附带项目,我正在创建一个连接的应用程序,并且想知道用户和场地 ID 的最大大小是多少?我应该对用户 ID 执行“BIGINT UNSIGNED NOT NULL”,对场地 ID 执行“VARBINARY(255)”吗?
是的,这两个都有效。用户 ID 为 64 位长,VARBINARY(255) 足以用于场所 ID。