|
-
October 17th, 2010, 02:24 PM
#1
how to store image, music and video files in database
hey guys i am working on a project that invovles storing image, music and video files in a database. i would appreciate if anybody can tell me how to save and retrieve the files to and from the database. thanks
i use VS 2008, WPF C sharp.
thanks in advance.
-
October 18th, 2010, 01:57 AM
#2
Re: how to store image, music and video files in database
You need to use a BLOB (Binary Large Object) field.
-
October 18th, 2010, 12:36 PM
#3
Re: how to store image, music and video files in database
We store such files in one column of a database table. The column has type varbinary(max).
-
October 19th, 2010, 06:36 AM
#4
Re: how to store image, music and video files in database
Just a thought, but alternatively you can store the data elsewhere and just store the path to the data in the DB. Not sure what your application is but thought it worth mentioning. I've had horrible problems with storing large media files in a DB, it slow's things down far too much over a network and is even more of a pain to backup.
Just a thought, please take no offence.
Regards
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|