472,133 Members | 1,162 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,133 software developers and data experts.

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 4029
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 leo001 | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.