Depending upon the URLs. The examples he used and anything similar
would most likely fit into less than 100 characters.
"We will only ever need to store 2 phone numbers, so I think we can
just allocate two columns in the table."
"Our customers never have names longer than 25 characters, so I
don't think we need it to be any longer than that."
My philosophy is that if you can forecast it, you should accomodate
it. Assuming that the current scope of URLs being stored will never
change is, to say the least, unwise.
On the other hand, it's not all that hard to change a text field to
memo when the need arises, but what if your app is designed in a way
that silently truncates URLs beyond 255 characters? They may not
know they are losing data.
Of course, that's bad design, but I would suggest at the very least
that if you use a text field, that you test the length of the URL in
the BeforeUpdate event of the control you use to edit it and inform
the user if they attempt to insert anything longer than 255
characters. That would be the point at which you'd need to change
the field to memo.
Me, I'd just start out with memo fields for any URL field that's not
just going to be a top-level domain (like a customer website, which
is not likely to be anyting like this:
http://www.MyCustomerWebsiteWithAReallyLongName.com/page/customer.ent
ry.point.start.page/browse_topics/topic/dbf4077bd4fb9624/1d7d8b8566b2
e9ba?id=091f5b5a96efc949091f5b5a96efc94926e5cf92e5cbef8f84e09ca39ea78
ae026e5cf92e5cbef891f5b5a96efc94926e5cf92e5cbef8f84e09ca3
That's barely more than 255 characters, but you get the idea. Sure,
it's unlikely for some types of URLs you'll store, but should you be
storing URLs of web database searches, you really will need to plan
for URLs like that.