ODBC header file
The Vertica ODBC driver provides a C header file named
verticaodbc.h
that defines several useful constants that you can use in your applications. These constants let you access and alter settings specific to Vertica.
This file's location depends on your client operating system:
-
/opt/vertica/include
on Linux and UNIX systems. -
C:\Program Files (x86)\Vertica\ODBC\include
on Windows systems.
The constants defined in this file are listed below.
Parameter | Description |
---|---|
SQL_ATTR_VERTICA_RESULT_BUFFER_SIZE |
Sets the size of the buffer used when retrieving results from the server. Associated functions:
|
SQL_ATTR_VERTICA_DIRECT_BATCH_INSERT |
Deprecated, always set to 1. Associated functions:
|
SQL_ATTR_VERTICA_LOCALE |
Changes the locale from en_US@collation=binary to the ICU locale specified. See Setting the locale and encoding for ODBC sessions for an example of using this parameter. Associated functions:
|