Click here to Skip to main content
15,903,388 members
Please Sign up or sign in to vote.
2.33/5 (3 votes)
See more:
i want to stored image in database.. what data type i should take for storing the image in database..i am using sql 2008

Updated 4-Aug-11 23:05pm
Prerak Patel 5-Aug-11 4:54am    
Not clear what you want to do. Modify your question and put enough details.
Herman<T>.Instance 5-Aug-11 4:59am    
what sql server do you use?
Manfred Rudolf Bihy 5-Aug-11 5:01am    
Please add more details. Especially what you mean by datatype. I'm inclined to say you meant to say SQL Server, but you didn't. So please improve your question and add the appropriate tags.

Thanks for your cooperation!
Herman<T>.Instance 5-Aug-11 5:04am    
I think he means some type of blob or store a url in a table that points to an image loaction on a server....that are about his options....
Herman<T>.Instance 5-Aug-11 5:05am    
Sql Server 2008 has an Image DataType

1 solution

you can use image, binary or varbinary check the link
Share this answer

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