-
Notifications
You must be signed in to change notification settings - Fork 99
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DB-Library error 102 #88
Comments
Error 102 is a syntax error on the MSSQL side.
Try your query again and post the output. |
Slightly different now:
|
It looks like the syntax error is with "USE":
In the most recent version of tds_fdw, it only sends the use keyword if the dbuse foreign server option is set to 1, and the default value is 0. Otherwise, it selects the database at connection time. What version of tds_fdw are you using? I would suggest using either 1.0.8 if you want a stable release or the master branch if you want to test out WHERE and column pushdowns. |
I'm not really sure, but I do see a repo clone I did here :) From Aug. 14 (commit ef2afe1). BTW it's a Sybase IQ server if that's relevant. |
Having defined a new Sybase IQ SERVER and FOREIGN TABLE, I run a query and get this error:
Also tried setting the server's
tds_version
to5.0
but that didn't help.The text was updated successfully, but these errors were encountered: