Storing images in db

harmanveer kaur

harmanveer kaur

@harmanveer-xeYnUU Oct 26, 2024
How can we store images and pdf files in database (using sql server dbms)??

Replies

Welcome, guest

Join CrazyEngineers to reply, ask questions, and participate in conversations.

CrazyEngineers powered by Jatra Community Platform

  • Vishal Sharma

    Vishal Sharma

    @vishal-pysGmK Jun 16, 2014

    generally, for storing files in any database, the file is divided into byte chunks with an ID to each chunk. Remember It's common for all the databases. This post relates to what you want to do using SQL server..

    #-Link-Snipped-#
  • Ratnadeep.aare

    Ratnadeep.aare

    @ratnadeepaare-4YBVYJ Jun 25, 2014

    I would suggest there are better ways to store the actual file upload on the server storage in encrypted way and only the pointer to the file is saved in database. This way you will not end up in database space crunch and easy to manage your database
  • avi2

    avi2

    @avi2-gV81vT Jun 25, 2014

    use base64 encoding