Field That Can Hold More Than 255 Characters

Field That Can Hold More Than 255 Characters

I need a text (or char) field that can hold more than 255 characters. Something like a Memo field to hold almost unlimited character data. Is this possible?

Under SQL 6.5 you can use the TEXT datatype.

Text is not as simple to manipulate as the other datatypes, though, because you only get to retrieve 255 characters at a time, so to read it you must do multiple fetches from the text field.

The other thing to know is that by including the TEXT datatype in your schema, you give up the convenience of single-file restores in that database (some people think it’s more of a curse than a blessing anyway, because single-table restores are a great way to foul up the database’s referential integrity, like you restoring a table that is out of synchronization with its parents or siblings).

See also  How AI Art Generators Can Save Time and Money for Startups

About Our Editorial Process

At DevX, we’re dedicated to tech entrepreneurship. Our team closely follows industry shifts, new products, AI breakthroughs, technology trends, and funding announcements. Articles undergo thorough editing to ensure accuracy and clarity, reflecting DevX’s style and supporting entrepreneurs in the tech sphere.

See our full editorial policy.

About Our Journalist