The fastest and most practical way to create a user in Oracle

Source: Internet
Author: User

The fastest and most practical way to create a user in Oracle:

 

Step 1

Select the SQL plus shortcut (E:/Documents and Settings/all users/Start Menu/Program/Oracle-orahome92/Application Development/SQL plus.

Use the system's Default User Name (system) + password (manager) + host string (database name)

 

Step 2

SQL>
Create tablespace username datafile 'e:/Oracle/ora92/Network/admin/username. ora'
Size 10 m Reuse
Autoextend on next 5120 K
Minimum extent 512 K
Default storage (initial 512 K next 512 K minextents 1 maxextents 4096 pctincrease 1 );

 

SQL>
Create User Username identified by login password default tablespace username;

 

SQL>
Alter User Username quota unlimited on username;

 

SQL>
Grant connect, resource to user name;
 
SQL>
Connect user name/login password;

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.