You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/database-engine/availability-groups/windows/configure-distributed-availability-groups.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -206,10 +206,10 @@ GO
206
206
```
207
207
208
208
## <aname="failover"></a> Join the database on the secondary of the second availability group
209
-
After the database on the secondary of the second availability group has went into a restoring state you have to manually join it to the availability group.
209
+
After the database on the secondary of the second availability group is in a restoring state you have to manually join it to the availability group.
210
210
211
211
```sql
212
-
ALTERDATABASE [db1] SET HADR AVAILABILITY GROUP = [ag1];
212
+
ALTERDATABASE [db1] SET HADR AVAILABILITY GROUP = [ag2];
213
213
```
214
214
215
215
## <aname="failover"></a> Fail over to a secondary availability group
0 commit comments