Oracle Learning Notes (ii)

Source: Internet
Author: User

2.Oracle User Management
(1) Creating User: Create username identified by password (DBA authority required);
Sql>create user YZW identified by YZW
Default tablespace users//user table space
Temporary tablespace temp//user Temp table space
Quato 3m on users; User YZW established Data Objects (table, cable, view, PL/SQL block ...) The biggest one is 3m.
(2) Assigning permissions to users: Grant create permission to user;
Sql>grant create session to YZW; Assign this permission user to log in
(3) Assigning roles to users: Grant role to user;
Sql>grant Connect to YZW;
(4) The administrator user reclaims the role revoke permissions from the user;
Sql>revole Connect from YZW;
(5) Delete users: Drop user username;
Sql>drop user yzw Cascade;cascade means to delete the users and delete the data objects established by the user

PS: This article for Bo Master original, reprint please indicate source: http://www.cnblogs.com/Y-zhiwei/.

Oracle Learning Notes (ii)

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.