Nathan Andelin wrote:
Thanks for the tip, Jon. If I understand correctly VARLEN(1000) allocates 1000 bytes
for storage for the NOTE field initially, which the OS will automatically extend up to
32000 bytes, but only if needed.

Not exactly. At least as I understand it, 1000 bytes get stored as part of the record, and the rest gets stored "elsewhere" (i.e., some sort of non-volatile heap space built into the file). If there's no allocated length, the whole note field gets stored "elsewhere," and the field itself is just a pointer of some sort and a length.


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2025 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.