STRDTAMIR - Start net change mirroring
Use this command to start net change mirroring on a subscription.
This command starts mirroring of any table with a replication method set to mirroring, and a table status set to Refresh or Active.
Applies To—Source
Syntax
Subscription name (TARGET)
Specifies the name of the subscription.This is a required parameter.
- Name
- Specify the name of a subscription. This must be the same name defined in Management Console.
- generic*
- Generic names may be used for subscriptions, by adding an asterisk (*) after one or more characters that are common to the group of subscriptions names. For example, 'abc*' specifies all subscriptions starting with the characters 'abc'.
- *ALL
- Specifies all subscriptions.
Idle format (IDLE)
Specifies the action that CDC Replication will take when it determines that all available data has been replicated to the target.- *WAIT
- CDC Replication replication process remains active after all changes are replicated to the target.
- *END
- CDC Replication replication process ends after all changes are replicated to the target.
Net change mirroring format (FORMAT)
Indicates if CDC Replication should start net change mirroring.- *ONLY
- Indicates that CDC Replication will not start net change mirroring.
- *NO
- Indicates that CDC Replication will start net change mirroring.
Blocking describe (BLOCKING)
Indicates whether the STRDTAMIR command will block until the describe completes.- *YES
- The STRDTAMIR command will not complete until the describe is complete.
- *NO
- The STRDTAMIR command will not wait until the describe is complete before being executed.
Result
Messages are placed in the Event Log.Examples
STRDTAMIR TARGET(SUB1) IDLE(*END)CDC Replication starts net change mirroring on subscription SUB1. All CDC Replication processes end after all available data has been mirrored.
STRDTAMIR
TARGET(SUB1) IDLE(*END) FORMAT(*NO)CDC Replication starts net change mirroring on subscription SUB1. All CDC Replication processes end after all available data has been mirrored.
STRDTAMIR
TARGET(*ALL) IDLE(*END) FORMAT(*NO)CDC Replication starts net change mirroring on all subscriptions. All CDC Replication processes end after all available data has been mirrored.