|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
Patchesnew-datatypes-support (last revision 2014-11-06 10:39 UTC by nohez at cmie dot com)Pull RequestsHistoryAllCommentsChangesGit/SVN commits
[2015-02-18 07:45 UTC] krakjoe@php.net
-Status: Open
+Status: Wont fix
[2015-02-18 07:45 UTC] krakjoe@php.net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Oct 24 22:00:02 2025 UTC |
Description: ------------ sybase_ct extension does not support the new datatypes "DATE" & "TIME" and possibly many more datatypes that have been added by the vendor. Request to get all the datatypes supported in the extension. Test script: --------------- <?php sybase_min_client_severity(11); sybase_min_server_severity(11); $dbms = "sybase"; $server = "SYBASE"; $db = "cidb"; $uid = "selector"; $pwd = ""; $p_dbcon= @sybase_connect($server, $uid, $pwd); $isok = isset($p_dbcon) && is_resource($p_dbcon); printf("PHP NATIVE : %-10s : CONNECT : %s\n", $dbms, $isok ? "OK" : "NOT-OK"); if($isok) { $q= sybase_query("create table #try (a date null, b time null)"); $q= sybase_query("insert #try values('1Jan2011', '05:00:00')"); $q= sybase_query("select * from #try"); $recs= sybase_fetch_assoc($q); $i= 0; foreach($recs as $k => $v) { printf("%5d | %s\n", $i, $v); $i++; }; }; printf("PHP NATIVE : %-10s : DB-SEL : %s\n", $dbms, @sybase_select_db($db) ? "OK" : "NOT-OK"); ?>