File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JDBC and the fly likes Datatype to store images and files in sql server Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "Datatype to store images and files in sql server" Watch "Datatype to store images and files in sql server" New topic
Author

Datatype to store images and files in sql server

Naj Syl
Greenhorn

Joined: Dec 05, 2005
Posts: 1
Can anyone please tell us about the datatype used to store images and files(pdf,word files) in sql server...
Also if possible gv us the snippet of how to store using ASP code...


NajSyl
Paul Sturrock
Bartender

Joined: Apr 14, 2004
Posts: 10336

Storing binary files in the database is (in my opinion) a bad idea. But if you are sure you want to do this the datatype for SLQ Server will be IMAGE.

For ASP code, I suggest you ask in a Microsoft forum. Unfortunately we don't have any here, but I'm sure you'll find the information you need at MSDN.


JavaRanch FAQ HowToAskQuestionsOnJavaRanch
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Datatype to store images and files in sql server
 
Similar Threads
File Storing in Hiberbnate
Showing richtext data on to Browser.
storing images in database
storing images in database
select/insert Gif/Jpg Pic