469,127 Members | 1,341 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,127 developers. It's quick & easy.

can we store text file in a table?

hello, I am new to database query. In general I want to know can we store files in Table?
Aug 5 '09 #1
2 3902
code green
1,726 Expert 1GB
You can store the contents in a TEXT field.
Although I disagree with filling a database with file contents if storing the filename and path will suffice
Aug 5 '09 #2
Atli
5,058 Expert 4TB
Hi.

The BLOB fields are designed to store binary data. Perfect to store stuff like images and other non-text files.

I wrote an article on how to use it in the PHP section.
Aug 9 '09 #3

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

3 posts views Thread by Forconi Boris via .NET 247 | last post: by
10 posts views Thread by Paul Cheetham | last post: by
reply views Thread by zhoujie | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.