note 27733 added to ref.mssql
| From: | wolff at 21st dot de | Date: | Tue, 17 Dec 2002 10:08:43 +0000 |
| Subject: | note 27733 added to ref.mssql | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-41005@lists.php.net to get a copy of this message | ||
Please note that although it´s stated everywhere that you can use --whith-sybase to make the
mssql_* functions available on *nix platforms, this doesn´t mean that all functions of the
MSSQL-Extension are really available.
In fact, only those functions that are provided by the Sybase extension are mapped to the
corresponding mssql_* function names, but no more. Therefore, a large part of the API is unavailable
on Unix/Linux.
Functions that do not exist are for example mssql_fetch_assoc(), mssql_field_name(),
mssql_field_length() and mssql_field_type().
As a result of this, if you use PEAR::DB´s MSSQL driver class, you can´t use the tableInfo()
method. Automated insert/update query generation using autoExecute() won´t work as well.
There´s a new version of the MSSQL extension in CVS now that will also compile under Unix, making
the full API available - but it´s not likely that it will make it into the 4.3.0 release.
--
http://www.php.net/manual/en/ref.mssql.php
http://master.php.net/manage/user-notes.php?action=edit+27733
http://master.php.net/manage/user-notes.php?action=delete+27733
http://master.php.net/manage/user-notes.php?action=reject+27733