IMP-00013: only a DBA can import a file exported by another DBA 处理方法:在给目标环境的用户赋予dba权限,或者细粒度一些,赋予imp_full_database的权限 (常规) -- 查看用户权限SQL> select * from dba_sys_privs where grantee = 'XXX';SQL> select * from dba_role_privs where grantee ='XXX';说明:发现用户已
原文出处:http://blog.csdn.net/yueguanghaidao/article/details/7019377 select * from scott.salgrade; /*解锁scott用户*/alter user scott account unlock; alter user scott account lock; /*修改用户密码(密码必须以字母开头)*/alter user scott identified by scott123; alter user scot
localhost:1158/emD:\app\Administrator\product\11.2.0\dbhome_1\bin\imp.exe log path E:\app\Administrator\diag\rdbms\orcl\orcl\trace oracle 相关查询: 获取表字段: select * from user_tab_columns where Table_Name='用户表' order by column_name 获取表注释: select * from u
需求: 项目中有一张表大概有7000多万条数据,造成表空间已满,需要清理部分数据,打算清理3000万. 2B 做法: delete from table_name where ID > '40000000'; 备注:select count(1) from table_name where ID > 'his_batch_4000000'; 的结果大概有3000万条数据. 影响: 删了N个小时也没执行完,最终强制停止,造成表被锁.(没有管理员权限,需要联系DBA 才能解锁) 改进: decl