Re: New problem with PHP "odbc_exec".

From: Date: Wed, 18 Apr 2001 13:53:52 +0000
Subject: Re: New problem with PHP "odbc_exec".
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-49214@lists.php.net to get a copy of this message
[From BugDB] ID: 10375 Updated by: kalowsky Reported By: martin@jma.se Old-Status: Open Status: Closed Bug Type: Reproduceable crash PHP Version: 4.0.4pl1 Assigned To: Comments: fixed in cvs, will not be in 4.0.5, but later releases. Previous Comments: --------------------------------------------------------------------------- [2001-04-18 08:23:59] martin@jma.se Documentation tells me that odbc_autocommit can be called with one or two parameters. (Without the OnOff parameter, this function returns auto-commit status for connection_id. ) Calling with two parameters works, with one I get a crash. I'm using ODBC 3.520.5303.2 against a Access 2000 database with Access ODBC driver 4.00.5303.01 --------------------------------------------------------------------------- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=10375&edit=2 -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe@lists.php.net For additional commands, e-mail: php-dev-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net You may find other bugs in BugDB. Regards, -- Yasuo Ohgaki ""Scott Fletcher"" <scott@abcoa.com> wrote in message news:9bk5j8$iks$1@toye.p.sourceforge.net... > Hi! I don't understand why PHP is having trouble with the odbc_exec. Is > there a bug in PHP code? Here's what the error messages said! > > "SQL error: [OpenLink][ODBC][Driver]No key columns found for table > referenced by keyset driven cursor., SQL state IM909 in SQLExecDirect". > > This show that it had to do with primary (or secondary) keys or index > issues. I'm using MS-SQL Sever and this table I'm using in the database > have primary key already! > > So, what can I do to fix it? I need it to be working. When I use the > Linux odbctest command and it execute without a problem. So, it is obvious > the problem lie with PHP code, odbc_exec(); > > Thanks, > Scott > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net >

« previous php.general (#49214) next »