New Message: Re: primary keys

webmaster at userland.com webmaster at userland.com
Mon Apr 14 10:48:58 PDT 2003


A new message was posted:

Address: http://frontier.userland.com/discuss/msgReader$11689

By: John VanDyk (jvandyk at iastate.edu)

How about a seven-digit, incrementing padded string like the #discussionGroup.messages table does?

The title of a message is metadata about the message, which has a unique identity (that is, the message number). You wouldn't use the title of a message as its key.

Similarly, the e-mail address of a member is metadata about that member, and thus inappropriate for use as a primary key.

This is a Manila site.. http://manila.userland.com/.




More information about the Frontier-Server mailing list