on 2015 Oct 01 12:52 AM
I am using the RODBC library and the following query has no problem:
sqlQuery(channel,"Select Surname, City, Country from Contacts", max=5)
Surname City Country
1 Hildebrand Kanata USA 2 Simmon Kitchener USA 3 Critch Yale USA 4 Lambert Phillipsburg USA 5 Sullivan Uxbridge USA
However the modified query has error (runs ok in iSQL)
> sqlQuery(channel,"Select Surname, City, Country from Contacts where state='CA'", max=5)
Error in .Call(C_RODBCFetchRows, attr(channel, "handle_ptr"), max, buffsize, : negative length vectors are not allowed
I am trying to see if there is a way to fix it.
Request clarification before answering.
Thanks vlad (late but never too late) for the suggestion. This finally works at least for SQL Anywhere 17 on Windows 10. http://hodentekmsss.blogspot.com/2016/09/trick-to-querying-sap-sql-anywhere.html
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
60 | |
8 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.