Closed indieshack closed 7 years ago
Please use the types
branch, it is a pre-1.0.0 release. The maximum length of a string in a query is configured on the server via the SET TEXTSIZE
command. To find out your current setting, execute SELECT @@TEXTSIZE
. SQLClient uses 4096
by default. To override this, update its maxTextSize
property.
Thanks for the fast reply. I changed out the SQLClient code in my project for the "types" branch but now get the following linking on compile for testing on a sim:
Undefined symbols for architecture x86_64: "_dbanydatecrack", referenced from: ___32-[SQLClient execute:completion:]_block_invoke in SQLClient.o ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation)
You need to update to update the libsybdb.a
file as well.
Thanks - looks like this branch can't make simultaneous connections?
Simultaneous connections were never supported.
Thanks Martin, then I'm looking at some other change in behavior from an earlier version. Appreciate your fast response.
Yes, the API is a little different and I fixed a lot of bugs and added proper type handling. Please run the integration test suite against your SQL Server to make sure everything works. Instructions are in the readme.
Appreciate your work on this - it's been a lifesaver :)
Thanks! Glad you found it useful.
I'm attempting to pull data from a varchar(MAX) column, but it truncates to 4096 characters - any idea what's happening? thanks