Skip to content

Commit 8faeaaa

Browse files
authored
Fix bug in tutorial setup script for replication
1 parent e00ec70 commit 8faeaaa

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
@@ -243,8 +243,8 @@ EXEC sp_addpushsubscription_agent
243243
@subscriber_security_mode = 0,
244244
@subscriber_login = N'$(target_username)',
245245
@subscriber_password = N'$(target_password)',
246-
@job_login = N'$(target_username)',
247-
@job_password = N'$(target_password)';
246+
@job_login = N'$(username)',
247+
@job_password = N'$(password)';
248248

249249
-- Initialize the snapshot
250250
EXEC sp_startpublication_snapshot

0 commit comments

Comments
 (0)