Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Database & SysAdmin
  3. MySQL
  4. Insert Images to MySQL via SQL Statement?

Insert Images to MySQL via SQL Statement?

Scheduled Pinned Locked Moved MySQL
databasemysqlhelptutorialquestion
2 Posts 2 Posters 3 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    shaoen86
    wrote on last edited by
    #1

    Hi all, I am trying to insert a Blob data type into one of my tables. However, i can't seem to be able to find any information on how to do it via a Insert statement by using the MySQL query browser. If anyone knows, please help me out. Thanks!

    J 1 Reply Last reply
    0
    • S shaoen86

      Hi all, I am trying to insert a Blob data type into one of my tables. However, i can't seem to be able to find any information on how to do it via a Insert statement by using the MySQL query browser. If anyone knows, please help me out. Thanks!

      J Offline
      J Offline
      JoseMenendez
      wrote on last edited by
      #2

      From query browser: - make a select * from your table - Press the "Edit" Button on the bottom of the view - The BLOB field of the last row will show a little "open" icon. - Select the file and fill the other fields - Press "Apply Changes" (which is next to the "Edit" button") That's it? From .NET code: - Use a prepared statement.

      Jm www.menendezpoo.com

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups