Programmer Guide : solidDB® supported ODBC functions : Connecting to a data source
  
Connecting to a data source
SQLAllocEnv
N/A
Version introduced: 1.0
Availability when using ODBC: Deprecated (replaced by SQLAllocHandle)
Conformance: N/A
SQLAllocConnect
N/A
Version introduced: 1.0
Availability when using ODBC: Deprecated (replaced by SQLAllocHandle)
Conformance: N/A
SQLAllocHandle
Returns the list of supported data source attributes.
Returns the list of installed drivers and their attributes.
Version introduced: 3.0
Conformance: ISO 92 ODBC
SQLConnect
Establishes connections to a driver and a data source. The connection handle references storage of all information about the connection to the data source, including status, transaction state, and error information.
Version introduced: 1.0
Availability when using ODBC: Supported
Conformance: ISO 92
SQLDriverConnect
This function is an alternative to SQLConnect. It supports data sources that require more connection information than the three arguments in SQLConnect, including dialog boxes to prompt the user for all connection information, and data sources that are not defined in the system information.
Version introduced: 1.0
Availability when using ODBC: Supported (including Unicode version of this function).
Conformance: ODBC
SQLBrowseConnect
Returns successive levels of attributes and attribute values. When all levels have been enumerated, a connection to the data source is completed and a complete connection string is returned. A return of SQL_SUCCESS_WITH_INFO indicates that all connection information has been specified and the application is now connected to the data source.
Version introduced: 1.0
Availability when using ODBC: Not supported
Conformance: ISO 92
SQLGetInfo
Returns general information about the driver and data source associated with a connection.
Version introduced: 1.0
Availability when using ODBC: Supported
Conformance: ISO 92
SQLGetFunctions
Returns information about whether a driver supports a specific ODBC function.
Version introduced: 1.0
Availability when using ODBC: Supported; this function is implemented in the ODBC Driver Manager. It can also be implemented in drivers. If a driver implements SQLGetFunctions, the Driver manager calls the function in the driver. Otherwise, it executes the function itself. In the case of solidDB®, the function is implemented in the driver so that the application linked to the driver can also call this function from the application.
Conformance: ISO 92
SQLGetTypeInfo
Returns information about data types supported by the data source. The driver returns the information in the form of an SQL result set. The data types are intended for use in Data Definition Language (DDL) statements.
Version introduced: 1.0
Availability when using ODBC: Supported
Conformance: ISO 92
See also
solidDB® supported ODBC functions