二、导入数据库 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权限: [sql] grant dba to scott;