oracle数据库如何导出并重新导入
Jun 07, 2016 pm 02:53 PMoracle数据库导出并重新导入 一、导出数据库 ? 1 2 3 4 5 6 1、将数据库TEST完全导出,用户名scott密码tiger,导出到D:testDB.dmp中: [plain] exp scott/tiger@TEST file=d:testDB.dmp full=y 2、将数据库中的表emp导出: [plain] exp scott/tiger@TEST f
oracle数据库导出并重新导入
一、导出数据库
?
1
2
3
4
5
6
1、将数据库TEST完全导出,用户名scott密码tiger,导出到D:testDB.dmp中:
[plain]
exp scott/tiger@TEST file=d:testDB.dmp full=y
2、将数据库中的表emp导出:
[plain]
exp scott/tiger@TEST file=d:testDB.dmp tables=(emp)
二、导入数据库
1
2
3
4
5
6
1、导入一个完整数据库
[plain]
imp scott/tiger@TEST file=d:testDB.dmp full=y ignore=y
2、导入一个表emp
[plain]
imp scott/tiger@TEST file=d:testDB.dmp tables=(emp)
附:
1
2
3
4
5
6
7
8
9
1、级联删除用户scott:
[sql]
drop user scott cascade;
2、创建用户scott,密码tiger:
[sql]
create user scott identified by tiger;
3、给scott赋予DBA权限:

人気の記事

人気の記事

ホットな記事タグ

メモ帳++7.3.1
使いやすく無料のコードエディター

SublimeText3 中国語版
中国語版、とても使いやすい

ゼンドスタジオ 13.0.1
強力な PHP 統合開発環境

ドリームウィーバー CS6
ビジュアル Web 開発ツール

SublimeText3 Mac版
神レベルのコード編集ソフト(SublimeText3)

ホットトピック











Oracle のスケジュールされたタスクは、作成ステップを 1 日に 1 回実行します。

PHP で MySQLi を使用してデータベース接続を確立するための詳細なチュートリアル
