× 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.



First question, why limit this solution to notes about/by a user? You
know the next request will be "That's great, we want the same thing for
items"... "for vendors"... "for orders"... etc. I would consider the
primary key and try to abstract away the user concept, perhaps a simple
50-byte character field, in the current case it could contain
"user-<username>", so qsecofr notes would be "user-qsecofr", but then
when the want it for items you could use the same exact programs and
tables, with a high-order key of "item-12345"... you get the idea. We do
this in a number of systems, but we've gotten to the point that all our
tables have a GUID on them, so we can use the guid as the high-order
key. We call it the "OwningRowGUID" (actually we've moved onto OIDs, but
that's another post)

As for the length of the note, just make it as large a possible, I'd
recommend a CLOB. No matter what the solution you use, the users will
always want it larger. We started w/an 8K note (max in-line in
sqlserver) and users started cutting/pasting word documents into the
notes. I'd just say screw-it and make it the largest possible. As for
the performance differences between the different allocate options, I
think you'll find the performance choke-point isn't retrieving the note,
but sending it down the pipe.

Finally, do they want plain-text notes, or should you be looking at
implementing some sort of rich editor so they can
bold/underline/indent/bullet/etc.

-Walden


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

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.