pdb_get_procedures

Description

NoteThis command is available only for Oracle and Microsoft SQL Server.

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

Syntax

pdb_get_procedures [ownername, procname]

Parameters

ownername

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

procname

The name of the procedure 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_procedures

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

Example 2

pdb_get_procedures bob, sp_foo

This command returns information about the procedure named sp_foo, 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 directly from the primary database.

See also

pdb_get_columns, pdb_get_databases, pdb_get_primary_keys, pdb_get_procedure_parms, pdb_get_tables