Hello All,
I have another question today. I am trying to develop a better way to find all non used tables in databases. These tables are named like _BKP, _bkpDateAppended, ZZ_tablename etc etc. I need to find out if these are in used or not. I will drop them later if
not used. I thought of using SQL server profiler but it will be too heavy to run profiler on production. I thought of writing trigger for each of the table but trigger will not log for any SELECT operations.
Can you suggest a better approach to achieve this?
Environment: SQL server 2012 Enterprise Edition, Windows Server 2012
Thanks in advance.