Microsoft Windows XP [ 版本 ] (C) 版权所有 1985-2001 Microsoft Corp. C:\Documents and Settings\Administrator>sqlplus /nolog SQL*Plus: Release - Production on 星期五 8月 20 09:56:37 2010 Copyright (c) 1982, 2006, Oracle. All Rights Reserved. SQL> connect /as sysdba 已连接。-- Create the tablespace create smallfile tablespace pstats datafile 'D:\oracle\product\\oradata\pstats\pstats' size 8000M logging extent management local segment space management auto; 表空间已创建。-- Create the tablespace create smallfile tablespace pstats datafile 'D:\oracle\product\\oradata\pstats\pstats' size 8000M logging extent management local segment space management auto; 临时表空间已创建。-- Create the user create user PSTATS identified by "PPASS" default tablespace PSTATS temporary tablespace PSTATSTEMP profile DEFAULT; 用户已创建。-- Grant/Revoke role privileges grant connect to PSTATS; grant resource to PSTATS; 授权成功。-- Grant/Revoke system privileges grant create any view to PSTATS; grant unlimited tablespace to PSTATS; 授权成功。 SQL> grant unlimited tablespace to PSTATSJY; 授权成功。 SQL> grant dba to pstatsjy; 授权成功。 SQL> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Microsoft Windows XP [ 版本 ] (C) 版权所有 1985-2001 Microsoft Corp. C:\Documents and Settings\Administrator>imp pstatsjy/ppass file=D:\pstatstj20100 full=y Import: Release - Product
建立数据库表空间 来自淘豆网m.daumloan.com转载请标明出处.