本來想看下默認表空間的有效範圍
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>
是哪個參數控制的吧?