Pages

Showing posts with label User creation in SQL. Show all posts
Showing posts with label User creation in SQL. Show all posts

Useful SQL Statement DBA Beginners

Statement for creating user in Oracle SQL Database:

SQL> create user username identified by password;

e.g : SQL> create user prasad identified by pras123;



Statement for giving permissions to Oracle SQL Database:

SQL> grant connect ,resource to username;


e.g : SQL> grant connect ,resource to prasad;

Statement for unlocking user account in Oracle SQL Database:

SQL>alter user username account UNLOCK;

e.g : SQL>alter user prasad account UNLOCK;







Useful SQL Statement DBA Beginners

Statement for creating user in Oracle SQL Database:

SQL> create user username identified by password;

e.g : SQL> create user prasad identified by pras123;



Statement for giving permissions to Oracle SQL Database:

SQL> grant connect ,resource to username;


e.g : SQL> grant connect ,resource to prasad;

Statement for unlocking user account in Oracle SQL Database:

SQL>alter user username account UNLOCK;

e.g : SQL>alter user prasad account UNLOCK;







Featured post

Snowflake - Creating warehouse in Snowflake

Creating warehouse Login to Snowflake and click on warehouse and click on Create fill the necessary details and click Finish We can also c...