martinrybak / SQLClient

Native Microsoft SQL Server client for iOS
http://objcsharp.wordpress.com/2013/10/15/an-open-source-sql-server-library-for-ios/
MIT License
124 stars 51 forks source link

Images and binary data #17

Closed marcocgloria closed 7 years ago

marcocgloria commented 10 years ago

Hi Martin,

I am using the library, so far without any problems, but not sure if the library supports binary data, since when I try to do an insert (using base64encode) goes ok, but when I fetch the record, instead of bring data, it's bring char and send an error, may I be doing something wrong?

Thanks, Marco

aksh1t commented 9 years ago

Hi marcocgloria and Martin, I was facing this problem too. When trying to retrieve images, I suspect that I am getting truncated data. I am also getting buffer overflow error when retrieving image.

martinrybak commented 7 years ago

Please try out the types branch. There is proper support for binary and image data types.