‎10-12-2016 10:16 AM
Solved! Go to Solution.
‎10-12-2016 11:10 PM
Select Top 1000000 tblAssets.AssetID,
tblAssets.AssetName,
tblCPlogoninfo.Ipaddress,
tblCPlogoninfo.Domain As Userdomain,
tblCPlogoninfo.Username,
tblCPlogoninfo.logontime
From tblCPlogoninfo
Inner Join tblAssets On tblAssets.AssetID = tblCPlogoninfo.AssetID
Where tblCPlogoninfo.logontime >= DateAdd(hh, -24, GetDate())
Order By tblCPlogoninfo.logontime
‎10-12-2016 11:10 PM
Select Top 1000000 tblAssets.AssetID,
tblAssets.AssetName,
tblCPlogoninfo.Ipaddress,
tblCPlogoninfo.Domain As Userdomain,
tblCPlogoninfo.Username,
tblCPlogoninfo.logontime
From tblCPlogoninfo
Inner Join tblAssets On tblAssets.AssetID = tblCPlogoninfo.AssetID
Where tblCPlogoninfo.logontime >= DateAdd(hh, -24, GetDate())
Order By tblCPlogoninfo.logontime
Experience Lansweeper with your own data. Sign up now for a 14-day free trial.
Try Now