What is the best data types for serialize data?
3 Answers
if you know how long the serialized data will be you can use varchar, otherwise id use text. it might just be best to use text anyways.
1 Comment
squawknull
VARCHAR only if the size of the data does not exceed about 65k bytes, the maximum row size (though this is for all fields in the table, not just for a single field).