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
Version
sqlutil.h
C API Syntax
/* File: sqlutil.h */ /* API: Fetch Tablespace Container Query */ /* ... */ SQL_API_RC SQL_API_FN sqlbftcq ( struct sqlca * pSqlca, sqluint32 MaxContainers, struct SQLB_TBSCONTQRY_DATA * pContainerData, sqluint32 * pNumContainers); /* ... */ |
Generic API Syntax
/* File: sqlutil.h */ /* API: Fetch Tablespace Container Query */ /* ... */ SQL_API_RC SQL_API_FN sqlgftcq ( struct sqlca * pSqlca, sqluint32 MaxContainers, struct SQLB_TBSCONTQRY_DATA * pContainerData, sqluint32 * 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
sqlbotcq - Open Tablespace Container Query
sqlbstsc - Set Tablespace Containers
sqlbtcq - Tablespace Container Query.