Click here to Skip to main content
15,889,992 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
In oracle 11g no problem in storing image in database.
But what about sql server 2005 and 2008?
Not take big size or take original size?
Posted
Updated 11-Sep-10 20:48pm
v2

You could also check here[^].
 
Share this answer
 
There is no problem storing images or other blobs in SQL Server 2005/2008.

The size of the image in the database will be determined by the size of the image you store: it will be the same size.

Cheers.
 
Share this answer
 
Comments
Mostafa Elsadany 12-Sep-10 16:13pm    
thank you mr.
but What is the best type to store the image in sql server
thank you mr.
but can you tell me
what is the type using to storing image in sql server
i convert image to byte[] in c#
thank for help
 
Share this answer
 
Comments
TheyCallMeMrJames 12-Sep-10 1:46am    
I can, but that's not what you asked originally. Here's the first in a series of articles that teach about images in SQL Server: http://www.databasejournal.com/features/mssql/article.php/3719221/Storing-Images-and-BLOB-files-in-SQL-Server.htm
Sandeep Mewara 12-Sep-10 2:08am    
Not an answer, should have been a comment to the answer. Use 'Add Comment' feature to respond to an answer. You can also use 'Imporve Question' in order to edit/update your question.
You can store image directly to the database, but as alternative, you can store image in physical drive and save the image path on DB. And while showing based on the image path from DB show it from Physical drive. But yes, this depends on your requirements.
 
Share this answer
 
Comments
Mostafa Elsadany 12-Sep-10 16:17pm    
thank mr.
but this depends on requirements or hardware or security ?
and if store image in database sql server 2005/2008 this image take big size or orginal size ?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900