Remapping table and column names with function strings

You can use function strings to translate the table name and column names for a replicated table to names other than those specified in the replication definition. The function strings that Replication Server generates for the rs_sqlserver_function_class function-string class use the names specified by the replication definition for the table, but you can define your own function strings with any names you like.

This procedure is useful if a site has existing client applications that use different table and column names than those defined by the replication definition for the primary data. Customizing function strings allows Replication Server to maintain the data in the table and does not require that you alter the site’s applications.

To do this, you can use either language function strings or RPC function strings with Adaptive Server stored procedures at the remote site.