Oracle New Database

Source: Internet
Author: User
Make sure the landlord is logged in as an administrator:
1. First, create a (new) User:
Create user username identified by password;
Username: User name for new username
Password: New user's password
You can also not create a new user, but still use the previous user, such as: Continue to use the Scott user

2. Create TABLE spaces:
Create tablespace tablespacename datafile ' d:\data.dbf ' size xxxm;
Tablespacename: Name of table space
D:\DATA.DBF ': Table Space Storage location
The size of the XXX table space, m units in megabytes (m)
3. Assign space to the user:
Alert user username default tablespace tablespacename;


4. Authorization to the User:
Grant Create Session,create table,unlimited tablespace to username;

5. Then log in with the user you created, and create a table after logging in.
Conn Username/password;

Oracle New Database

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.