on 11-05-2014 11:34 PM
We can get information about DML changes on a table with sp_iqunusedtable. However, our requirement needs when was a Select query was executed on a particular table, it is possible??
Best regards
Jairo,
You may try query on SYSIQTAB for last UPDATE on table without audit.....
select convert(varchar(50),table_name),convert(varchar(27),update_time)
from systable t, SYSIQTAB i
where t.table_id = i.table_id
order by update_time;
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You would need to enable auditing to track individual usage. If all you need is usage data, you could look at the workload monitor where we track IF a table/column/index was used or not. It does not track the WHO or the WHEN, that would come from auditing.
Mark
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.