× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



<snip>
I have to design a database that will hold notes keyed by a user. These
notes can be anywhere from a few words to a several hundred. Notes will
be tracked by user/date/time. There can be hundreds of separate notes
entered each day, so this database will get rather large.

As far as defining the actual field that will hold the note. I would
like some design feedback. Should it be fixed, variable, other.
</snip>

My two cents would be to define it as variable and a fixed part equal to
what would be your average length.

If you define the field as 512a and on the average the note is 50a or
less you would use VARLEN(50) in DDS.

In SQL.

MESSAGE_TEXT FOR COLUMN SMMSGTXT VARCHAR(512) ALLOCATE(50)

Big question is how does it get edited? You only have a small amount of
space on a green screen.



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

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

This mailing list archive is Copyright 1997-2024 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.