Re: Should @maxlength count 16-bits, grapheme clusters or Unicode code points?

"Martin J. Dürst" scripsit:

> The main reason for an entry being too long is that it has to fit 
> into a fixed-length field in a database.                          

Ironically, most database systems store all fields as variable-length
internally, and only impose the fixed-length limit for backward
compatibility with older database systems, in terms of which SQL was
defined.

We could all throw away all fixed-length fields tomorrow, and nobody
would be one bit worse off.

-- 
Henry S. Thompson said, / "Syntactic, structural,               John Cowan
Value constraints we / Express on the fly."                 cowan@ccil.org
Simon St. Laurent: "Your / Incomprehensible     http://www.ccil.org/~cowan
Abracadabralike / schemas must die!"

Received on Tuesday, 21 June 2011 04:28:09 UTC