Images and files

  • Okay, I am being dense.

    How do I put an image into the database? Do I put the image into a database? I mean, does it physically reside there? Or do I just put in either a UNC pointer or a db created pointer?

    can someone point me in the direction of putting an image file (say a .jpg) into a database?

    Thanks!

    turlough

  • You can do either. Most people like the pointer, Im in favoring of actually loading the data into a blob. Several threads on the site already discussing pro's and con's. Easiest way to put stuff into a blob if you go that route is the ADO stream object. Search the site for some info, MS also has examples on their site.

    Andy

    http://www.sqlservercentral.com/columnists/awarren/

  • Thanks!

    That's what I needed to know!

    turlough

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

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