Надеется, что это может помочь вам
SELECT TOP 10
V.ChildItem AS [File Modified],
V.Command AS [Check-In-Action],
V.ParentPath AS [Modified File Path],
CS.ChangeSetId,
CS.CreationDate AS [Date]
FROM tbl_Changeset CS
INNER JOIN tbl_Identity I ON I.IdentityID = CS.OwnerID
INNER JOIN tbl_Version V ON V.VersionFrom = CS.ChangesetID
ORDER BY CS.CreationDate DESC
Здесь V.Command обозначает
* Edit = 2
* Type = 4
* Add folder = 5
* Add file = 7
* Rename = 8
* Rename,edit = 10
* Delete = 16
* Delete,rename = 24
* Undelete = 32
* Undelete,edit = 34
* Branch = 68
* Branch,delete = 84
* Merge = 128
* Merge, edit = 130
* Merge,type,edit = 134
* Merge, rename, edit = 138
* Merge,delete = 144
* Merge,delete,rename = 152
* Merge,undelete = 160
* Merge,undelete,edit = 162
* Merge,branch = 196
* Merge,branch,edit = 198