Hi there,
Can someone please tell me, what type a database attribute should be of, when I'm trying to store a file in database. And what default value it should have.
Can I use the same type for any kind of file, or is maybe a different type necessary for .zip or .exe file?
Thanks in advance for the answer,
Antonie
Store a file in a database
Moderator: General Moderators
- Lord Sauron
- Forum Commoner
- Posts: 85
- Joined: Tue Apr 20, 2004 5:53 am
- Location: Tilburg, NL
- Lord Sauron
- Forum Commoner
- Posts: 85
- Joined: Tue Apr 20, 2004 5:53 am
- Location: Tilburg, NL
Not only for images
I though blob was only used for storing images, but I guess I was wrong 
Okay, thanks.
By the way, when do you use longblob, mediumblob and blob? I there a certain size of the attachment required?
And I guess default value should be null?
Okay, thanks.
By the way, when do you use longblob, mediumblob and blob? I there a certain size of the attachment required?
And I guess default value should be null?