Click to See Complete Forum and Search --> : Strings


Wej
12-05-2008, 09:25 PM
What is the best to hold strings? Varchar, text, or blob types?

I am guessing varchar is used for strings where you know the max length. But what about blobs and texts?

TheBearMay
12-05-2008, 09:56 PM
Blobs (binary large objects) tend to be more useful for images, etc. Varchar vs. text efficiency varies by the database. Some no longer use the text and instead convert it to varchar if it is specified.