当前位置:网站首页>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.以新用户重新建立联结,登录。
边栏推荐
- LeetCode #1.两数之和
- LeetCode #977.有序数组的平方
- 官方教程 Redshift 01 基础理论知识和基础特性学习
- 爬虫Requests库的一些简单用法
- Dynamic planning summary
- Traditional model predictive control trajectory tracking - circular trajectory (function package has been updated)
- 服务器135、137、138、139、445等端口解释和关闭方法
- Linked list -------------------------- tail insertion method
- MySql-面试题
- Add time series index to two-dimensional table
猜你喜欢

Operating system interview questions

Leetcode 26. delete duplicates in the ordered array

LeetCode #167.两数之和 II - 输入有序数组

Leetcode 9. palindromes

Ue5 landscape conversion Nanite conversion method and it does not support the use method of starting dynamic mesh with lumen and lumen

Markdown and typora

FTP的两种模式详解

【Leetcode刷题】数组3——分治

计算机网络面试题

【Leetcode刷题】数组2——二分查找
随机推荐
Ml6 self study notes
UE4 高光官方参考值
LeetCode #7.整数反转
9196 tumor area solution
【Leetcode刷题】数组3——分治
官方教程 Redshift 09 Camera
Traditional model predictive control trajectory tracking - wavy trajectory (function package has been updated)
Leetcode 83. delete duplicate elements in the sorting linked list
循环链表和双向链表
Leetcode 1. sum of two numbers
UE5 光影基础 阴影全解析 锯齿阴影解决方案 Lumen
NOI Online 2022普及组 题解&个人领悟
Leetcode scribble notes 763. Divide the letter range (medium)
八大排序----------------冒泡排序
太原市公交路线爬取
Unity中简单的matcap+fresnel shader的实现
位运算学习笔记
角色shader小练习
[beauty of software engineering - column notes] 20 | how to deal with the headache of requirement change?
synchronized八锁现象理解