pdb_get_tables

Description

Returns a list of user tables in the current database at the primary data server.

Syntax

pdb_get_tables [ownername, tablename]

Parameters

ownername

The user name of the owner of the table specified in tablename. This option can be delimited with quote characters to specify character case.

tablename

The name of the table in the current database for which information is returned. This option can be delimited with quote characters to specify character case.

Examples

Example 1

pdb_get_tables

This command returns a list of all of the user tables in the current database.

Example 2

pdb_get_tables bob, authors

This command returns information about the table authors, owned by the user “bob” in the current database.

Usage

Note(For Oracle and Microsoft SQL Server) Results from these commands are from the Replication Agent System database (RASD). (For DB2 UDB) Results from these commands are taken directly from the primary database.

See also

pdb_get_columns, pdb_get_databases, pdb_get_primary_keys, pdb_get_procedure_parms, pdb_get_procedures