select max(sequence#)+1,min(sequence#)-1,thread# from v$log_history where
first_time and first_time>to_date('2012-09-27 01:00','yyyy-mm-dd hh24:mi')
group by thread#;
first_time and first_time>to_date('2012-09-27 01:00','yyyy-mm-dd hh24:mi')
group by thread#;
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/14385647/viewspace-748470/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/14385647/viewspace-748470/
本文展示了一条SQL查询语句,用于筛选在特定时间范围内的历史记录,关注线程ID及其操作序列号的增减情况。
2542

被折叠的 条评论
为什么被折叠?



