Chinaunix首页 | 论坛 | 博客
  • 博客访问: 483829
  • 博文数量: 83
  • 博客积分: 2570
  • 博客等级: 少校
  • 技术积分: 901
  • 用 户 组: 普通用户
  • 注册时间: 2007-06-19 12:05
文章分类

全部博文(83)

文章存档

2012年(1)

2011年(1)

2010年(8)

2009年(14)

2008年(45)

2007年(14)

我的朋友

分类: Oracle

2008-03-05 13:26:05

sqlplus sys/password@sid as sysdba
sql>drop user xxx cascade;(删除用户下面的所有对象,注意关键字cascade)
    drop tablespace xxx INCLUDING CONTENTS;(删除表空间)
    create user user1 identified by password  default   tablespace   users                temporary  temp;(创建user1,密码为password,使用的表空间为tablespace)
    grant connect,resource,dba to user1;(赋予权限)

阅读(10909) | 评论(0) | 转发(0) |
0

上一篇:oracle启动关闭数据库

下一篇:linux踢用户

给主人留下些什么吧!~~