HomeОбразованиеRelated VideosMore From: OracleDBA

How to Create an user in Oracle

4 ratings | 97 views
How to Create an user in Oracle with minimum grants/privileges we need to connect as SYSDBA lets ceate an user test you can see the user is created : But can it connect? lets open a new session we can see it lacks create session priv. so, we grant the create session privilege to user test lets test Its connecting. But is it able to create a table ,lets check. it lacks the ability to create table. SO lets give the privilege. lets test again the create table command. its throwing error regarding no Privilege on users tablespace . But we have given USERS as the default tablespace to test(user). So whats the problem? The problem is there is not quota defined for user test. lets give some quota like "10MB" or UNLIMITED , we will giev 10MB NOw let us test. So we can see that we now have sufficient / minimum privileges for the user test. Hope this will help in understanding the concept behind user creation
Html code for embedding videos on your blog
Text Comments (0)

Would you like to comment?

Join YouTube for a free account, or sign in if you are already a member.