php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #5156 OCIColumnSize returns 22 for NUMBER
Submitted: 2000-06-20 20:47 UTC Modified: 2006-07-17 08:09 UTC
From: rudi at darx dot com Assigned:
Status: Closed Package: OCI8 related
PHP Version: 3.0.14 OS: Redhat 6.1
Private report: No CVE-ID: None
 [2000-06-20 20:47 UTC] rudi at darx dot com
SQL> describe vsg_student
GROUP_SIZE NUMBER(2)
CURRENT_ADDRESS_ID NUMBER(3)
ADDRESS_COUNT NUMBER(3)

Using the demo from the manual:
http://www.php.net/manual/function.ocicolumnsize.php
The following results are returned

GROUP_SIZE  NUMBER  22
CURRENT_ADDRESS_ID NUMBER 22
ADDRESS_COUNT NUMBER 22

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-06-21 17:11 UTC] thies at cvs dot php dot net
sorry this is what oracle tells us (it's documented somewhere, but i lost the link) NUMBERS will always return 22 as their "size"
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 14:01:32 2024 UTC