Fetches a specified number of rows of table space container query data, each row consisting of data for a container.
Scope
In a partitioned database server environment, only the table spaces on the current node are listed.
Authorization
One of the following:
Required Connection
Database
API Include File
sqlutil.h
C API Syntax
/* File: sqlutil.h */
/* API: Fetch Tablespace Container Query */
/* ... */
SQL_API_RC SQL_API_FN
sqlbftcq (
struct sqlca * pSqlca,
unsigned long MaxContainers,
struct SQLB_TBSCONTQRY_DATA * pContainerData,
unsigned long * pNumContainers);
/* ... */
|
Generic API Syntax
/* File: sqlutil.h */
/* API: Fetch Tablespace Container Query */
/* ... */
SQL_API_RC SQL_API_FN
sqlgftcq (
struct sqlca * pSqlca,
unsigned long MaxContainers,
struct SQLB_TBSCONTQRY_DATA * pContainerData,
unsigned long * pNumContainers);
/* ... */
|
API Parameters
Sample Programs
Usage Notes
The user is responsible for allocating and freeing the memory pointed to by the pContainerData parameter. This API can only be used after a successful sqlbotcq call. It can be invoked repeatedly to fetch the list generated by sqlbotcq.
For more information, see sqlbotcq - Open Tablespace Container Query.
See Also
sqlbctcq - Close Tablespace Container Query