January 30, 2019 at 8:23 am
Hi can someone tell me how to retrieve the result of
select *
FROM sys.dm_exec_sessions
From a previous backup if someone has delete some of the rows?
Need to know in which database are we getting the result?
Thanks,
Stanley
January 30, 2019 at 9:24 am
Stanley Pagenel - Wednesday, January 30, 2019 8:23 AMHi can someone tell me how to retrieve the result of
select *
FROM sys.dm_exec_sessionsFrom a previous backup if someone has delete some of the rows?
Need to know in which database are we getting the result?
Thanks,
Stanley
The information on that view is dynamic, hence the prefix dm which stands for dynamic management. It shows information about all active user connections and internal tasks, this is not backed up.
January 30, 2019 at 9:35 am
But you could create a table and write the values from the DMV into it... Then you could look at it over time. Not sure it's worth doing, but that's how you could do it.
January 30, 2019 at 9:46 am
Thanks for the info Luis and Piet 🙂
January 30, 2019 at 9:50 am
No one deletes rows from this DMV. The system manages this. This is a view, not a table of data. The data you want won't be in a backup.
Viewing 5 posts - 1 through 4 (of 4 total)
You must be logged in to reply to this topic. Login to reply