在 Ms-Access MDB 中,是否可以节省磁盘空间以限制可变长度文本字段的大小?
例如。如果我有一个可变长度 Text
尺寸字段20
并且该字段的所有实际值都低于 10
人物,我在浪费空间吗?
将字段的大小设置为10
会更好吗? ,还是没有任何区别?
最佳答案
If I have a variable-length Text field of size 20 and all the actual values of the field are under 10 characters, am I wasting space?
不。
Would it be better to set the size of the field to 10, or does it not make any difference?
如果不能接受超过 10 个字符的值,最好将字段大小限制设置为 10。如果用户可以输入 11 到 20 个字符之间的值,请将限制保留为 20。在这种情况下,磁盘空间使用不是问题。
关于database-design - Ms-Access:任何对可变长度文本字段的小尺寸需求,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/3295855/