insert pdf file in database
1 posts in topic
Flat View  Flat View

Posted By:   Shahmil_Merchant
Posted On:   Monday, February 9, 2004 01:31 PM

How do i save pdf files in database as a blob? Also how would one create a BLOB datatype in the database.

Re: insert pdf file in database

Posted By:   Anonymous  
Posted On:   Tuesday, February 10, 2004 12:41 PM

hell o:)

first, I proved that in mysql front and I created a table named pdf. with

id int,
name varchar(50),
content BLOB,
primary_key id;


I copied the id into db at the same time write the PDF into name field. Then I selected "the pdf" and save the row.

I know, I do this in a easy way, but it works, and suppose is not hard to make a mysql update to enter data.

so, this can be done this way.

your second Q.


It is possible. write about your db server.

good luck.
About | Sitemap | Contact