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. Quote Link to comment 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 Quote Link to comment 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. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.