Help Center

CODBCBase.GetOutputNTSmethod

Returns a 32-bit integer that determines how the driver returns string data.

DatabasesmethodCODBC.incdocumented

Syntax

FUNCTION GetOutputNTS () AS SQLUINTEGER

Return value

The current value of the attribute.

Description

Returns a 32-bit integer that determines how the driver returns string data. If SQL_TRUE, the driver returns string data null-terminated. If SQL_FALSE, the driver does not return string data null-terminated. This attribute defaults to SQL_TRUE. A call to SetEnvAttr to set it to SQL_TRUE returns SQL_SUCCESS. A call to SetEnvAttr to set it to SQL_FALSE returns SQL_ERROR and SQLSTATE HYC00.

Note: Optional feature not implemented in Microsoft Access Driver.

Reference

  • Include file CODBC.inc
  • Defined in AfxNova/COdbc.inc:211
  • Documented in Databases/ODBC Classes/CODBC Class.md
  • Topic: ODBC Classes