2005년 1월 5일 수요일

oracle export import option

//-------------------
//table 설정 export
//-------------------
set ORACLE_SID=SP

exp system/manager@sp file=c:expXXXS010TB.dmp log=c:explogXXXS010TB.log tables=XXX_XXX.XXXS010TB direct=y

//-------------------
//user설정 export
//-------------------
set ORACLE_SID=SP

exp system/manager@sp file=c:expXXX_XXX.dmp log=c:explogXXXX001TB.log owner=XXX_XXX direct=y

//-------------------
// import
//-------------------
set ORACLE_SID=SP

imp system/manager@sp file=c:expXXXS010TB.dmp log=c:explogXXXS010TB.log ignore=y fromuser=XXX_XXX touser=XXX_XXX rows=y indexes=y

댓글 없음: