2016年9月27日

DB基本操作(oracle)

摘要: 建立用户 drop user lztest4 cascade; create user lztest4 identified by lztest123; alter user lztest4 default tablespace COMMON_CABLE; grant connect ,resour 阅读全文

posted @ 2016-09-27 22:32 意无瑕 阅读(326) 评论(0) 推荐(0)

oracle回复删除的数据

摘要: 分为两种方法:scn和时间戳两种方法恢复。 一、通过scn恢复删除且已提交的数据 1、获得当前数据库的scn号 select current_scn from v$database; (切换到sys用户或system用户查询) 查询到的scn号为:1499223 2、查询当前scn号之前的scn s 阅读全文

posted @ 2016-09-27 22:31 意无瑕 阅读(296) 评论(0) 推荐(0)

oracle常用高级sql操作

摘要: 一、运算符 算术运算符:+ - * / 可以在select 语句中使用 连接运算符:|| select deptno|| dname from dept; 比较运算符:> >= = != < <= like between is null in 逻辑运算符:not and or 集合运算符: int 阅读全文

posted @ 2016-09-27 22:30 意无瑕 阅读(4083) 评论(0) 推荐(2)

oracle表关联update和表建立索引

摘要: -- Create/Recreate indexes create index t_source_phase_01 on t_source_phase (lineid) tablespace COMMON_CABLE pctfree 10 initrans 2 maxtrans 255 storag 阅读全文

posted @ 2016-09-27 22:28 意无瑕 阅读(581) 评论(0) 推荐(0)

oracle 忘记管理员密码解决办法

摘要: 阅读全文

posted @ 2016-09-27 22:26 意无瑕 阅读(249) 评论(0) 推荐(0)

导航