首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 数据库 > oracle >

新手问个oracle小疑点。请高手指教

2012-06-20 
新手问个oracle小问题。请高手指教E:\Documents and Settings\Administratorsqlplus /nologSQL*Plus: Rele

新手问个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
--好像多了個tablespacecreate user interlib identified by interlib default  tablespace interlib ;
[解决办法]
create user interlib identified by interlib default tablespace tablespace interlib ;


标红的位置,多了一个tablespace

热点排行