showtables: Return a list of tables

idaShowTablesR Documentation

Return a list of tables

Description

Returns a data frame that contains the names of the tables contained in the current database.

Usage

idaShowTables(showAll=FALSE, matchStr=NULL, schema=NULL, accelerated=FALSE)

Arguments

showAll

List all tables that are listed in the catalog of the current database (TRUE) or only those tables that are in the current schema (FALSE).

matchStr

If not NULL, only tables that contain the character string in this argument will be returned.

schema

If not NULL, only tables with this schema will be returned. This parameter is ignored if showAll=FALSE.

accelerated

Valid for DB2 for z/OS connections only. If TRUE, only accelerated tables will be returned.

Value

A data frame with the columns Schema, Name, Owner, and Type. For DB2 for z/OS connections the columns Acceleratorname and Enable are included as well.

Examples

## Not run: 

#Get a list of all tables in the current schema
tabs <- idaShowTables()


## End(Not run)

ibmdbR documentation built on Nov. 24, 2023, 5:09 p.m.