Oracle SQL Plus:创建用户时出现错误“ORA-00922:选项缺失或无效”
Oracle SQL Plus: Error “ORA-00922: missing or invalid option” when creating user
这是我第一次使用 SQLPlus 和 Oracle。 (探索其他 DBMS):)
使用 SQL 另外,我正在尝试创建用户。
SQL> create user <username> identified by <password>;
但是显示错误:
ORA-00922: missing or invalid option
我错过了什么?
:(
根据 oracle 文档:
Nonquoted identifiers must begin with an alphabetic character from your database character set. Quoted identifiers can begin with any character.
因此最好在密码周围使用引号!
参考:https://docs.oracle.com/cd/B19306_01/server.102/b14200/sql_elements008.htm
这是我第一次使用 SQLPlus 和 Oracle。 (探索其他 DBMS):)
使用 SQL 另外,我正在尝试创建用户。
SQL> create user <username> identified by <password>;
但是显示错误:
ORA-00922: missing or invalid option
我错过了什么?
:(
根据 oracle 文档:
Nonquoted identifiers must begin with an alphabetic character from your database character set. Quoted identifiers can begin with any character.
因此最好在密码周围使用引号!
参考:https://docs.oracle.com/cd/B19306_01/server.102/b14200/sql_elements008.htm