This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes JDBC 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 Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "how to save/load images" Watch "how to save/load images" New topic
Author

how to save/load images

shen LIU
Greenhorn

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
internet detective
Marshal

Joined: May 26, 2003
Posts: 30068
    
149

Shen,
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.


[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
http://www.java-tips.org/content/view/203/29/
shen LIU
Greenhorn

Joined: Aug 24, 2005
Posts: 2
thanks all :-)
 
 
subject: how to save/load images
 
Similar Threads
Save images from applets
JDBC
How to save processed images?
SWT: How to load images?
Draw Image Off-Screen