create user 用户名 identified by 密码 default tablespace zhijie;
grant dba,resource,connect to 用户名;
CREATE OR REPLACE TYPE DOMAIN_NAMES_COLTYPE AS TABLE OF varchar2(255);
CREATE OR REPLACE TYPE TYPE_SPLIT is table of varchar2(4000);
CREATE OR REPLACE TYPE DOMAIN_NAMES_COLTYPE AS TABLE OF varchar2(255);
CREATE OR REPLACE TYPE TYPE_SPLIT is table of varchar2(4000);
exp 用户名/密码@100_orcl file=d:\aa\dm.dmp
exp system/manager@TEST file=d:\daochu.dmp owner=(system,sys)
exp system/manager@TEST file=d:\daochu.dmp tables=(table1,table2)
4 将数据库中的表table1中的字段filed1以"00"打头的数据导出
exp system/manager@TEST file=d:\daochu.dmp tables=(table1) query=\" where filed1 like '00%'\
exp 用户名/密码@100_orcl file=d:\aa\dm.dmp log=d:\aa\dm.log
imp 用户名/密码@100_orcl file=d:\aa\dm.dmp full=y
select username,sid,serial# from v$session;
alter system kill session'$sid,$serial';
CREATE OR REPLACE TYPE DOMAIN_NAMES_COLTYPE AS TABLE OF varchar2(255);
CREATE OR REPLACE TYPE TYPE_SPLIT is table of varchar2(4000);