[Last Call] Learn how to a build a cloud-first strategyRegister Now


When should I use a memo field vs. a large text field.

Posted on 2006-05-03
Medium Priority
Last Modified: 2012-08-14
I need to keep some information that will be a maximum of 75 characters in length. The thing is, only a small subset of the actual records in the table will actually contain data in this field.

My question is, what is the cost-to-the-database-filesize threshold to determine whether this new field should be a straight text(75) field versus a memo field?

Thanks for your help.
Question by:dzumwalt
LVL 44

Expert Comment

by:Leigh Purvis
ID: 16598409
The only difference that I imagine you're envisaging is that Memo fields aren't stored internally with the rest of the table?
But a Text field is appropriate for what you're asking - but it needn't be stored in the same table.

If you continue with your process of normalization - then if the field isn't always required then it could be separated out into a table of it's own.
If you can be bothered ;-)
LVL 13

Expert Comment

by:John Mc Hale
ID: 16598441
I'm not sure that you're asking the right question!

If you are following the relational design model, and you wish to keep redundancy/duplication to a minimum, then the correct way to approach this would be to create a separate table for this additional information, giving it a primary key (such as the key field of the entity type to which the information relates, if this is a one-one relationship type, or a composite primary key for a many-many relationship).


Suppose the information you wish to store relates to a person's employment history comments, then you might have:

For a one-one relationship between employees and comments
EmployeeID (Primary Key from employee table)
Comment (The actual info)

For a many-many relationship (i.e. none or more employees can have none or more comments associated with them

EmployeeID (Primary Key from employee table)
CommentID (Primary Key from employment history comments)

CommentID (Autonumber, Primary Key)
Comment (Actual info)

Then by creating the correct joins you will have a correctly normalized database, and the question you posed should now be a non-issue, but personally, I would use a Text field for text entries <= 255 characters.

Hope this makes sense.

LVL 44

Expert Comment

by:Leigh Purvis
ID: 16598460
^--- The unabridged version :-)
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

LVL 77

Accepted Solution

peter57r earned 375 total points
ID: 16598569
Hi dzumwalt,
>  maximum of 75 characters
so why are you considering a memo field at all?

(Access text fields only occupy the space they need to store the data they hold.)

LVL 44

Expert Comment

by:Leigh Purvis
ID: 16598589
Ah yes - good point Pete - perhaps dzumwalt was unaware of that.
I hadn't looked at it from that angle.

Author Comment

ID: 16598667
Thanks for the input. I didn't know that Pete. I appreciate the insight.
LVL 44

Expert Comment

by:Leigh Purvis
ID: 16598711
Well, I was right about something ;-)

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Did you know that more than 4 billion data records have been recorded as lost or stolen since 2013? It was a staggering number brought to our attention during last week’s ManageEngine webinar, where attendees received a comprehensive look at the ma…
This article describes a method of delivering Word templates for use in merging Access data to Word documents, that requires no computer knowledge on the part of the recipient -- the templates are saved in table fields, and are extracted and install…
What’s inside an Access Desktop Database. Will look at the basic interface, Navigation Pane (Database Container), Tables, Queries, Forms, Report, Macro’s, and VBA code.
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…
Suggested Courses

834 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question