admin translate

Performs a datatype translation on a value, displaying the results in delimited literal format.

Syntax

admin translate, value, source_datatype, target_datatype

Parameters

Examples

Usage

  • Delimit value according to the delimitation requirements of the base datatype of the source datatype.

  • If source_datatype or target_datatype requires a length specification, for example char(255), enclose the datatype name in single quotes.

  • The source and target datatypes may differ depending on whether you want to test class-level or column-level translations. Thus:
    • For class-level translations – use the published datatype for source_datatype.

    • For column-level datatypes – use the declared datatype for source_datatype and the published datatype for target_datatype.

  • Use admin translate with the diagnostic version of Replication Server to trace errors in translations.

  • For information about supported datatype translations, see the Replication Server Heterogeneous Replication Guide. For information about translating datatypes using heterogeneous datatype support (HDS), see the Replication Server Administration Guide Volume 1.

Permissions

Any user may execute this command.

Related reference
alter replication definition
create replication definition
alter connection
create connection