Operations for Oracle users __oracle

Source: Internet
Author: User
Tags dba

1. Create user

Sql> Create user Jack identified by Jack;

2. Change Password

Sql> alter user Jack identified by Rose;

3. Authorized users

Sql> Grant Dba,resource,connect to Jack;

4. Permission to receive

Sql> revoke DBA from Jack;

5. Lock users

sql> ALTER user Jack account lock;

sql> alter user Jack account unlock (unlock)

6. Permission transfer (this user has create DBA authority)

Sql> Grant DBA to jack with admin option;

7. Specify the table space and available size to the user
sql> ALTER user Jack default tablespace testspace quota 3m on Testspace;

8. View Current User
Sql> Select User from dual; or show user;

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.