打开命令行
sqlplus /nolog
管理员登陆
conn sys/manager as sysdba
创建表空间:基本50m,增量为5m
create tablespace test datafile'demo.dat' size 50m reuse autoextend on next 5m;
删除表空间(不删除文件)
drop tablespace demo
删除表空间及数据文件
drop tablespace demo including contents and datafiles ;
创建用户 及密码
create user demo identified by demo default tablespace demo;
用户授权
grant dba to demo;
以新建用户登陆
conn demo/demo
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/28728816/viewspace-760062/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/28728816/viewspace-760062/