Click here to Skip to main content
15,878,543 members
Please Sign up or sign in to vote.
4.00/5 (1 vote)
See more:
Hello All,
In my application i am serializing few objects to byte array and byte array to strings and storing it to the database.

Now to optimize the same things i want to store the byte array to the database, so i want to use SQL VarBinary data type and need to store and retrieve it from the database.

Though i am not aware of the VarBinary data type wants to make sure its limitations, so that in future i do not need to suffer and need to revert back all my code and database changes to storing as a string ..

Please suggest me the right way to achieve the same .. also let me know any better way available other than this


Yog .. :)
Posted

1 solution

Well, did you try google[^]?

This result[^] has info on varbinary.
 
Share this answer
 
Comments
Yogesh Potdar 27-May-11 1:01am    
Hi Kschuler,
Thanks for the reply, i have already gone through google and searched some stuffs with VarBinary .. but not able to take a call that should i go for it or not ... as not aware its technical limitations in long run .. cause the application which i am working on .. serializations is core part of it ..
Kschuler 27-May-11 8:49am    
Which technical limitations are you needing information on?

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