摘要:
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 阅读全文
摘要:
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 阅读全文
摘要:
启动数据库时先要找到初始化文件(spfile或pfile),此时数据库处在nomount状态(初始阶段);其次根据初始文件找到控制文件(Control File),此时数据库处在mount状态;然后根据控制文件找到数据库文件(Data File)、重做日志文件(Redo File);此时数据库处在o 阅读全文
摘要:
数据库中的重要对象:表、视图、序列、函数、存储过程、索引、同义词1、表:用PL/SQL Developer 软件打开 Scott的DEPT表查看SQL,可以看见DEPT表创建的脚本-- Create tablecreate table DEPT( deptno NUMBER(2) not null, 阅读全文
|