当前位置:网站首页>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 557. reverse word III in string
Leetcode 167. sum of two numbers II - input ordered array
Ml6 self study notes
Redshift 2.6.41 for maya2018 水印去除
UE4 高光官方参考值
Ml9 self study notes
Ml self study notes 5
LeetCode #344.反转字符串
Official tutorial redshift 03 parameters and general instructions of various GI
服务器135、137、138、139、445等端口解释和关闭方法
随机推荐
Redshift 2.6.41 for maya2018 水印去除
Maya ACES工作流程配置(Arnold 及 RedShift 贴图配置规范-还原出SP-Aces流程下贴图正确的效果) PS还原Aces流程下渲染的图
JVM内存结构
动态规划总结
官方教程 Redshift 06 Opt参数
From entry to soul: how to use tb6600 single chip microcomputer to control stepping motor with high precision (42/57)
官方教程 Redshift 09 Camera
IDEA 实用快捷键 新手必看
Ml6 self study notes
Abstract encapsulation inheritance polymorphism
LeetCode #83. 删除排序链表中的重复元素
LeetCode #283.移动零
官方教程 Redshift 04 渲染参数
八大排序-----------快速排序
八大排序----------------冒泡排序
JUC collection class is unsafe
c语言面试准备一(谈谈理解系类)
Add time series index to two-dimensional table
NOI Online 2022普及组 题解&个人领悟
Official tutorial redshift 08 light