SQL tutorial 38: How to create user using SQL Developer in Oracle database
Key Takeaways
Creates user accounts in Oracle database using SQL Developer
Full Transcript
what's up internet I'm Manish from Rebellion rider.com and I'm back once again with another SQL tutorial today in this SQL tutorial you will going to learn how to create a new user account using SQL Developer tool in the previous video I showed you how to create a new user account using SQL create user statement there I explained the syntax of SQL create user with example in detail so I highly suggest you to please watch my previous video for the better understanding of this concept you can find all the links in the description box let's start today's tutorial as you can see here I am on my SQL Developer now the first thing as I have already told you in my previous tutorial is that in order to create a new user account you must have create user system privilege or you can use CIS or system user account for creating a new user these are two highly privileged administrative account created automatically during installation so I'm going to log on to my database using CIS user so let's quickly create a new connection to connect with our database using CIS user by the way I have done a detailed video on how to connect with database using SQL Developer and command prompt it's tutorial 4 you can watch it link is in the description box to make a new connection click this big Green Plus button it will open up a new window now here in this new window you have to fill in all these detail in connection name you can give any name you want I will write let's say sis at localhost now username here you have to give a valid username and in our case it's sis as we want to log onto our database with CIS user now password my password for CIS user is Oracle check this checkbox next to the save password if you want you can provide a color for this user I don't want to give any color connection type Let It Be basic it's okay rooll you must choose CIS DBA here otherwise you will get an error now host name my host name is local host for the obvious reason if your database is installed on server then you can give your server name or IP address 1521 port number it's okay for me I have configured my database on default Port which is 1521 you may have different port number you can check your listener.ora file for valid host name and port number my Sid is orcl watch my tutorial 4 for detail information Let's test this connection success now click save and then click connect now we are log on to our database using our CIS user let me quickly show you the user and as you can see our user is sis so now double click on your CIS user and expand it here select the last option which is other user right click and then select create user this will open up a create user visit write the name of your user in this username field you can give whatever name you want in my previous video I made a user by the name of Iron Man so today I'm going to make a user by the name of Batman write password in password field for the authentication of your user write the same password in confirm password if you check this check boox next to the password expire field then your user has to change the password on the first login attempt similarly you can log the user and enable the addition I don't want to lck the user and expire the password or enable addition so I'm not going to check any of the box here next is table spaces here you have to choose the default and temporary table spaces as default table space I will choose example this time you can choose any table space as default table space except Temp and undo table space and in my temporary table space I will choose temp I have only one temporary table space by the name of temp everything is done here now click this ground Ru tab now what are roles roles are group of privileges Suppose there are large number of user and you have to assign same system and object privileges to them this will become very tedious task if you start granting individual privilege to each of these user so instead of doing this you can create a role where you will group all the Privileges and Grant this role to the user don't worry I will do a separate video on role soon but for now I don't want to assign any role to my user Batman so I'm not going to select anything here okay now come to system privileges step these are all system privileges which you can assign to your user and if you remember I told you guys in my previous tutorial that to establish a connection with database every newly created user must have create session system privilege create session system privilege is mandatory privilege needed by all the users to log on to the database so here also we have to assign create session privil to our user Batman let's search for create session here and here it is now check this checkbox against the name of privilege in Grant column if you check this admin option checkbox then this user this means user Batman which I'm creating right now can grant or revok the system privilege or role to or from any user or other roles in the the database but I do not want to assign admin option to our user Batman so I'm not going to check this check box here okay say if you want to create table using this user then you grant create table to your user let's search for create table and here it is now check this check box here okay everything is done you can browse this list of Privileges and see what privilege you want to assign and then Grant accordingly done here now come to the Kota tab using Kota Clause you can specify the maximum amount of space that the user is capable of allocating in table space before that let me tell you one thing you cannot assign Kota on temp and undo table space if you try to do this you will get an error now if you want to allocate unlimited space to the newly created user then you can just sck on the checkbox provided against the name of table space which in this case is example you can even allocate a certain quota of space on the table space named example by double clicking on the appropriate box in the quota column and filling in the amount of space that you want to give similarly you could even specify the units such as k for kilobyte M for Megabyte and G for gabt so what I'm going to do I'm going to allocate 20 MB of example table space to our user Batman for that I will write 20 here and then hit enter and it's MB so I will write M here that's it now the next step is SQL which contains all the SQL statement corresponding to the settings which you have done so far if you are learning SQL then you can take help from these SQL statements everything is done here if you want you can review your setting once again otherwise click apply successful proceed SQL command now a new user account is created just click okay and then close you can check your user for that expand this other user folder here you can see the list of all the users account of this database let's search for our user and here it is so now you have your new user account created let's try to log onto our database using this user bman to save the time I will use the command prompt for the demonstration as you can see we are logged on to our database using our user Batman let me quickly show you the user and here is our user Batman that's how we create a new user account using SQL Developer tool that's it for today hope you enjoyed watching please hit the Thumbs Up Button if you like my video also do subscribe to my channel for more such interesting videos on SQL I will be back soon with another tutorial till then take care this is Manish
Original Description
How to create new user accounts using SQL Developer in oracle database.
In This tutorial you will learn how to create a new user account. How to setup a database connection with SyS user. How to grant privileges to the user
----_Links_---
Blog :http://bit.ly/create_user_account
Video Tut 4: http://youtu.be/wSqoXRlXDUU
How to create database: http://youtu.be/enFFezPYhCg
Copy Cloud referral link || Use this link to join copy cloud and get 20GB of free storage
https://copy.com?r=kb4rc1
Amazon Wishlist: http://bit.ly/wishlist-amazon
Contacts
E-Mail
RebellionRiderYT@gmail.com
Twitter
https://twitter.com/rebellionrider
Instagram
http://instagram.com/rebellionrider
Facebook.
https://www.facebook.com/imthebhardwaj
Linkedin.
http://in.linkedin.com/in/mannbhardwaj/
Thanks for liking, commenting, sharing and watching more of our videos
This is Manish from RebellionRider.com
Watch on YouTube ↗
(saves to browser)
Sign in to unlock AI tutor explanation · ⚡30
Playlist
Uploads from Manish Sharma · Manish Sharma · 44 of 60
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
▶
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
Oracle Database tutorials 1: How to install Oracle Database 11g on windows 7
Manish Sharma
Oracle Database tutorials 2:How To install SQL Developer on windows 7
Manish Sharma
Oracle Database tutorials 3:How to enable Line numbers in SQL Developer.
Manish Sharma
Oracle Database tutorials 4: database connectivity using SQL developer and command prompt
Manish Sharma
Oracle Database tutorials 5: how to Fetch Data using SELECT - SQL statement by Manish Sharma
Manish Sharma
Oracle Database11g tutorials 6 | | How to use Concatenation operator, character String
Manish Sharma
Oracle Database11g tutorials 7 | |SQL DISTINCT keyword || SQL tutorials
Manish Sharma
Canon EOS 600D 2 lens kit/Canon rebell EOS T3i 2 lens kit Unboxing
Manish Sharma
First look: ORACLE CERTIFIED ASSOCIATE (OCA) CERTIFICATE - ORACLE DATABASE ADMINISTRATOR
Manish Sharma
Oracle Database11g tutorials 8 || SQL DISTINCT with multiple columns |SQL Distinct with Two columns
Manish Sharma
Oracle Database11g tutorials 9 || What is archive log mode and how to enable archive log mode
Manish Sharma
Oracle Database11g tutorials 10 || SQL Single Row Function (SQL Functions )
Manish Sharma
Oracle Database11g tutorials 11: SQL case manipulation function in Oracle Database
Manish Sharma
how to add channel trailer and section on your youtube channel 2014
Manish Sharma
Oracle Database11g tutorials 12 || SQL Concat Function - SQL character manipulation function
Manish Sharma
Oracle Database11g tutorials 13 || SQL substr function / SQL substring function
Manish Sharma
Oracle Database11g tutorials 14 : How to CREATE TABLE using sql developer and command prompt
Manish Sharma
SQL tutorials 15 || How To CREATE TABLE using enterprise manager 11g
Manish Sharma
Oracle Database11g tutorials 16: How to uninstall oracle 11g from windows 7 64 bit
Manish Sharma
ORACLE CERTIFIED PROFESSIONAL(OCP) CERTIFICATE First look - ORACLE DATABASE ADMINISTRATOR
Manish Sharma
Plantronics audio 655 USB headset with Mic Unboxing and Review and Plantronics audio 655 Mic test
Manish Sharma
SQL tutorials 17: SQL Primary Key constraint, Drop primary Key
Manish Sharma
SQL tutorials 18: SQL Foreign Key Constraint By Manish Sharma
Manish Sharma
SQL tutorial 19: ON DELETE SET NULL clause of Foreign Key By Manish Sharma (RebellionRider)
Manish Sharma
SQL tutorials 20: On Delete Cascade Foreign Key By Manish Sharma (RebellionRider)
Manish Sharma
SQL tutorial 21: How To Rename Table in SQL using ALTER TABLE statement By Manish Sharma
Manish Sharma
SQL tutorial 22: How to Add / Delete column from an existing table using alter table
Manish Sharma
SQL tutorial 23: Rename and Modify Column Using Alter Table By Manish Sharma (RebellionRider)
Manish Sharma
SQL tutorial 24 :SQLJoins- Natural Join With ON and USING clause By Manish/Rebellionrider
Manish Sharma
Oracle Database11g tutorials 25: How to install Oracle Database 11g Express Edition R2 on Windows 7
Manish Sharma
SQL tutorial 26: Introduction to SQL Joins in Oracle Database
Manish Sharma
Vidcon 2014 YouTube Fan Funding: How to enable fan funding on YouTube Channel
Manish Sharma
SQL tutorial 27: Right Outer Join in SQL by Manish Sharma for RebellionRider
Manish Sharma
SQL tutorial 28: Left Outer Join By Manish Sharma / RebellionRider
Manish Sharma
SQL tutorial 29: Full Outer Join with example By Manish Sharma/ RebellionRider
Manish Sharma
SQL tutorial 30: Inner Join In SQL by Manish Sharma/RebellionRider
Manish Sharma
SQL tutorial 31 : SQL Cross Join In Oracle Database By Manish Sharma from RebellionRider
Manish Sharma
SQL tutorial 32: How To Insert Data into a Table Using SQL Developer
Manish Sharma
SQL tutorial 33:How To Insert Data into a Table Using SQL INSERT INTO dml statement
Manish Sharma
SQL tutorial 34: How to copy /Insert data into a table from another table using INSERT INTO SELECT
Manish Sharma
SQL tutorial 35: DELETE and TRUNCATE how to delete data from a table
Manish Sharma
SQL tutorial 36: how to create database using database configuration assistant DBCA
Manish Sharma
SQL tutorial 37: How to create NEW USER account using Create User statement in Oracle database
Manish Sharma
SQL tutorial 38: How to create user using SQL Developer in Oracle database
Manish Sharma
SQL tutorial 39: How to create user in oracle using Enterprise Manager
Manish Sharma
SQL tutorial 40: DBA Trick, How to drop a user when it is connected to the database
Manish Sharma
Motorola Moto G 2nd Generation / G2 Unboxing and Review
Manish Sharma
SQL tutorial 41: How to UNLOCK USER in oracle Database
Manish Sharma
SQL tutorial 42: How to Unlock user using SQL Developer By Manish Sharma RebellionRider
Manish Sharma
SQL tutorial 43: How to create an EXTERNAL USER in oracle database By Manish Sharma RebellionRider
Manish Sharma
SQL tutorial 44: How to import data from Microsoft Excel to Oracle Database using SQL Developer
Manish Sharma
SQL tutorial 45: Introduction to user Privileges in Oracle Database By Manish Sharma RebellionRider
Manish Sharma
SQL tutorial 46: What are System Privileges & How To Grant them using Data Control Language
Manish Sharma
SQL tutorial 47: How to Grant Object Privileges With Grant Option in Oracle Database
Manish Sharma
SQL tutorial 48: How to create Roles in Oracle Database
Manish Sharma
SQL tutorial 49: CASE - Simple Case Expression in Oracle Database (1/2)
Manish Sharma
SQL tutorial 50: CASE - Searched Case Expression In Oracle (2/2)
Manish Sharma
SQL tutorial 51: DECODE function in Oracle Database By Manish Sharma (RebellionRider)
Manish Sharma
Oracle Database Tutorial 52 : Data Pump expdp - How to Export full database using expdp
Manish Sharma
Oracle Database Tutorial 53 : Data pump expdp - How to Export tablespace in Oracle Database
Manish Sharma
Related AI Lessons
⚡
⚡
⚡
⚡
The Attention Economy: Your Attention Is Worth More Than Gold
Medium · Data Science
What I Learned Building a Tableau Dashboard for Deloitte’s Data Analytics Simulation
Medium · Data Science
Six Months, 9,541 Restaurant Development Records, and What the Data Actually Says
Medium · Data Science
CRM Analitiği ile Müşteri Değerini Anlamak: RFM, CLTV ve Predictive CLTV Rehberi
Medium · Data Science
🎓
Tutor Explanation
DeepCamp AI