Oracle-(1)权限操作

–创建表空间

create tablespace itheima
datafile 'E:\oracle\workspace\itheima.dbf'
size 100m
autoextend on
next 10m;

–删除表空间

drop tablespace itheima;

–创建用户

create user itheima
identified by itheima
default tablespace itheima;

–给用户授权

–oracle数据库中常用角色

connect--连接角色,基本角色
resource--开发者角色
dba--超级管理员角色

–给itheima用户授予dba角色

grant dba to itheima;

–账号

sys   					------系统管理员  登录必须是sysdba 或者sysoper权限用来启动数据库关闭
system  				------管理员  基本操作功能       
scott					------普通账户   出事使用时是lock,需要使用管理员来unlock   密码官方设置tiger

sqlplus  连接数据库使用conn 账号/密码 as 身份信息 如:dba
账号断开:disc
使用sys 对
	数据库 关闭命令:   shutdown
	数据库 启动命令:  startup

持续更新中…

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值