Entering content frame

 Level 1 API 

Overview of the functions that are defined in the MaxDB ODBC driver for the Level 1 API

Function

Remark

SQLBindParameter

If you want to process more than one LONG column with an INSERT, UPDATE, or DELETE statement, and bind the parameters with the attribute SQL_DATA_AT_EXECUTE, note that, for the SQLPutData function, it is only possible to assign the NULL value to one LONG column, at most.
If you want to set more than one LONG column to the NULL value with only one statement, you must bind the columns in the length specification (
pcbValue) using the attribute SQL_NULL_DATA. Otherwise, you receive the message
szSqlState = S1000 SQLCODE =-22002.

SQLColumns

-

SQLDriverConnect

Keyword for the name of the database server: SERVERNODE
Keyword for the name of the database instance: SERVERDB

SQLGetConnectAttr

Remark

SQLGetData

-

SQLGetFunctions

Remark

SQLGetInfo

Remark

SQLGetStmtAttr

-

SQLGetTypeInfo

You can determine the data types supported by the MaxDB database system using the function SQLGetTypeInfo.

The following data types are supported:
CHAR, VARCHAR, DECIMAL, FIXED, INTEGER, SMALLINT, FLOAT, REAL, DOUBLE PRECISION, DATE, TIME, TIMESTAMP, LONG, CHAR() BYTE, VARCHAR() BYTE, LONG BYTE, BOOLEAN

If the database is configured so that UNICODE characters can be processed, MaxDB also supports the following data types:
CHAR() UNICODE, VARCHAR() UNICODE, LONG UNICODE

SQLParamData

For LONG columns that contain NULL values, see remark for SQLBindParameter

SQLPutData

For LONG columns that contain NULL values, see remark for SQLBindParameter

SQLSetConnectAttr

See SQLGetConnectAttr

SQLSetParam

-

SQLSetStmtAttr

-

SQLSpecialColumns

-

SQLStatistics

-

SQLTables

The MaxDB ODBC driver supports the following table types (szTableType):
ALIAS, RESULT, SNAPSHOT, SYSTEM, SYSTEM TABLE, TABLE, UNLOADED, VIEW

 

 

Leaving content frame