note 58787 added to function.mssql-connect
| From: | lbowerh at netscape dot net | Date: | Wed, 16 Nov 2005 03:32:31 +0000 |
| Subject: | note 58787 added to function.mssql-connect | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-98634@lists.php.net to get a copy of this message | ||
The recently released SQL Server 2005 Express will work with MSSQL functions. Here are some caveats:
1) The version of ntwdblib.dll supplied with PHP will not work with Server 2005 (Win32 only). You
must use a newer version. The version supplied with SQL Sever 2000 (2000.80.194.0) seems to work
well.
2) You must set up mssql_connect to reference the server AND the instance name, eg:
mssql_connect("MyPC\SQLEXPRESS","MyUser","MyPwd");
Although the MSSQL functions work, you might want to consider using the new 'pdo_odbc'
(PHP 5.1) with SQL Server 2005 Express for any new code you are writing.
----
Manual Page -- http://www.php.net/manual/en/function.mssql-connect.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+58787
Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+58787&report=yes&reason=added+to+the+manual
Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+58787&report=yes&reason=bad+code
Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+58787&report=yes&reason=spam
Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+58787&report=yes&reason=useless
Delete: non-english -- http://master.php.net/manage/user-notes.php?action=delete+58787&report=yes&reason=non-english
Delete: already in docs -- http://master.php.net/manage/user-notes.php?action=delete+58787&report=yes&reason=already+in+docs
Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+58787&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+58787&report=yes
Search -- http://master.php.net/manage/user-notes.php