imp to default tablespace but not the tablespace of source system
在數據遷移時﹐往往希望把資料導入到用戶的默認表空間中﹐但資料庫設置導時默認使用原資料庫系統該用戶的默認表空間。如何更改?原因在于﹕原系統用戶默認具有unlimited tablespace 的權限,那么導時就會按照原來的位...
exp dumpfile format
extfile=`date '+%w'` 指定星期几(linux,unix)`date '+%Y%M%D'`指定哪一天(linux,unix)echo %date:~0,10% 指定哪一天(windows)(但與時間格式和區域設置有關)
EXP query
exp工具支持使用查詢子句對特定表的部分數據進行導出語法為﹕exp account/passwd tables=tab_name query=\"where column\[條件,如=,<,>等]value"\\ 起轉譯作用查詢子句可以寫入到parfile參數文件中,語法為﹕que...
exp tables
######## table.sh 找出要導出的表export ORACLE_HOME=/oracle/ora9iexport NLS_LANG=AMERICAN_CHAIN.ZHS16GBKsqlplus '/as sysdba'<<eof/* set the format of output */set echo offset termou...
EXP parfile
exp parfile=file_dest/filefile內容﹕userid=account/passwordfile=filesize=rows=y/nlog=buffer=direct=compress=n/y等exp的參數
adf
asdffda