permaculture playing cards
The moose likes JDBC and Relational Databases and the fly likes how to save/load images Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of The Software Craftsman this week in the Agile forum!
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "how to save/load images" Watch "how to save/load images" New topic

how to save/load images

shen LIU

Joined: Aug 24, 2005
Posts: 2
hello everyone,
can someone tell me how to save/load images(ex .jpg or .gif) in SQLServer? please give me a code use java, thank u!

[edited to add a meaningful subject line - original was "help me,thank u"]
[ October 23, 2005: Message edited by: Jeanne Boyarsky ]
Jeanne Boyarsky
author & internet detective

Joined: May 26, 2003
Posts: 31668

Welcome to JavaRanch!

There is a type called BLOB (binary large object) that is used to store images. Take a look at the JDBC tutorial for more details and sample code.

[OCA 8 book] [Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
payal agrawal
Ranch Hand

Joined: Oct 11, 2005
Posts: 44
Look at this URL
shen LIU

Joined: Aug 24, 2005
Posts: 2
thanks all :-)
I agree. Here's the link:
subject: how to save/load images