日期:2014-05-17  浏览次数:20825 次

新手问个oracle小问题。请高手指教
E:\Documents and Settings\Administrator>sqlplus /nolog

SQL*Plus: Release 10.2.0.1.0 - Production on 星期二 6月 19 10:46:29 2012

Copyright (c) 1982, 2005, Oracle. All rights reserved.

SQL>
SQL> conn /as sysdba
已连接。

SQL> create tablespace interlib datafile 'E:\oracle\product\10.2.0\oradata\inter
lib\interlib.dbf' size 1024m;

表空间已创建。

SQL> create user interlib identified by interlib default tablespace tablespace i
nterlib ;
create user interlib identified by interlib default tablespace tablespace interl
ib
  *
第 1 行出现错误:
ORA-00922: 选项缺失或无效。
为什么会提示 ORA-00922: 选项缺失或无效。

------解决方案--------------------
SQL code

--好像多了個tablespace
create user interlib identified by interlib default  tablespace i
nterlib ;

------解决方案--------------------
create user interlib identified by interlib default tablespace tablespace interlib ;


标红的位置,多了一个tablespace