Oracle11g 会遇到这样的问题,用exp整库导出的时候,会遇到这样的问题,库里的空表没办法导出 select * from all_all_tables aa where aa.owner='User名大写' ---查看用户下所有表 select * from all_tables t where t.owner = 'User名大写' and t.num_rows = 0;--查看用户下所有空表 好了,下面是处理方法脚本: 在命令窗口运行: set heading off; set ec…
GO /****** 对象: StoredProcedure [dbo].[sp_ExportDatabase] 脚本日期: 07/18/2013 12:37:26 ******/ SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO ----该存储过程建立在新帐套中,并在新账套中执行 if Exists(select * from sysobjects where name=N'sp_ExportDatabase' And Xtype='P') Dr…
select DEST_ID, APPLIED_SCN FROM v$archive_dest select * from v$dataguard_status; SELECT gvi.thread#, timestamp, message FROM gv$dataguard_status gvds, gv$instance gvi WHERE gvds.inst_id = gvi.inst_id AND severity in ('Error','Fatal') ORDER BY timest…
正常倒库: 步骤一:在需要导入的库里建立一个新的数据库用户 create user sms533 identified by sms533; grant dba,create session to sms533; 步骤二:导入大表 步骤三:导入 imp ZJGSMS511_20130412/ZJGSMS511_20130412@star file=/opt/starsms3/billing/dmpdata/sms_zjg_data201303262000.dmp ignore=y…