自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(87)
  • 收藏
  • 关注

转载 在SQLLPLUS中判断异常退出-非权限用户中止执行

set termout onset serveroutput onwhenever sqlerror exit;spool uninstll.logselect to_number('ERROR') from (select u...

2012-11-30 17:59:34 144

转载 sqlplus 中使用set autot trace stat时报错

SQL> set time on23:10:22 SQL> set autot trace statERROR:ORA-28002: the password will expire within 7 daysS...

2012-05-16 23:17:40 152

转载 Oracle number和INTEGER的奇怪现象

Normal 0 false false false EN-US ZH-CN X-NONENUMBER[ (...

2012-05-04 16:40:20 381

转载 Window 7 color settings for protecting eyes

For Win7 64bit English ENVsettings the color in Control Panel\Appearance and Personalization\Personalization\Windo...

2012-04-06 10:55:37 111

转载 sqlplus 上下键问题 readline+rlwrap

linux下sqlplus rman的上下键问题。需要文件readline-6.2.tar.gz和rlwrap-0.37.tar.gz用root用户解压两个文件gunzip XXX.gz tar -vxf xxx.t...

2012-03-29 12:32:29 110

转载 【Linux&sshd】通过SecurCRT连接LINUX反应慢

现象:SecureCRT连接到一个centos系统,间隔一定时间再次连接时输入命令反应迟钝。oracle数据库连接速度也很慢,DB性能正常,怀疑是系统连接问题。修改,/etc/ssh/sshd_config文件:UseDSN n...

2012-03-16 12:44:36 93

转载 刷新环境冲突解决

刷新环境冲突解决execute dbms_refresh.refresh('repadmin.refresh_ro');execute dbms_refresh.refresh('repadmin.refresh_rw...

2011-06-20 12:44:41 109

转载 rman 删除归档日志

rman>crosscheck archivelog all 清除控制文件中由于rm后不存在的归档文件信息rman>delete archivelog all completed before 'sysdate...

2011-05-27 23:35:17 66

转载 AIX使用裸设备扩展表空间

SC_HDB1:oracle:/dev>lsvg rootvgarchvglogvgbakvgdatavgtempvgSC_HDB1:oracle:/dev>lsvg -l datavg ...

2011-05-16 12:49:39 253

转载 大乐透八等奖4个中奖情况

****************************最终版三个过程,一个临时存储表 一个日志表 #drop procedure p_stats_dlt_8levels_test; --测试用#drop procedure...

2011-05-14 20:22:28 211

转载 oracle 阶乘 组合 求两个字符串相同字符个数

组合create or replace function collocate(m number, n number) return number is --C(n,m)=n!/(n-m)!*m! v_result numbe...

2011-05-14 20:19:37 290

转载 AIX逻辑卷管理【转】

在AIX环境为Oracle表空间增加裸设备(逻辑卷)[日期:2011-01-21]来源:Linux社区 作者:Linux当执行插入等操作时出现错误提示“unable to ext...

2011-05-14 19:03:26 119

转载 使用dbms_profiler来观察每一行PLSQL程序的执行时间

使用dbms_profiler来观察每一行PLSQL程序的执行时间有时候我们在执行一段比较长的plsql程序的时候,发现执行过程比较慢,但又不知道是哪部分出现了性能问题,这时候应该如何快速找到最耗费时间的部分呢?当然有很多方...

2011-05-11 15:37:02 195

转载 sqlplus 多样化输出

盖老师的链接http://www.eygle.com/archives/2005/04/eoasqlplusieaae.html ...

2011-04-26 20:21:14 65

转载 oracle 分析函数中 keep关键字的使用

语法min | max(column1) keep (dense_rank first | last order by column2) over (partion by c...

2011-04-22 13:39:20 125

转载 imp 导入又一个实例

exp导出文件dmp来历不明(具体原因就是曲折复杂)我在client 10.2.0版本导入到server 10.1.0时报错IMP-00032: SQL 语句超过缓冲区长度后查看dmp文件内容第一行TEXP...

2011-04-21 16:05:49 237

转载 rman 全备与恢复

虚拟机上oracle 11.2一个RMAN模拟过程。STEP1,[oracle@localhost ~]$ sqlplus / as sysdbaSQL> create table tx1 as se...

2011-04-21 14:07:59 96

转载 insert all 操作 减少扫描次数

create table tx1 (id1 int ,id2 int);create table tx2 (id1 int, id2 int);create table tx3 (id1 int, id2 int);crea...

2011-03-23 10:32:03 78

转载 修改数据库名

1 【参考资料】http://www.itpub.net/viewthread.php?tid=210292&extra=&page=1http://vecentli.itpub.net/pos...

2011-03-17 14:40:42 75

转载 oracle hint 常用

usual used1 index ,no_index,index(tablename1 col1,tablename2 col2)2 ordered3 parallel,no_parallel4 firs...

2011-03-09 17:38:37 78

转载 oracle install

一、安装Linux:序列号:2515dd4e215225dd二、安装Oracle:1.关闭SElinux# vi /etc/selinux/config #SELINUX=enforcingSELINUX=disab...

2011-03-09 13:20:19 76

转载 oracle 分区技术综合记录

oracle 分区索引的设计。1、在使用global index时,除要考虑功能以外,还需要考虑是否在日后维护中,有delete分区数据的操作,如果有,考虑delete代价是否可以承受,因为如果drop partition...

2011-03-04 11:26:55 44

转载 install oracle on rhel4 的一些问题

sth met while install oracle in rhel4 1:how to use the iso file in linux ? A:mount -t iso9660 -o loop /tmp/M...

2011-02-21 17:59:43 55

转载 【转】oracle 10g 行列转换的写法

11g中有更好的解决方式,有个pivot函数1 Oracle一个典型行列转换的几种实现方法假如有如下表,其中各个i值对应的行数是不定的SQL> select * from t;I A D—...

2011-01-12 17:17:06 106

转载 【记】延迟清除

在分析select 的执行计划时,redo size不为0引发的一系列问题。alter system dump database/logfile延迟清除udump文件的阅读。等。 ...

2011-01-07 18:13:29 96

转载 【转】ORA-01779 update写法另一种写法

ORA-01779的处理方法 =========================================================== : http://rainbowbridg.itpub.net/pos...

2011-01-07 09:34:19 120

转载 [转ORACLE 执行计划 统计信息介绍]

· Recursive Calls. Number of recursive calls generated at both the user and system level. Oracle Database maint...

2011-01-06 21:12:45 80

转载 oracle deferred novalidate

在使用约束时(外键,唯一,为空等)可以使用enable /disable validate /novalidatenovalidate就是忽略已有数据,对之后的数据维护约束关系。disable就是去掉约束。d...

2011-01-06 17:35:19 178

转载 oracle 10g values of 和indices of 初次接触

values of 和indices of是oracle 10g的新特性。在批量处理中提高性能,适用于处理嵌套集合,稀疏集合时,以避免丢失记录异常和创建多余副本。在使用时,forall var in values of ...

2010-12-22 16:14:55 449

转载 oracle update ora-01779

create table tt1 (id1 int,no1 int);create table tt2 (id2 int,no2 int);insert into tt1 values(1,6);insert into tt...

2010-11-26 10:22:46 124

转载 oracle 10g resumable

imp 命令中resumable设置resumable ...

2010-10-29 10:27:38 45

转载 oracle PLSQL循环语法

loop statement; exit when condition ;end loop;while condition loop; statement;end loop;for var in [rever...

2010-10-09 14:00:28 78

转载 oracle update的变种写法

create table a (id int ,name int);create table b (id int ,name int);select * from a select * from binsert ...

2010-09-16 11:35:10 74

转载 oracle asm 初次接触

在oracle客户端查看asm文件系统信息视图select * from v$asm_diskgroup在客户端增加表空间容量,不用指定文件地址和文件名。SQL> alter tablespace ts add da...

2010-08-25 10:19:22 78

转载 oracle flashback 理论与实践一

利用query flashback回复数据。比较麻烦 要写一个过程。select to_char(sysdate,'yyyy/mm/dd hh24:mi:ss') from dual;exec dbms_flashbac...

2010-08-22 18:20:31 61

转载 oracle 集合collection

集合分类:1、变长数组varray create type varray_typ as varray(2) of varchar2(20); 2、嵌套表create type nested_typ as tabl...

2010-08-22 17:33:42 668

转载 oracle 数据库对象学习一

学习数据库对讲的定义,使用对象创建表,对象表,及dml操作。对象引用(不使用外键)的操作,构造函数的定义及使用等。关键字:type ,type body ,value ,ref ,deref ,construto...

2010-08-22 15:02:47 60

转载 oracle flashback 理论与实践一

query flashback 查询返回技术。用于:如果错误修改了数据,想回到修改前的状态。SCN:system change number闪回到某个时间点或者根据scn权限:dbms_flashback的exe...

2010-08-20 20:23:28 54

转载 oracle instead of trigger

链接http://blogger.org.cn/blog/more.asp?name=RandomRen&id=20956触发器中使用instead 实践 ...

2010-08-10 20:50:32 56

转载 oracle学习资料网站

开发人员查阅相关语法函数定义的使用http://www.adp-gmbh.ch/ora/tuning/tkprof/index.html ...

2010-08-04 14:20:24 50

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除