create user 用户名 identified by 密码 default tablespace 表空间名; grant create user,drop user,alter user,create any view,drop any view,exp_full_database,imp_full_database,dba,connet,resource,create session to 用户名;
SQL> create user 用户名 identified by 密码 2 grant create user,drop user,alter user,create any view,drop any view,exp_full_database,imp_full _database,dba,connet,resource,create session to 用户名 这一段不对。create table 是DDL操作,不用提交,再者语句写完后,要用;号,才能执行,你的上面的语句并没有执行。所以不能登录。
grant create user,drop user,alter user,create any view,drop any view,exp_full_database,imp_full_database,dba,connet,resource,create session to 用户名;
SQL> IMP 用户名/登陆密码@服务器号 FILE=F:\001.DMP TABLES=(ACCOUNT);
SP2-0734: 未知的命令开头 "IMP CW/CAI..." - 忽略了剩余的行
不知道是什么原因,我用cmd-imp ……也试过了,提示说imp不是内部命令,真是找不出原因了,恳求知道的大虾指点一下~~
select ts.name as tablespacename,df.name as datafilename from v$tablespace ts,v$datafile df where ts.ts#=df.ts#
2 grant create user,drop user,alter user,create any view,drop any view,exp_full_database,imp_full
_database,dba,connet,resource,create session to 用户名
这一段不对。create table 是DDL操作,不用提交,再者语句写完后,要用;号,才能执行,你的上面的语句并没有执行。所以不能登录。
imp-00003:遇到ORACLE错误942
ora-00942:表或视图不存在
imp-00023:未安装导入视图,请通知DBA
imp-00000:未成功中止导入
这个到底是什么缘故啊,请知道的大虾指点一下