"Levi Campbell" <levicc00123@stripped> wrote:
> I know the blob field is binary but what would you store there? and if =
> you could give me an example of real-life uses please.
You can store beer, juice or milk, but you need to escape the drink properly to
get it back fresh and delicious. ;)
Speaking seriously, BLOB is capable of storing any binary data. There is a long-lasting
religion war about whether it's good to store, say, images in BLOB or not. I don't want
to dive in that flame, but I must admit that both ways (storing binary data in BLOB or
just a filename where the data is) has their pros and cons.
Probably, the most popular real-life usage is storing generated website images
(thumbnails) in BLOB fields.
--
For technical support contracts, goto https://order.mysql.com/?ref=ensita
This email is sponsored by Ensita.net http://www.ensita.net/
__ ___ ___ ____ __
/ |/ /_ __/ __/ __ \/ / Egor Egorov
/ /|_/ / // /\ \/ /_/ / /__ Egor.Egorov@stripped
/_/ /_/\_, /___/\___\_\___/ MySQL AB / Ensita.net
<___/ www.mysql.com