Bug #76531 [Opn->Fbk]: Can't get dateTime field with Sybase 16 ODBC driver
Edit report at https://bugs.php.net/bug.php?id=76531&edit=1
ID: 76531
Updated by: cmb@php.net
Reported by: t dot raab at sanitas dot at
Summary: Can't get dateTime field with Sybase 16 ODBC driver
-Status: Open
+Status: Feedback
Type: Bug
Package: ODBC related
Operating System: Windows 7
PHP Version: 7.2.7
-Assigned To:
+Assigned To: cmb
Block user comment: N
Private report: N
New Comment:
If this is still an issue with any of the actively supported PHP
versions[1], please update the PHP version info, provide a minimal
reproduce script and an ODBC trace of running that script.
[1] <https://www.php.net/supported-versions.php>
Previous Comments:
------------------------------------------------------------------------
[2018-06-26 08:57:10] t dot raab at sanitas dot at
Description:
------------
Dear All,
as Sybase support was dropped in PHP version 7, we are migrating our legacy application to connect
to a SYBASE ASE database via ODBC. Our application is finally working quite well with ASE 15.5.
The problem is that sooner or later the database will be updated to Sybase ASE 16 and we found that
retrieving any dateTime field with the newer Sybase 16 ODBC driver returns an empty string.
We also found that connecting via pdo_odbc retrieves the dateTime fields correctly, so we believe
the error lies in PHP's odbc module. Unfortunately switching to PDO is not an option, as it is
not possible to retrieve the field data type via PDO.
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=76531&edit=1
Thread (6 messages)