Skip to content

Commit 38df4fa

Browse files
authored
Merge pull request #5014 from MikeRayMSFT/patch-7
Update code sample for typo.
2 parents 5b305f4 + 002b10a commit 38df4fa

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

docs/database-engine/availability-groups/windows/configure-distributed-availability-groups.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -206,10 +206,10 @@ GO
206206
```
207207

208208
## <a name="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.
210210

211211
```sql
212-
ALTER DATABASE [db1] SET HADR AVAILABILITY GROUP = [ag1];
212+
ALTER DATABASE [db1] SET HADR AVAILABILITY GROUP = [ag2];
213213
```
214214

215215
## <a name="failover"></a> Fail over to a secondary availability group

0 commit comments

Comments
 (0)