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

Use more than 255 characters for TEXT columns. #15

Closed ghost closed 10 years ago

ghost commented 10 years ago

We are using the library to fetch long text data from columns with text datatypes. We needed to manually set the TEXTSIZE, as there is a bug in Microsofts text field implementation as documented here: http://www.freetds.org/userguide/troubleshooting.htm

Anyhow, in order to make this work, SYBTEXT types should not be truncated to size 255. I hope this is how it should work in general, therefor we created this pull request.

Also, we use it on OSX as target and not iOS, which works just fine for us. So it wouldb be great if the podspec would include OSX as a target. :)

br denis

martinrybak commented 10 years ago

Thanks!