Oracle 12c Create user

Source: Internet
Author: User

1. Open SQL Plus

2. Log on using the system

3. Use Select sys_context ('USERENV ', 'con_name ') from dual; See if the current user is a CDB user or a PDB user

4. Use alter pluggable database PDBORCL Open, open pdb mode

5. Use Alter session set CONTAINER=PDBORCL; switch to pdb

6. Use again at this time Select sys_context ('USERENV ', 'con_name ') from dual; You can switch to the PDB.

7. You can create a user as normal as the previous version.

Note: PDBORCL is using select Con_id,dbid,name,open_mode from V$pdbs; NAME found

At the end of the use of the interface login to pay attention to not the previous SID, but with the service name login

Oracle 12c Create user

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.