Oracle 数据库 - C## 用户和普通用户之间的区别?
Oracle Database - Different between C## user and Regular user?
你好我想知道
有什么不同
Create User C##USERNAME
和
Create user USERNAME
在 Oracle 数据库中?甲骨文 19c
在您标记的版本(10g 和 11g)中,none(除非它让您的生活变得比应有的更复杂)。
在以后的Oracle数据库版本中,与CDB相关。来自 CREATE USER(19c 版本,如编辑后的问题所建议):
(user:) Specify the name of the user to be created. This name can contain only characters from your database character set and must follow the rules described in the section "Database Object Naming Rules". Oracle recommends that the user name contain at least one single-byte character regardless of whether the database character set also contains multibyte characters.
In a non-CDB, a user name cannot begin with C## or c##.
In a CDB, the requirements for a user name are as follows:
The name of a common user must begin with characters that are a case-insensitive match to the prefix specified by the COMMON_USER_PREFIX initialization parameter. By default, the prefix is C##.
The name of a local user must not begin with characters that are a case-insensitive match to the prefix specified by the COMMON_USER_PREFIX initialization parameter. Regardless of the value of COMMON_USER_PREFIX, the name of a local user can never begin with C## or c##.
你好我想知道
有什么不同Create User C##USERNAME
和
Create user USERNAME
在 Oracle 数据库中?甲骨文 19c
在您标记的版本(10g 和 11g)中,none(除非它让您的生活变得比应有的更复杂)。
在以后的Oracle数据库版本中,与CDB相关。来自 CREATE USER(19c 版本,如编辑后的问题所建议):
(user:) Specify the name of the user to be created. This name can contain only characters from your database character set and must follow the rules described in the section "Database Object Naming Rules". Oracle recommends that the user name contain at least one single-byte character regardless of whether the database character set also contains multibyte characters.
In a non-CDB, a user name cannot begin with C## or c##.
In a CDB, the requirements for a user name are as follows:
The name of a common user must begin with characters that are a case-insensitive match to the prefix specified by the COMMON_USER_PREFIX initialization parameter. By default, the prefix is C##.
The name of a local user must not begin with characters that are a case-insensitive match to the prefix specified by the COMMON_USER_PREFIX initialization parameter. Regardless of the value of COMMON_USER_PREFIX, the name of a local user can never begin with C## or c##.