Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Storing a photo in a table
Message
From
23/11/2009 08:38:10
Timothy Bryan
Sharpline Consultants
Conroe, Texas, United States
 
General information
Forum:
Microsoft SQL Server
Category:
Database design
Environment versions
SQL Server:
SQL Server 2008
Application:
Web
Miscellaneous
Thread ID:
01433986
Message ID:
01436143
Views:
66
>>>>I have mugshot photos I want to store in a datatable along with the persons profile. Previously I have only stored the url to the photo so not sure what is the proper column type etc. I know there is an Image type, but is it that simple? I would love any advice for this or advice to not do it.
>>>>Thanks
>>>>Tim
>>>
>>>The problem was discussed here before. If you do want to store this data in a table, then use varbinary(max) data type.
>>
>>Hi Naomi,
>>
>>Thanks for the quick response. Why that instead of Image? Just curious. Also, how might I be able to save a photo in the table in one of my records for testing? I can't just cut and paste it in like other text.
>>Tim
>
>Tim,
>
>Please read this interesting discussion http://social.msdn.microsoft.com/Forums/en-US/transactsql/thread/03f27722-6fda-4e0c-8f55-645519c3cb2f with many good links in it.

Looks like a lot of great info Naomi, Thanks
Tim
Timothy Bryan
Previous
Reply
Map
View

Click here to load this message in the networking platform