note 70118 deleted from function.odbc-connect by betz
| From: | betz@php.net | Date: | Wed, 04 Oct 2006 08:33:17 +0000 |
| Subject: | note 70118 deleted from function.odbc-connect by betz | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-118015@lists.php.net to get a copy of this message | ||
Note Submitter: dmitry at bgsha dot ru
----
I use IIS5 under Win2000. When I try connect to SQL Server:
////////////////////////////
$st="DRIVER={SQL Server}; SERVER=ServerName; DATABASE=DBName";
$Conn=odbc_connect($st, "UserName", "UserPass",SQL_CUR_USE_ODBC);
///////////////
I got: Warning: SQL error: [Microsoft][ODBC Driver Manager] Impossible string or buffer length, SQL
state S1090 in SQLConnect in *.php