Use create function string, alter function string, and drop function string to create and manage target-scope function strings for replicate and standby tables and stored procedures.
{create | alter | drop} function string {replication_definition | [owner.] table | stored_procedure}.function[; function_string] for {[function class]function_class | [database] data_server.database}...
create function string dbo.authors.rs_insert for database NY_DS.rdb1 output language 'insert authors values ( ?au_id!new? , ?au_lname!new? , ?au_fname!new? , ?phone!new? , ?address!new? , ?city!new? , ?state!new? , "00000" , ?contract!new?) update fn_monitor set insert_count = insert_count + 1'