note 43251 added to ref.uodbc
| From: | s dot suhl at assenmacher dot net | Date: | Tue, 15 Jun 2004 16:07:53 +0000 |
| Subject: | note 43251 added to ref.uodbc | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-71106@lists.php.net to get a copy of this message | ||
Hi there,
just installed php 4.3.x with odbc via iodbc. iodbc uses freetds to access mssql-server. I know that
freetds do not support cascading queries, cause old query is pending if same connection is used.
Geez, needed a half day to find it out! My real problem is that the errorstrings returned by
odbc_error and odbc_errormsg are not plain text?! Here is an example what I get, if I try to run a
second query on the same connection while first query is still pending:
odbc_error = 'Xo@X'
odbc_errormsg = 'dO%@21èÊÿ¿J¾@àY%@21Ëÿ¿Ê½@(ü-3N'
normally odbc_errormsg should return something like 'query pending'. what's wrong? Is
it something with missing locale files (cause nothing was installed by those tarballs)? Or is it
something mssql<->freetds??
some sys-specs: p4 cel. 2.4Ghz, gnu linux 2.6.x, apache2, php 4.3.x, newest iodbc and freetds (15th
June 2004). connecting to a w2k mssql server...
----
Manual Page -- http://www.php.net/manual/en/ref.uodbc.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+43251
Delete -- http://master.php.net/manage/user-notes.php?action=delete+43251&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+43251&report=yes
Search -- http://master.php.net/manage/user-notes.php