SQL$HELP72.HLB  —  INCLUDE  Arguments  NULL_TERMINATED_BYTES
    Specifies that CHAR fields from the repository are null-
    terminated. The module processor interprets the length field
    in the repository as the number of bytes in the string. If n is
    the length in the repository, then the number of data bytes is
    n-1, and the length of the string is n bytes.

    In other words, the precompiler assumes that the last character
    of the string is for the null terminator. Thus, a field that the
    repository lists as 10 characters can only hold a 9-character SQL
    field from the C precompiler.

    If you do not specify a character interpretation option, NULL
    TERMINATED BYTES is the default.

    For more information, see the NULL TERMINATED CHARACTERS
    argument in the SQL Module Language chapter of the Oracle Rdb
    SQL Reference Manual.
Close Help