Skip to content

Latest commit

 

History

History
54 lines (38 loc) · 1.25 KB

File metadata and controls

54 lines (38 loc) · 1.25 KB

Home

Function name : SQLGetFunctions

Group: ODBC API - Library: odbc32


SQLGetFunctions returns information about whether a driver supports a specific ODBC function.


Code examples:

Testing an ODBC connection for supporting specific functionality

Declaration:

SQLRETURN SQLGetFunctions(
	SQLHDBC     ConnectionHandle,
	SQLUSMALLINT     FunctionId,
	SQLUSMALLINT *     SupportedPtr);  

FoxPro declaration:

DECLARE SHORT SQLGetFunctions IN odbc32;
	INTEGER   ConnectionHandle,;
	INTEGER   FunctionId,;
	INTEGER @ SupportedPtr
  

Parameters:

ConnectionHandle [Input] Connection handle.

FunctionId [Input] A #define value that identifies the ODBC function of interest.

SupportedPtr [Output] If FunctionId identifies a single ODBC function, SupportedPtr points to a single SQLUSMALLINT value that is SQL_TRUE if the specified function is supported by the driver, and SQL_FALSE if it is not supported.


Return value:

SQL_SUCCESS, SQL_SUCCESS_WITH_INFO, SQL_ERROR, or SQL_INVALID_HANDLE.