Details

    • Type: Workaround
    • Status: Obsolete
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: ODBC
    • Labels:
    • Solution:
      Hide

      Note: This solution is no longer maintained. For the latest information, please refer to our documentation:

      https://community.exasol.com/t5/database-features/truncated-column-names-in-php/ta-p/1665

      Problem

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

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

      Solution

      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
      Note: This solution is no longer maintained. For the latest information, please refer to our documentation: https://community.exasol.com/t5/database-features/truncated-column-names-in-php/ta-p/1665 Problem When reading ODBC result sets in PHP, column names are truncated to 32 characters This is not a fault in the driver or communication, but a builtin limitation in the php code. Solution 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:
              Resolved: