aspose 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
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