Oracle数据库导入导出命令
導(dǎo)出表結(jié)構(gòu)
exp name/password@hostname/db_name owner=username rows=n file=filename.dmp log=exp_log.log
導(dǎo)入表結(jié)構(gòu)
imp name/password@hostname/db_name fromuser=username touser=username file=filename.dmp log=imp_log.log
導(dǎo)出某些表表:
exp name/password@hostname/db_name tables=(table_name_1,table_name_2,table_name_3) file=filename.dmp
導(dǎo)入必須的public表
imp name/password@hostname/db_name tables=(table_name_1,table_name_2,table_name_3) file=filename.dmp ignore=y
導(dǎo)出某用戶的數(shù)據(jù)庫(kù)
exp name/password@hostname/db_name file=filename.dmp owner=username log=exp_log.log
向空庫(kù)中導(dǎo)入數(shù)據(jù)
imp name/password@hostname/db_name file=filename.dmp fromuser=username touser=username log=exp_log.log
?
總結(jié)
以上是生活随笔為你收集整理的Oracle数据库导入导出命令的全部?jī)?nèi)容,希望文章能夠幫你解決所遇到的問(wèn)題。
- 上一篇: Linux操作系统为何会对计算机病毒免疫
- 下一篇: 怎么用u盘备份自己系统文件在哪里找 如何