pdb_get_primary_keys

Description

Returns a list of primary key columns in a specified table in the current database at the primary data server.

Syntax

pdb_get_primary_keys 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 primary key column information is returned. This option can be delimited with quote characters to specify character case.

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_procedure_parms, pdb_get_procedures, pdb_get_tables