Quantcast
Channel: SQL Server Information
Viewing all articles
Browse latest Browse all 36

How to see commands with Command IDs in SQL Server 2000

$
0
0

Below query will help in seeing the command along with command_id. This is helpful in cases where you want to skip a corrupt command in SQL Server 2000 Transactional Replication

 

use distribution

select

publisher_database_id,

xact_seqno, type,

article_id,

originator_id,

command_id,

partial_command,

cast(command as nvarchar(4000))

from

msrepl_commands


Viewing all articles
Browse latest Browse all 36

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>