ra_helpfield

Returns information about primary database fields (columns in tables, or input parameters in stored procedures) from the RASD.

Syntax

ra_helpfield article [, version [, field]]

Parameters

Examples

Usage

  • The ra_helpfield command returns the following information for fields:
    • Field (column or input parameter) object ID

    • Field name

    • Field type ID

    • Field datatype (with precision, length, and scale)

    • Field NULL mode

    • Field IDENTITY status

    • Field primary key status

    All field information items are the values returned by the primary database when Replication Agent is initialized with the pdb_xlog init command.

  • If ra_helpfield is invoked with the article option, it returns information for all fields in the current version of the specified article in the RASD.

  • If ra_helpfield is invoked with the article and version options, it returns information for all fields in the specified version of the specified article in the RASD.

  • If ra_helpfield is invoked with the article, version, and field options, it returns information for the specified field in the specified version of the specified article in the RASD.

  • The ra_helpfield command is valid when Replication Agent is in either Admin, Replicating, or Replication Down state.

  • No results are returned by ra_helpfield if the RASD has not yet been initialized with the pdb_xlog init command.

Related reference
ra_config
ra_help
ra_helparticle
ra_helpdb
ra_helpdevice
ra_helplocator
ra_helpuser