摘要:
--1、命令登录方式 A SQL>sqlplus /nolog SQL>conn / as sysdba B SQL>sqlplus / as sysdba --查看用户密码默认管理方式 select profile from dba_users where username=users; --查看 阅读全文
摘要:
一、现象: 从DBA_SEGMENTS里面看,数据库中最大的对象是两个LOB,通过和DBA_LOG关联,找到对应的2个表。以下为这4个对象的大小 。用delete语句删除了这两个表中的部分数据之后,这4个对象占用的空间不变。 Col l.segment_name for a100 Col l.tab 阅读全文
摘要:
delete t1 where rowid in(select rowidfrom (select row_Number() over(partition by t1.asset_code order by t1.asset_code) xh,t1.rowid from t1) where xh>1 阅读全文