#45341 [Com]: Sybase ODBC Driver odbc_exec

From: Date: Fri, 22 Aug 2008 05:43:00 +0000
Subject: #45341 [Com]: Sybase ODBC Driver odbc_exec
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-128309@lists.php.net to get a copy of this message
ID: 45341 Comment by: kiran dot joseph at gmail dot com Reported By: amy dot wimmersberger at pacourts dot us Status: Open Bug Type: ODBC related Operating System: Windows Server 2003 SP1 PHP Version: 5.2.6 New Comment: Do we have a solution to this problem? I am facing the same problem here. Thanks, Kiran Previous Comments: ------------------------------------------------------------------------ [2008-06-23 21:02:46] amy dot wimmersberger at pacourts dot us Description: ------------ Sybase ODBC driver for ASE 15 loaded on Server and connectivity tested. Error message on odbc_exec is "[Sybase][ODBC Driver]Optional feature not implemented, SQL state HYC00 in SQLSetStmtOption." Thank you Reproduce code: --------------- $ds=odbc_connect("WEB_PRD1","myloginname","mypassword"); print_r($ds); //prints resource id# $rq = odbc_exec($ds, 'select * from UserOfficeCounty;'); Expected result: ---------------- I expect $rq to contain rows of user, office and county from the table. Actual result: -------------- Error message on odbc_exec is "[Sybase][ODBC Driver]Optional feature not implemented, SQL state HYC00 in SQLSetStmtOption." ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=45341&edit=1

« previous php.bugs (#128309) next »