当前位置:网站首页>SQL Developer图形化窗口创建数据库(表空间和用户)
SQL Developer图形化窗口创建数据库(表空间和用户)
2022-07-29 05:25:00 【hljqfl】
1,先以SYS连结数据库

2.我们使用sql语句来创建表空间

create tablespace db_test --表空间名 datafile 'D:\oracle\product\11.2.0\dbhome_1\oradata\orcl\test.dbf' --物理文件 表空间数据文件存放路径 size 50m --大小初始值 autoextend on --自动扩展 next 50m maxsize 20480m --每次扩展50m,最大为20480m extent management local;

3.创建用户
create user c##testdev --创建用户名 testdev,注意前面要加c##
identified by "test1234" --创建密码 test1234
default tablespace db_test --表空间 db_test
temporary tablespace TEMP --临时表空间(默认的)
profile DEFAULT --默认权限(下面给分配)
quota unlimited on db_test; --该用户
3.给新建用户权限
grant all privileges to testdev; -- 执行该语句给 testdev 用户授权,此时 该 用户就可以登录了
4.以新用户重新建立联结,登录。
边栏推荐
- 网络安全学习篇
- 唯美girls
- Traditional model predictive control trajectory tracking - circular trajectory (function package has been updated)
- 模型空间下的旋转和世界空间下的旋转
- Abstract encapsulation inheritance polymorphism
- 滑动窗口 Leetcode 76.最小覆盖子串(困难) 76.76. MinimumWindow Substring (Hard)
- Leetcode 9. palindromes
- Install MySQL from scratch (MySQL installation document - unzipped version)
- Leetcode notes 452. minimum number of arrows to burst balloons (medium) 452. detonate balloons with the minimum number of arrows (medium)
- 关于【链式前向星】的自学理解
猜你喜欢
随机推荐
Shell tool finalshell
Ml9 self study notes
LeetCode #13. 罗马数字转整数
LeetCode #1.两数之和
Leetcode notes 452. minimum number of arrows to burst balloons (medium) 452. detonate balloons with the minimum number of arrows (medium)
多线程和并发
FTP的两种模式详解
LeetCode #35.搜索插入位置
Leetcode 167. sum of two numbers II - input ordered array
Leetcode 26. delete duplicates in the ordered array
爬取表情包
Dynamic planning summary
动态规划总结
官方教程 Redshift 07 Instances and Proxy
循环链表和双向链表
IDEA 实用快捷键 新手必看
单链表面试题
Leetcode 19. delete the penultimate node of the linked list
JVM内存结构
Unity中简单的matcap+fresnel shader的实现








