Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 General SQL Server Forums
 New to SQL Server Programming
 Custom object storage in SQL table

Author  Topic 

phrankbooth
Posting Yak Master

162 Posts

Posted - 2009-01-08 : 14:35:52
Hi,

I'm generating a custom .Net object and am doing a binary serialization of it to be used later.

Is it possible to store such objects in SQL table?

Thanks!

--PhB

robvolk
Most Valuable Yak

15732 Posts

Posted - 2009-01-08 : 20:24:31
Sure, a varbinary(max) column will store any raw binary data you put in, up to 2 GB. If you were serializing to XML, you could also use nvarchar(max) up to 1 GB, or the XML data type.
Go to Top of Page
   

- Advertisement -