• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Store PDF files in the database

 
Patrick Mugabe
Ranch Hand
Posts: 132
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

I have worked on a creating PDF files dynamically based on data in the DB. I now want to store the generated PDF file in the database. Any ideas on how I can go around this problem.
 
Ulf Dittmer
Rancher
Posts: 42968
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You could use a field of type Blob, and use that to store the PDF as a byte array.
 
Patrick Mugabe
Ranch Hand
Posts: 132
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks a lot Ulf, I will try it now
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic