SQL tutorial 43: How to create an EXTERNAL USER in oracle database By Manish Sharma RebellionRider
Skills:
SQL Analytics90%
Key Takeaways
Creates an external user in an Oracle database using SQL commands
Full Transcript
what's up internet I'm Manish from Rebellion rider.com and today in this SQL tutorial we will learn how to create an external user I have already done a series of videos where I showed you the different ways of creating a local user in Oracle database the authentication of local user is handled by Oracle data dictionaries using password but the authentication of external user is managed by external services such as your operating system the user who is authenticated by the operating system can easily access the database without being requested for a password so without further Ado let's start today's tutorial before starting the tutorial I just want to tell you that using these step you can create external user in any Windows Linux as well as on Mac environment steps are the same so the name of external user is a string which is a combination of three factors these three factors are host name which is your computer's name you can very easily find the host name of your machine by simply writing host name in your command prompt and hitting enter this will show you the host name of your machine note here that a host name is only required when you are creating an external user on Windows machine but if you're are using an a Unix or a Linux machine then there is no need of a host name so you can skip this step if you are on a Linux machine as we can see here my host name is m- thing second factor is the user account name of your operating system this is the name of your user account for which you want to create an external user mind here that the authentication information of this account such as password will be served as authentication information of your external user to find the username of your OS simply write and hit enter my username is M and the third Factor here is OS authent prefix which is a special Oracle parameter this parameter is responsible for telling the Oracle that the user which we are going to create is an external user and not a local one or for that matter any other type of user the name of all the external user must start with the value of this parameter to get the value of this parameter first you need to log onto your database using CIS user with CIS DB your privileges let me show you the user once as you can see our user assist now write and here in the fourth line you can see the value of os authent prefix parameter which is Ops dollar okay now we have the values for all the three parameters now let's create the name of our external user while creating the name of the external user you have to keep keep certain things in mind such as name of external user must always start with the value of os authent prefix parameter followed by the host name and then a backward slash after which comes your user account name in case you are using Unix or Linux machine then we will skip the host name from the name of our external user since now we know the name of our external user hence creating it is a piece of cake to create an external user we will again use the create user statement let's see how let me clear this screen screen first so that you people can see what I'm going to do next okay now let's create our external user above query is fairly simple create and user both are the keywords followed by the name of our user which we just determined and then identified clause which is followed by externally keyword always remember to enclose the name String in double quotes as we have dollar sign in this string and this name String should be in all caps I highly suggest you to watch my videos on how to create user for the better understanding of this concept link is in the description box okay now let's hit enter user created as our external user has been created now we have to Grant this user a special as well as mandatory system privilege which is create session so that we can log onto our database using this user grants succeeded now as it's an external user this means that all its authentications are handled by operating system thus to log onto our database using this user we have to Simply write okay first let's exit from this SQL front let me clear the screen okay now let's try to log onto our database using our external user which we just created to log on to our database using an external user we just have to write yes no need to supply user name or any password so let's quickly check the user as you can see this is the name of the user which we just created this is an external user that's it that's how we create an external user that's it for today's guys hope you enjoyed watching if you want me to do more such quick and crispy video then please hit the like button and comment below and tell me how you like my videos also do subscribe to my channel and be the first one to watch my videos I read all your comments and tweet so you can follow me on my social network all the links are in the description box thanks for watching signing off for today this is Manish from Rebellion Rider
Original Description
Learn another DBA trick. In this tutorial you will learn how to create an user actually an External user / schema. Being an Oracle DBA you must know how to create an external user/ schema
Celebrating 1000 subscribers. Thanks a lot guys for all your love and support.
------------------------------------------------------------------------
►►►LINKS◄◄◄
Website: http://bit.ly/how-to-create-external_user-oracle
Previous Tutorial: How to unlock user using SQL Developer
http://youtu.be/xRBfeTO1Pc8
Tutorial 38: http://youtu.be/GS4udgR44Ls
Links of how to create user tutorial
Create user using SQL Developer
http://youtu.be/GS4udgR44Ls
Create user using Create user command
http://youtu.be/4QbK2Y-1LZw
Create user using EM
http://youtu.be/zGjh-Bb3HrI
-------------------------------------------------------------------------
Copy Cloud referral link || Use this link to join copy cloud and get 20GB of free storage
https://copy.com?r=kb4rc1
--------------------------------------------------------------------------
►Make sure you SUBSCRIBE and be the first one to see my videos!
--------------------------------------------------------------------------
Amazon Wishlist: http://bit.ly/wishlist-amazon
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
►►►Find me on Social Media◄◄◄
Follow What I am up to as it happens on
https://twitter.com/rebellionrider
https://www.facebook.com/imthebhardwaj
http://instagram.com/rebellionrider
https://plus.google.com/+Rebellionrider
http://in.linkedin.com/in/mannbhardwaj/
http://rebellionrider.tumblr.com/
http://www.pinterest.com/rebellionrider/
You can also Email me at
RebellionRiderYT@gmail.com
--------------------------------------------------------------------------
►Connect with me on my LinkedIn and please endorse my skills
Thanks in Advance http://in.linkedin.com/in/mannbhardwaj/
--------------------------------------------------------------------------
Please please LIKE and SHARE my videos it makes me happ
Watch on YouTube ↗
(saves to browser)
Sign in to unlock AI tutor explanation · ⚡30
Playlist
Uploads from Manish Sharma · Manish Sharma · 50 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
44
45
46
47
48
49
▶
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
More on: SQL Analytics
View skill →Related Reads
📰
📰
📰
📰
Segmentando Clientes com Análise Fatorial e Clustering
Medium · Data Science
From Four Platforms to One: How Tongcheng Travel Built a Unified Data Integration Platform with…
Medium · Data Science
Longitudinal Data Infrastructure
Medium · AI
Longitudinal Data Infrastructure
Medium · Data Science
🎓
Tutor Explanation
DeepCamp AI