2015年2月5日

oracle 解锁

摘要: selectt2.username,t2.sid,t2.serial#,t2.logon_timefromv$locked_objectt1,v$sessiont2wheret1.session_id=t2.sidorderbyt2.logon_time;--查看锁--altersystemkill... 阅读全文

posted @ 2015-02-05 13:39 博客园Jason 阅读(115) 评论(0) 推荐(0) 编辑

oracle 查找或删除重复记录的语句

摘要: --oracle查找重复记录select * from tableA a where a.rowid>=(select min(rowid) from tableA b where a.column=b.column)--oracle删除重复记录delete from tableA a where ... 阅读全文

posted @ 2015-02-05 12:03 博客园Jason 阅读(132) 评论(0) 推荐(0) 编辑

导航