Returns a list of columns in a table from the primary database.
pdb_get_table_md ownername, tablename
pdb_get_table_md bob, authors
Use pdb_get_table_md result to get the column metadata, including the Replication Server type mapping, for the specified table.
The metadata contains a row for each column that includes the column name, ID, length, scale, primary database type, Replication Server type, whether the column is nullable, and whether the column is a primary key or part of a unique index.
For numeric types, the precision is described in the length column.
You can execute pdb_get_table_md in any Replication Agent state.
pdb_get_table_md returns an error if Replication Agent cannot connect to the primary database or SAP Replication Server, or if the SAP Replication Server primary database connection is not available.
See pdb_get_tables, pdb_get_columns, and pdb_get_primary_keys in the Replication Agent Reference Manual.