Wrox Home  
Search P2P Archive for: Go

  Return to Index  

activex_data_objects thread: File to DB


Message #1 by "Paul Whygle" <paul@g...> on Wed, 22 Jan 2003 16:36:05
Is there a way, using MS SQL Server 7 and Visual Basic 6 to put a file 
into the DB?  I know I can store the contents into the DB but I want to 
store the file as an object (or however I can store it as a whole file) 
into the DB.  I will also want to retrive the file.  The file should only 
be about 10K at the most, so space should not be an issue.

If that is not possible, then how would I go about grabbing binary data 
(it is a binary file) into the DB from a file?  And how would I put it 
back into a file?  I think I can figure this option out, but because I am 
knew to both VB and SQL Server, I would like to see how someone else does 
it without having to look it up in a book.

Thank you.

  Return to Index