Oracle database creates user name and table space

Source: Internet
Author: User

[sql] /*第1步:登录  */ 以sys/sys超级用户登录pl/sql     /*第2步:创建临时表空间  */ create temporary tablespace user_temp    tempfile ‘E:\oracle\product\10.2.0\oradata\wu\user_temp.dbf‘ size 50m    autoextend on next 50m maxsize 20480m    extent management local ;        /*第3步:创建数据表空间  */ create tablespace user_data    logging    datafile ‘E:\oracle\product\10.2.0\oradata\wu\user_data.dbf‘ size 50m    autoextend on next 50m maxsize 20480m    extent management local ;        /*第4步:创建用户并指定表空间  */ create user wu identified by wu  default tablespace user_data    temporary tablespace user_temp;      /*第5步:给用户授予权限  */ grant connect ,resource,dba to wu;

Oracle database creates user name and table space

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.