Your Ad Here
首页 | 编程语言 | 网站建设 | 游戏天堂 | 冲浪宝典 | 网络安全 | 操作系统 | 软件时空 | 硬件指南 | 病毒相关 | IT 认证
软讯网络 > 冲浪宝典 > 网络资源 > oracle10学习日记-0306sqlplus新建表
【标  题】:oracle10学习日记-0306sqlplus新建表
【关键字】:oracle10,0306sqlplus
【来  源】:http://www.cublog.cn/u/4110/showart.php?id=253863

oracle10学习日记-0306sqlplus新建表

Your Ad Here

sqlplus建表空间和用户:


mkdir /export/home/oradata/test //创建表空间所在的目录
进行sqlpuls,用sys帐号登录
create tablespace test //创建名为test的表空间
datafile /export/home/oradata/test/test.dbf' size 200m //设定表空间大小
default storage (initial 50k next 50k maxextents 500) //设定一些其它参数

create temporary tablespace test_temp //创建dcyl_temp表空间
tempfile /export/home/oradata/test/test.dbf' //指定 test_temp 大小及其它参数
size 50m extent management local uniform size 5m;

create user test identified by test //创建用户test用户名及口令
default tablespace test //指定该用户的表空间
temporary tablespace test_temp //指定该用户的临时表空间
quota 150m on test //指定该用户能使用的最大表空间
quota 40m on test_temp; //指定该用户能使用的最大临时表空间

grant create session, resource to test; //设定用户角色(正常用户角色)

commit; //提交设置

Log actively being archived by another process:【上一篇】
socket例子实现:【下一篇】
【相关文章】
  • oracle10学习日记-0301
  • solaris学习日记-安装oracle10
  • Oracle10g数据库优化实用心得小结
  • Oracle10g数据库自动诊断监视工具(ADDM)使用指南 1
  • Oracle10g数据库自动诊断监视工具(ADDM)使用指南 2
  • ]Oracle10g数据库自动诊断监视工具(ADDM)使用指南 3
  • Oracle10g数据库的4种存储形式
  • 在FreeBSD6.1上实现PHP连接到安装在LINUX系统上的ORACLE10g服务器
  • oracle10g 与 solaris10
  • RedHat AS4 下安装oracle10g (Inber 转applecn)
  • 【随机文章】
  • Solaris的中文命令参考手册 (2)
  • 选择网络防病毒系统需要考虑的六个方面
  • 实现带阴影弹出的窗口
  • [公告]网站程序已经升级到ASP.NET 2.0
  • python 连接mysql数据库
  • SQL注入奇招致胜 UNION查询轻松免费看电影
  • COM串口编程!
  • 停不了的爱
  • 试用SharpDevelop之感想
  • 综合布线系统信道对网络传输性能影响
  • 【相关评论】
    没有相关评论
    【发表评论】
    姓名:
    邮件:
    随机码*
    评论*
          
    |  首 页  |  版权声明  |  联系我们   |  网站地图  |
    CopyRight © 2004-2007 软讯网络 All Rigths Reserved.