Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to save/load images

 
shen LIU
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Marshal
Posts: 34423
347
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
payal agrawal
Ranch Hand
Posts: 44
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Look at this URL
http://www.java-tips.org/content/view/203/29/
 
shen LIU
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks all :-)
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic