March 12, 2015 at 2:17 pm
How can I tell which tables are being used in a particular db? Is there a script for that?
March 12, 2015 at 4:13 pm
What do you mean by being used?
In that precise moment? In the last days? That have data? That are included in stored procedures, functions or views?
March 12, 2015 at 4:21 pm
Hi, You can use "sys.dm_db_index_usage_stats" to get when the tables were last accessed.
March 12, 2015 at 4:24 pm
You can use "sys.dm_db_index_usage_stats" to find out when the tables were last accessed.
Sarvesh
Viewing 4 posts - 1 through 3 (of 3 total)
You must be logged in to reply to this topic. Login to reply