how to create user in sql and how to set password for that?

Answers were Sorted based on User's Feedback



how to create user in sql and how to set password for that?..

Answer / ayan banerjee

create user user_name identified by password

then

grant resource to user_name

grant create session to user_name

Is This Answer Correct ?    21 Yes 3 No

how to create user in sql and how to set password for that?..

Answer / guruswamy

create user <username> IDENTIFIED BY password;

Is This Answer Correct ?    21 Yes 6 No

how to create user in sql and how to set password for that?..

Answer / satyajit patel

If u later want to change the password then go to the
database where the user is created and write

ALTER USER user_name IDENTIFIED BY new_password;

Is This Answer Correct ?    11 Yes 2 No

Post New Answer

More SQL PLSQL Interview Questions

What is Data Concarency and Consistency?

1 Answers  


how is exception handling handled in mysql? : Sql dba

0 Answers  


How many sql statements are used? Define them.

0 Answers  


Does normalization improve performance?

0 Answers  


how many groups of data types? : Sql dba

0 Answers  






how to find 5th row ?

10 Answers  


What do you mean by “trigger” in sql?

0 Answers  


Why do we use sql constraints?

0 Answers  


How do you update sql?

0 Answers  


What is the unique index?

0 Answers  


Can a composite key be null?

0 Answers  


What is trigger in flip flop?

0 Answers  


Categories