您的位置:首页 > 数据库 > Oracle

ORACLE 数据库常用命令

2013-09-06 18:51 441 查看
drop user sa cascade --无用户次行不要

create user sa

IDENTIFIED by admin123

default tablespace society;

--temporary tablespace TEMP

--profile DEFAULT

--password expire

--account lock;

--Grant/Revoke role privileges

grant connect to sa;

grant resource to sa;

grant dba to sa;

--Crant/Revoke system privileges

grant unlimited tablespace to sa;

create tablespace society datafile 'H:\oradata\orcl\society.dbf' size 600m;--先在建目录D:\oradata\orcl

imp file=g:\daochu.dmp ignore=y log=h:\log.txt

imp file=g:\cha.dmp ignore=y log=h:\log.txt
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: