oracle建库,建数据库表

--创建本地工作空间
create tablespace tms datafile 'D:\app\product\11.2.0\dbhome_2\tms_data.dbf' size 500M;
--创建用户名、初始化密码
--格式: create user 用户名 identified by 密码 default tablespace 表空间表;
create user tms identified by tms default tablespace tms;
--授权
grant connect,resource to tms; --表示把 connect,resource权限授予news用户

grant dba to tms; --表示把 dba权限授予给news用户

猜你喜欢

转载自www.cnblogs.com/lijianan/p/10126403.html