oracle 查询某一个表中数据被锁的时间

select * from v$lock a ,all_objects b  
where ctime > 1222 and type='TM' 
and a.id1=b.object_id and b.object_name = ''

###b.object_name对应要查询的表


你可能感兴趣的:(oracle,查询某一个表中数据被锁的时间)