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. Database
  4. MySQL

MySQL

Scheduled Pinned Locked Moved Database
mysqlhelpquestion
4 Posts 2 Posters 0 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.
  • R Offline
    R Offline
    rdop
    wrote on last edited by
    #1

    Hi All I am using MySQL.Simply i create a table through this command.

    create table Pic(picture blob);
    insert pic(picture) values('C:\sample.bmp');
    one row affected.
    select * from pic;
    Picture
    BLOB

    There is no picture show.How can i show picture. Plz help me

    M 1 Reply Last reply
    0
    • R rdop

      Hi All I am using MySQL.Simply i create a table through this command.

      create table Pic(picture blob);
      insert pic(picture) values('C:\sample.bmp');
      one row affected.
      select * from pic;
      Picture
      BLOB

      There is no picture show.How can i show picture. Plz help me

      M Offline
      M Offline
      Mycroft Holmes
      wrote on last edited by
      #2

      Have you read the doco on inserting pictures into MySQL? I would think that you just inserted the string 'C:\sample.bmp' into a binary field.

      Never underestimate the power of human stupidity RAH

      R 1 Reply Last reply
      0
      • M Mycroft Holmes

        Have you read the doco on inserting pictures into MySQL? I would think that you just inserted the string 'C:\sample.bmp' into a binary field.

        Never underestimate the power of human stupidity RAH

        R Offline
        R Offline
        rdop
        wrote on last edited by
        #3

        yes you are right.If i am wrong then plz help me how to insert picture. Plz help me

        M 1 Reply Last reply
        0
        • R rdop

          yes you are right.If i am wrong then plz help me how to insert picture. Plz help me

          M Offline
          M Offline
          Mycroft Holmes
          wrote on last edited by
          #4

          Have you attempted to do some research, these results looked promising[^] I have no experience with MySQL so this is the best I can do.

          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