Inserting an Image into a Column


How do I use a SQL INSERT query to insert an image into a column that has an image data type?

Listing 1 shows sample Microsoft Visual Basic (VB) code for inserting the image.

Hide comments


  • Allowed HTML tags: <em> <strong> <blockquote> <br> <p>

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.