note 70118 added to function.odbc-connect
| From: | dmitry at bgsha dot ru | Date: | Wed, 04 Oct 2006 03:34:58 +0000 |
| Subject: | note 70118 added to function.odbc-connect | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-118010@lists.php.net to get a copy of this message | ||
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
----
Server IP: 195.222.164.18
Probable Submitter: 212.0.73.220
----
Manual Page -- http://www.php.net/manual/en/function.odbc-connect.php
Edit -- https://master.php.net/note/edit/70118
Del: integrated -- https://master.php.net/note/delete/70118/integrated
Del: useless -- https://master.php.net/note/delete/70118/useless
Del: bad code -- https://master.php.net/note/delete/70118/bad+code
Del: spam -- https://master.php.net/note/delete/70118/spam
Del: non-english -- https://master.php.net/note/delete/70118/non-english
Del: in docs -- https://master.php.net/note/delete/70118/in+docs
Del: other reasons-- https://master.php.net/note/delete/70118
Reject -- https://master.php.net/note/reject/70118
Search -- https://master.php.net/manage/user-notes.php