my dog learned polymorphism*
The moose likes JDBC and the fly likes select/insert Gif/Jpg Pic Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "select/insert Gif/Jpg Pic" Watch "select/insert Gif/Jpg Pic" New topic

select/insert Gif/Jpg Pic

prabhu kandanur
Ranch Hand

Joined: Oct 18, 2003
Posts: 34
Hi All
How to Select or Insert GIf or Jpeg files into "SQL Server Database"
using java application. where can i get the source for the same?
Shankar Narayana
Ranch Hand

Joined: Jan 08, 2003
Posts: 134
Hi Prabhu,
I am not aware of sql server db, but as far as for oracle database is
concerned, u can store the jif/jpeg as binary data into the datatype BLOB. Try to search a similar datatype ,which can hold the binary data and write to it.

"Failure is not when you fall down; its only when you fail to get up again."
subject: select/insert Gif/Jpg Pic
Similar Threads
how to store and retrive jpg/gif from oracle
transfer data from one DB to another DB ?
how long is design choice doc
Insert JPEGs into XML
how to store jpg/gif picture in Database