Ad Widget

Collapse

Insert images into Postgresql Database

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • rcats
    Junior Member
    • Oct 2007
    • 7

    #1

    Insert images into Postgresql Database

    Hi All,

    I Have the following problem. I want to add images to my postgresql database without writing a program for it. All images must be convert to a byte array. The only examples that the internet gives are source code samples for different languages.
    I want to insert images with a SQL statement into the images database.

    can any help me with that.

    best regards,

    Remco
  • Niels
    Senior Member
    • May 2007
    • 239

    #2
    So you're looking for an SQL statement that takes a file name, reads that file and converts it to a byte array? I've never seen that done. Please let us now if you find it.

    Comment

    Working...