温馨提示:您的每一次转载,体现了我写此文的意义!!!烦请您在转载时注明出处http://www.blogjava.net/sxyx2008/谢谢合作!!!

雪山飞鹄

温馨提示:您的每一次转载,体现了我写此文的意义!!!烦请您在转载时注明出处http://www.blogjava.net/sxyx2008/谢谢合作!!!

BlogJava 首页 新随笔 联系 聚合 管理
  215 Posts :: 1 Stories :: 674 Comments :: 0 Trackbacks
--创建临时表空间
create temporary tablespace eos_temp tempfile 'D:\oracle\product\10.2.0\oradata\orcl\eos_temp.dbf' size 10m autoextend on next 10m maxsize unlimited extent management local;
--创建数据表空间
create tablespace eos_space logging datafile 'D:\oracle\product\10.2.0\oradata\orcl\eos_data.dbf' size 20m autoextend on next 20m maxsize unlimited extent management local;
--创建用户并指定表空间
create user eos identified by eos default tablespace eos_space temporary tablespace eos_temp;
--给用户授予权限
grant connect,resource,dba to eos;
--连接用户或用户登录
conn eos/eos;
--查询该用户名中的表
select table_name from user_tables where user='eos';
posted on 2010-06-27 01:22 雪山飞鹄 阅读(269) 评论(0)  编辑  收藏 所属分类: database

只有注册用户登录后才能发表评论。


网站导航: