Commenters

ah wei akmal annoymous iera Jay Rod josh Mike victor loya Vringo yumi :) 'triple N'

 

Latest Comments

 

Subscription

Subscribe to ChronoSight's feed now or get it right from your e-mail.

 

PHP Bug: Oracle field name truncated to 15 characters using ODBC/Instantclient

Posted by crynobone. on 28-December 2007. Filed under and . View:700 Comment:1

Have anyone else experience this bug/issue?

Compiled PHP 5.2.5 with Apache 2.2.6 with UnixODBC support and other
standard options.
ODBC connection was set up using Instantclient version 10.2.0.3 ODBC
driver. When tested using isql, the output was OK but when execute using
PHP, the fields name truncated to only 15 chars resulting "Undefined
Index" notice. This may be a notice but has huge impact on the system.
for example:
SS_SUBJECT_STATUS truncated to SS_SUBJECT_STAT.
Surprisingly, it seems that I'm alone. The closest article i found was
field name limited to 30 chars but that is for MSSQL. Setting the
defaultlrl also not working as the problem is in the field name, not the
content.

If you have any suggest, feel free to drop a comment here.

About The Entry

This entry was posted by crynobone on 28-December 2007 and is filed under and . You can leave a response or leave a trackback , currently there are 700 views and 1 comments.

1 comments so far...

» shutterspeaks:

on 28-December 2007 at 16:28 PM | Quote

It's PHP bug, please someone reply soon. Nobody reply at php bug tracker. If you guys don't know the solution, please vote the bug as important. Why it is a PHP bug and not Oracle or Oracle ODBC driver bug, because the isql works perfectly.
I can't find any article about this on google. The closest being truncated to 30 character and also for MSSQL.

Comment something...

Everything have a rules, so does our commenting:

  • * is required.
  • Don't provide any external links if you are posting for the first time!
  • Returning commentor can post total of 4 external links.
Name *
Website
Email *

Shout something...

Name
Website
Email