We had a similar need where we wanted to link the assets to what was reported from the tblConfigLog report. We ended up using a substring on a join statement. It works most of time but there are occasions where it won't work as intended with name changes and assets with the same name.
Select Top 1000000 tblAssets.AssetID,
tblAssets.AssetName,
tblADusers.Username,
tblADusers.Userdomain,
tblADusers.Displayname,
Case tblConfigLog.ActionID When 1 Then 'change' When 2 Then '+'
When 3 Then '-' End As Action,
tblConfigLog.Description,
tblConfigLog.Date
From tblConfigLog
Left Join tblAssets
On tblAssets.AssetName = (SubString(tblConfigLog.Description,
CharIndex('''', tblConfigLog.Description, 1) + 1,
(Len(tblConfigLog.Description) - CharIndex('''',
Reverse(tblConfigLog.Description), 1)) - (CharIndex('''',
tblConfigLog.Description, 1))))
Left Join tblADusers On tblADusers.Userdomain + '\' + tblADusers.Username =
tblConfigLog.displayname
Where tblConfigLog.Description Like '%Asset%' And tblConfigLog.Date >
GetDate() - 30
Order By tblConfigLog.Date Desc