neoform Posted May 14, 2008 Share Posted May 14, 2008 What's the best field type for storing binary data if the length is 20 chars (string hashes - in binary form instead of hex)? I need these fields to be indexable. Link to comment https://forums.phpfreaks.com/topic/105526-best-fixed-length-field-for-binary-data/ Share on other sites More sharing options...
beebum Posted May 14, 2008 Share Posted May 14, 2008 http://dev.mysql.com/doc/refman/5.0/en/binary-varbinary.html Link to comment https://forums.phpfreaks.com/topic/105526-best-fixed-length-field-for-binary-data/#findComment-540890 Share on other sites More sharing options...
neoform Posted May 14, 2008 Author Share Posted May 14, 2008 That's what I figured, I just had never heard of the BINARY field yesterday and wasn't sure if there was something about the the BINARY field that I was not aware of. Link to comment https://forums.phpfreaks.com/topic/105526-best-fixed-length-field-for-binary-data/#findComment-540905 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.