When Replication Server maps function-string output templates to data server commands, it formats the variables using the Adaptive Server format.
For most variables (except those special cases with modifiers ending in _raw), Replication Server formats data as follows:
Adds an extra single-quote character to single-quote characters appearing in character and date/time values.
Adds single-quote characters around character and date/time values, if they are missing.
Adds the appropriate monetary symbol (for example, the dollar sign) to values of money datatypes.
Adds the “0x” prefix to values of binary datatypes.
Adds a combination of a backslash (\) and newline character between existing instances of a backslash and newline character in character values. Adaptive Server treats a backslash followed by a newline as a continuation character and, therefore, deletes the added pair of characters, leaving the original characters intact.
Replication Server does not alter datatypes in these ways for modifiers that end in _raw.