Changes a database generation number in the Replication Server to prevent the application of transactions in the DSI stable queue after a replicate database is restored.
sysadmin set_dsi_generation, gen_number, primary_data_server, primary_database, replicate_data_server, replicate_database
sysadmin set_dsi_generation 105 NY_DS, ny_db, SF_DS, sf_db
Use sysadmin set_dsi_generation during the recovery of a database dump. Changing the generation number except during recovery may cause incorrect data at replicate databases.
See the Replication Server Administration Guide Volume 2 for a complete description of the recovery procedure.