php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #45341 Sybase ODBC Driver odbc_exec
Submitted: 2008-06-23 21:02 UTC Modified: -
Votes:2
Avg. Score:4.0 ± 1.0
Reproduced:2 of 2 (100.0%)
Same Version:2 (100.0%)
Same OS:1 (50.0%)
From: amy dot wimmersberger at pacourts dot us Assigned:
Status: Open Package: ODBC related
PHP Version: 5.2.6 OS: Windows Server 2003 SP1
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: amy dot wimmersberger at pacourts dot us
New email:
PHP Version: OS:

 

 [2008-06-23 21:02 UTC] 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."


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2008-08-22 05:42 UTC] kiran dot joseph at gmail dot com
Do we have a solution to this problem? I am facing the same problem here.

Thanks,
Kiran
 [2008-08-22 05:59 UTC] kiran dot joseph at gmail dot com
Solution: Use the cursor type parameter in odbc_connect as SQL_CUR_USE_ODBC
 
PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Thu Jul 16 14:01:26 2020 UTC