Uploaded image for project: 'Solution Center'
  1. Solution Center
  2. SOL-7

Truncated column names in PHP

    XMLWordPrintable

    Details

    • Type: Workaround
    • Status: Published
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: ODBC
    • Labels:
    • Symptoms:
      Hide

      When reading ODBC result sets in PHP, column names are truncated to 32 characters

      Show
      When reading ODBC result sets in PHP, column names are truncated to 32 characters
    • Explanation:
      Hide

      This is not a fault in the driver or communication, but a builtin limitation in the php code.

      Show
      This is not a fault in the driver or communication, but a builtin limitation in the php code.
    • Solution:
      Hide

      Compile PHP from source code after editing file ...<php-dir>/ext/odbc/php_odbc_includes.c:

      In "struct odbc_result_value", increase size of "char name[32]" to your needs.

      Show
      Compile PHP from source code after editing file ...<php-dir>/ext/odbc/php_odbc_includes.c: In "struct odbc_result_value", increase size of "char name [32] " to your needs.
    • Category 1:
      Clients, Interfaces & Drivers - ODBC

      Attachments

        Activity

          People

          • Assignee:
            CaptainEXA Captain EXASOL
            Reporter:
            CaptainEXA Captain EXASOL
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated: