How to save a word document file in the db.

  • How can I save a word document file in the database.

  • Normally you'd put it in a text column. The easiest way to do that is via the ADO stream object. Depends on what you're doing whether or not using a blob is a good idea. I personally like using blobs, but most people will recommend against blobs and suggest just storing the file name in the db instead.

    Andy

  • Hello andy,

    which datatype i should specify for table in sql 2000. I want to save a word file in database. can u send a code snippet ? i m using vb.net

     

    thanks

  • Maximum size of text that you can save into a

    database is 8000 characters per field?

     

    If you want to save the text more than that

    then you have to create more fields in the table ?

     

     

     

     

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic. Login to reply