Advertisement
SQLSoldier

Untitled

May 27th, 2013
211
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
T-SQL 0.30 KB | None | 0 0
  1. With TranIDs
  2. As (Select [Transaction ID]
  3.     From fn_dblog(null, null)
  4.     Where AllocUnitName = 'dbo.sysjobs.clust'
  5.     Or AllocUnitName like 'dbo.sysschedules.%')
  6. Select SUSER_SNAME([Transaction SID]) As Changer, *
  7. From fn_dblog(null, null) DBL
  8. Inner Join TranIDs TI On TI.[Transaction ID] = DBL.[Transaction ID]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement