ORCL数据库中进行一些相应的操作 基本上就满足的了一般的需求 ,以下是详细步骤>>
2010-11-13 17:28
381 查看
在原来安装好的默认ORCL数据库中进行一些相应的操作 基本上就满足的了一般的需求 ,以下是详细步骤>>
1.创建表空间
create tablespace 表空间名称 datafile 路径加表空间名称.DBF【'C:/oracle/product/10.1.0/oradata/orcl/BJYC.dbf' 】 size 大小【100M】 自动扩展 开/关 autoextend on /off
2.创建用户
create user BJYC【用户名】
identified by ""
default tablespace BJYC 【指定表空间】
temporary tablespace TEMP
profile DEFAULT;
3. 授权指定用户
-- Modify the user
alter user BJYC
quota unlimited on bjyc;
-- Grant/Revoke role privileges
grant dba to BJYC;
grant mgmt_user to BJYC;
-- Grant/Revoke system privileges
grant alter user to BJYC;
grant create any table to BJYC;
grant create user to BJYC;
grant drop user to BJYC;
grant select any dictionary to BJYC;
grant unlimited tablespace to BJYC;
4.最后用新建的用户进行登录
5.这样就可以进行操作了。。
最后介绍点oracle 安装后忘记了密码的banf
设置PLSQL 隔段时间断开连接的操作。。。。。。。
alter profile default limit connect_time unlimited;
1.创建表空间
create tablespace 表空间名称 datafile 路径加表空间名称.DBF【'C:/oracle/product/10.1.0/oradata/orcl/BJYC.dbf' 】 size 大小【100M】 自动扩展 开/关 autoextend on /off
2.创建用户
create user BJYC【用户名】
identified by ""
default tablespace BJYC 【指定表空间】
temporary tablespace TEMP
profile DEFAULT;
3. 授权指定用户
-- Modify the user
alter user BJYC
quota unlimited on bjyc;
-- Grant/Revoke role privileges
grant dba to BJYC;
grant mgmt_user to BJYC;
-- Grant/Revoke system privileges
grant alter user to BJYC;
grant create any table to BJYC;
grant create user to BJYC;
grant drop user to BJYC;
grant select any dictionary to BJYC;
grant unlimited tablespace to BJYC;
4.最后用新建的用户进行登录
5.这样就可以进行操作了。。
最后介绍点oracle 安装后忘记了密码的banf
设置PLSQL 隔段时间断开连接的操作。。。。。。。
alter profile default limit connect_time unlimited;
相关文章推荐
- [Sqlite]-->Java使用jdbc连接Sqlite数据库进行各种数据操作的详细过程
- 使用MYSQL对数据库,表进行一些简单的CRUD操作
- 【ELK】自定义ES-5.4.1插件步骤2——带action->transportaction分层结构并包含详细的集成测试步骤
- SpringBoot集成MyBatis(主要用来方便的进行自定义一些sql查询,主要的简单的数据库操作还是依赖于自身提供的JPA)
- Storm集群安装部署步骤【详细版】<转>
- 解决虚拟机的Unity模式无法进入及VM虚拟机安装vmware tools详细操作步骤(图)
- jsp编程心得->数据库操作
- Labview数据库基本操作及相关一些步骤和疑问解决方法
- 生产力无法满足人的需求=>代码质量为任务进度站边
- Windows XP IIS 500内部错误 解决方案(HTTP 500内部服务器错误) 按以下步骤进行: 1.在控制面板->管理工具->服务 中确认"Distributed Transactio
- 关于通过dblink和expdp进行数据库备份的操作步骤
- JS(javascript)操作数据库->添加数据
- 使用create database语句创建数据库的详细操作步骤
- 按Sybase的PowerDesigner工具设计的数据库模型 ---> 解析生成能兼容多种数据库的相应的C#底层代码
- .NET快速信息化系统开发框架 V3.2 -> WinForm“组织机构管理”界面组织机构权限管理采用新的界面,操作权限按模块进行展示
- 使用SQLiteDatabase进行数据库操作的步骤
- 使用create database语句创建数据库的详细操作步骤
- 【ci框架】CI 框架数据库操作函数 this->db->where() 的使用
- 使用migration操作数据库的一般步骤
- JavaWeb操作Msql数据库显示数据流程(源代码+详细步骤)