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

Who is the owner of mysql database?

0 Answers  


what is the difference between truncate and delete statement? : Transact sql

0 Answers  


What are the two characteristics of a primary key?

0 Answers  


What is pl sql code?

0 Answers  


Is it possible to remove child records without removing master table records...the two having pk,fk relationship?

0 Answers  






What are the types of triggers in sql?

0 Answers  


how can i create a user defined datatype

3 Answers  


How do I partition in sql?

0 Answers  


What is varchar data type in sql?

0 Answers  


Write a procedure to return the month and the number of developers joined in each month (cursor )

2 Answers   Tech Mahindra,


What are % type and % rowtype?

0 Answers  


What is sql and its types?

0 Answers  


Categories