ora-00988

本来想看下默认表空间的有效范围


CREATE bigfile TABLESPACE "USERS" DATAFILE
'/u01/oradata/orcl/users.dbf' SIZE 500M
AUTOEXTEND ON NEXT 20M
LOGGING ONLINE PERMANENT BLOCKSIZE 8192
EXTENT MANAGEMENT LOCAL AUTOALLOCATE SEGMENT SPACE MANAGEMENT AUTO;

alter database default tablespace users;


SQL> create user u1 identified by 1;
create user u1 identified by 1
                             *
ERROR at line 1:
ORA-00988: missing or invalid password(s)


SQL> create user u1 identified by u1;

User created.

写1就报错,写u1就不报错,何解?


Oracle10g对密码的要求如下:
系统用户(SYS、SYSTEM)口令长度不能小于7个字符
第一个字符不能为数字
且全部字符中应该为字母和数字混合


貌似11g就没这问题

C:\Users\Administrator>sqlplus / as sysdba

SQL*Plus: Release 11.2.0.1.0 Production on 星期四 6月 20 15:28:59 2013

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


连接到:
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options

SQL> create user u1 identified by 1;

用户已创建。

SQL>


是哪个参数控制的吧?



發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章