Posted by Kimmo Laine on 12/07/05 10:04
Hello group!
What's the essential difference between the two field types varchar and
text. I've used varchar to store strings so far, but it seems that there's a
limit of getting only the first 255 characters with a query in php. And so
far I've learned that there are work-arounds for this, but work-arounds are
always ugly so I though why not use the text then, since I learned that text
datatype has no such limitation as varchar. I've estimated that the length
of the strings would vary between 50-1000 characters so would using a text
datatype be reasonable in this case, or would a varchar with ugly
work-arounds be better in this case?
--
"En ole paha ihminen, mutta omenat ovat elinkeinoni." -Perttu Sirviφ
antaatulla.sikanautaa@gmail.com.NOSPAM.invalid
[Back to original message]
|