Basic Oracle Concepts and Programming Question:

Download Job Interview Questions and Answers PDF

How To Create a New User Account in Oracle?

Oracle Database Interview Question
Oracle Database Interview Question

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 Interview Questions And Answers PDF

Previous QuestionNext Question
How To List All User Accounts in Oracle?How To Change User Password in Oracle?