The following is one of 15 replication tips in 15 minutes. Click here to return to the full list of tips.
13 of 15 replication tips: Reveal replication commands
Reveal replication commands with Sp_browsereplcmds, a stored procedure you can issue in the distribution database that will reveal the replication commands in plain text. You can then pipe this to a table (using the @results_table parameter) for debugging purposes.
Click here to return to 15 replication tips in 15 minutes.
About the author: Hilary Cotter has been involved in IT for more than 20 years as a Web and database consultant. Microsoft first awarded Cotter the Microsoft SQL Server MVP award in 2001. Cotter received his bachelor of applied science degree in mechanical engineering from the University of Toronto and subsequently studied both economics at the University of Calgary and computer science at UC Berkeley. He is the author of a book on SQL Server transactional replication and is currently working on books on merge replication and Microsoft search technologies.