Basic Oracle Concepts and Programming Question:

How To Create a New User Account in Oracle?

Tweet Share WhatsApp

Answer:

If you want to create a new user account, you can log in as SYSTEM and use the CREATE USER command as shown in the following example:

>.insqlplus /nolog

SQL> connect SYSTEM/globalguideline
Connected.

SQL> CREATE USER DEV IDENTIFIED BY developer ACCOUNT UNLOCK;
User created.

Note that CREATE is a SQL statement, so you need to terminate it with ";". This command creates a user called "DEV", with a password of "developer". You can test this account by log in with DEV from SQL*Plus.

Download Oracle Database PDF Read All 430 Oracle Database Questions
Previous QuestionNext Question
How To List All User Accounts in Oracle?How To Change User Password in Oracle?