Using sp_setreptable for replication

[CR #439024] When a table with a JAVA ADT computed column is marked for replication using sp_setreptable, the JAVA ADT columns are internally set to no-computed column, which causes DML on this column to be return with inaccurate results.

Workaround: Use sp_setreplicate and sp_setrepcol instead of sp_setreptable to mark a table with a computed column for replication. To do so:

  1. Set the table replicated using sp_setreplicate:

    sp_setreplicate object_name, {true | false}
    
  2. Set the text, image, or off-row object column replicated using sp_setrepcol, by entering:

    sp_setrepcol table_name [, column_name 
    [, {do_not_replicate | always_replicate |
    replicate_if_changed} [, use_index ] ] ]