skip to main content
IP API Reference for C/C++ : IP API for C/C++ : OASQLIP_tables
 

OASQLIP_tables

This function makes a result set available with tables that match the criteria specified by the input arguments.
int OASQLIP_tables(
SQLIP_HSTMT sqlip_hstmt,
OAWCHAR * qualifier,
OAWCHAR * owner,
OAWCHAR * table_name,
OAWCHAR * type)
 
Table 55: Parameters for OASQLIP_tables 
Parameter
Type
Description
INPUT
 
 
sqlip_hstmt
SQLIP_HSTMT
Statement handle.
qualifier
OAWCHAR *
Qualifier name used to narrow down the search. NULL indicates ignore it for search. This is a pattern value argument.
owner
OAWCHAR *
Owner name used to narrow down the search. NULL indicates ignore it for search. This is a pattern value argument.
table_name
OAWCHAR *
Table name used to narrow down the search. NULL indicates ignore it for search. This is a pattern value argument.
types
OAWCHAR *
Table types names used to narrow down the search. Table types are separated by comma. NULL indicates ignore it for search.
Note: When the getShemas(catalog, schema) function is called from the JDBC driver with the client type set to SQLDRV_CLIENTTYPE_JDBC, and if the client type is empty, the SQLTables function must be called with the appropriate corresponding schema tables to retrieve the list of schemas based on the specified catalog and schema.
RETURN
 
 
 
int
OADS_SUCCESS
OADS_ERROR