[GLLUG] Storing other and none in a relational database

charles at bityard.net charles at bityard.net
Tue Mar 31 20:11:23 EDT 2009



> Either way, I recommend inserting the 'None' and 'Other' records
> immediately after the table is created so that you always know the primary
> key value of those two records.

I accidentally skipped over the part where you said you want None to
always be first and Other to always be last. Probably the only solution
there is to do some "manual" sorting in the code if it's an absolute
requirement.

Charles
-- 
http://bityard.net



More information about the linux-user mailing list