Skip to content

Commit e070c9b

Browse files
authored
Merge pull request #98602 from ferno-ms/patch-2
Fix bug in tutorial setup script for replication
2 parents 7efed08 + 8faeaaa commit e070c9b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

articles/sql-database/replication-with-sql-database-managed-instance.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -257,8 +257,8 @@ EXEC sp_addpushsubscription_agent
257257
@subscriber_security_mode = 0,
258258
@subscriber_login = N'$(target_username)',
259259
@subscriber_password = N'$(target_password)',
260-
@job_login = N'$(target_username)',
261-
@job_password = N'$(target_password)';
260+
@job_login = N'$(username)',
261+
@job_password = N'$(password)';
262262

263263
-- Initialize the snapshot
264264
EXEC sp_startpublication_snapshot

0 commit comments

Comments
 (0)