Skip to Content.
Sympa Menu

freetds - [freetds] (ODBC) processing multiple statements on one connection

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: mike <mike AT anvil.com>
  • To: freetds AT lists.ibiblio.org
  • Subject: [freetds] (ODBC) processing multiple statements on one connection
  • Date: Thu, 08 Sep 2005 15:55:14 +1000

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

hi there,

we wanted to use the freetds odbc driver with unixodbc + libodbc++ to
connect to sybase12.5.X

we wanted to be able to use multiple prepeared statements on a single db
connection which appears to fail with freetds, giving the error:

[FreeTDS][SQL Server]Invalid cursor state State=24000 ErrorCode=0
What=Error executing "select FOO_ID from FOO where FOO_NAME = ?":
[FreeTDS][SQL Server]Invalid cursor state, now repreparing.
Sep 8 14:40:05 [11948]: critical:Cannot reprepare statement, state=
error: Error preparing select FOO_ID from FOO where FOO_NAME = ?: No
description available

i noticed a similar post to this list last year that bill.thompson
kindly answered:

https://lists.ibiblio.org/sympa/arc/freetds/2004q2/016082.html

and was wondering if this is still the case or not ?

Thanks
Mike
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3-nr1 (Windows XP)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDH9JC1Go8kWxl8sERAoq7AJ9h549/Ddsf0vWKegKVUiG/GtZ/agCgprEX
Pn9/2ldBnaQaQarCDyk6cQg=
=H1IK
-----END PGP SIGNATURE-----



  • [freetds] (ODBC) processing multiple statements on one connection, mike, 09/08/2005

Archive powered by MHonArc 2.6.24.

Top of Page