Oracle创建 表空间 用户 给用户授权命令
//創建表空間
create tablespace ACHARTS
datafile 'D:\oradata\orcl\ACHARTS01.DBF' size 800m
autoextend on next 10m maxsize 3000m
//刪除表空間
drop tablespace ACHARTS
//創建用戶""內是密碼
create user acharts identified by "acharts";
//刪除用戶
drop user tcuser2
//給acharts用戶授權
grant connect,resource to acharts;
alter user acharts default tablespace ACHARTS;
?
?
試登錄
C:\Users\wd>sqlplus
SQL*Plus: Release 11.2.0.1.0 Production on Sat Jun 10 10:07:21 2017
Copyright (c) 1982, 2010, Oracle. All rights reserved.
Enter user-name: jeesite
Enter password:
Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
SQL>
轉載于:https://www.cnblogs.com/miye/p/6977956.html
總結
以上是生活随笔為你收集整理的Oracle创建 表空间 用户 给用户授权命令的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: SpringMVC Controller
- 下一篇: Bootatrap中的表单(2)