Using SSMS
and connecting to the TFS
server I am attempting to select a list of all change sets which have yet to be merged to other branches within the same project, and am at a loss as to which tables to utilize, or how to join them.
The goal is to present information in such a way that it generates a result set as:
UserName | CountOfUnmergedChangeSets
User1 | 32
User2 | 1
User3 | 10
I see that there is "dbo.tbl_ChangeSet" ins the project database, and another titled "[dbo].[DimChangeset]" in the [Tfs_Warehouse] database. I also see the dbo.tbl_MergeHistory
, but have not been effective in determining how to use that along with the changeset
tables.