益哥哥

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

摘要: 1、创建用户create user KD identified by 123456;2、授予连接数据库的权限grant connect to KD;3、将Scott用户的emp表授权给KD可以查询grant select on scott.emp to KD;grant create table t 阅读全文
posted @ 2017-07-05 11:28 益哥哥 阅读(337) 评论(0) 推荐(0) 编辑

2017年7月7日

摘要: 启动数据库时先要找到初始化文件(spfile或pfile),此时数据库处在nomount状态(初始阶段);其次根据初始文件找到控制文件(Control File),此时数据库处在mount状态;然后根据控制文件找到数据库文件(Data File)、重做日志文件(Redo File);此时数据库处在o 阅读全文
posted @ 2017-07-07 15:38 益哥哥 阅读(2082) 评论(0) 推荐(1) 编辑

2017年7月6日

摘要: 数据库中的重要对象:表、视图、序列、函数、存储过程、索引、同义词1、表:用PL/SQL Developer 软件打开 Scott的DEPT表查看SQL,可以看见DEPT表创建的脚本-- Create tablecreate table DEPT( deptno NUMBER(2) not null, 阅读全文
posted @ 2017-07-06 09:29 益哥哥 阅读(252) 评论(0) 推荐(0) 编辑