permaculture playing cards
The moose likes JDBC and Relational Databases 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
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
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."
I agree. Here's the link:
subject: select/insert Gif/Jpg Pic
It's not a secret anymore!