自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

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

原创 Oracle diary Jul07 2011

Transactions are one of the features that set a database apart from a file system, its main purpose is to take the database from one consist

2011-07-07 09:57:45 280

原创 Oracle diary Jul01 2011

Transactions are one of the features that set a database apart from a file system, its main purpose is to take the database from o

2011-07-04 10:40:06 265

原创 Oracle diary Jun27 2011

PL/SQL / Named Program Units / Parameters:Procedures, functions, and cursors may have a parameter list. The synax is parameter_name [mode] [NOCOPY] datatype [ { := | DEFA

2011-06-27 15:14:00 242

原创 Oracle diary May16 2011

<br />Transaction Isolation levels :<br />Isolation levels are defined in terms of three 'phenomena' that are either permitted or not at a given isolation level:<br /> <br />Dirty read : You are permitted to read uncommitted, or ʹdirtyʹ, data<br /> <br />N

2011-05-16 17:28:00 3723

原创 Oracle diary May5 2011

<br />Oracle will never escalate a lock. Never. But it does practice lock conversion, or lock promotion,<br />Note The terms ʹlock conversionʹ and ʹlock promotionʹ are synonymous.<br /> <br />Types of lock:<br /> <br />DML locks - locks on a specific row o

2011-05-05 18:36:00 4267

原创 Oracle diary May4 2011

<br />Column order in index :<br /> <br />If you only use query as select id1,id2 from t, then index on (id1,id2) or on (id2,id1) are the same.<br />But if you also user select id1 from t sometime, then index on (id1,id2) is better than (id2,id1),vice vers

2011-05-04 15:50:00 292

原创 Oracle diary - Apr28 2011

<br />A lock is a mechanism used to regulate concurrent access to a shared resource.<br /> <br />Lock issue:<br /> <br />Lost updates<br /> <br />Solution : 1 - Pessimistic lock - select for update (nowait)<br />                2 - Optimistic lock<br />Not

2011-04-28 16:53:00 392

原创 Oracle diary - Apr27 2011

Index the Fkey. Use PRowID to see table organization, LROWID notThe database is my Virtual Machine. If I can do it in the database, I will. --TomAS Kyte

2011-04-27 17:04:00 274

原创 SQL分页

<br />createorreplaceprocedure proc_paging<br />(table_name invarchar2<br />,select_clause invarchar2<br />,where_clause invarchar2<br />,order_clause invarchar2<br />,start_row innumber<br />,end_row innumber<br />,result in out sys_refcursor<br />) as<br

2010-09-06 16:34:00 207

原创 Introduce to AWK utility

<br />通用线程:Awk 实例 Daniel Robbins ([email protected]) 第一部分 Awk 是一种非常好的语言,同时有一个非常奇怪的名称。在本系列(共三篇文章)的第一篇文章中,Daniel Robbins 将使您迅速掌握 awk 编程技巧。随着本系列的进展,将讨论更高级的主题,最后将演示一个真正的高级 awk 演示程序。捍卫 awk 在本系列文章中,我将使您成为精通 awk 的编码人员。我承认,awk 并没有一个非常好听且又非常“时髦”的名字。awk 的 GNU 版本(叫

2010-08-26 14:22:00 242

原创 Introduce to AWK utility

<br />通用线程:Awk 实例 Daniel Robbins ([email protected]) 第一部分 Awk 是一种非常好的语言,同时有一个非常奇怪的名称。在本系列(共三篇文章)的第一篇文章中,Daniel Robbins 将使您迅速掌握 awk 编程技巧。随着本系列的进展,将讨论更高级的主题,最后将演示一个真正的高级 awk 演示程序。捍卫 awk 在本系列文章中,我将使您成为精通 awk 的编码人员。我承认,awk 并没有一个非常好听且又非常“时髦”的名字。awk 的 GNU 版本(叫

2010-08-26 14:22:00 271

原创 Introduce to AWK utility

<br />通用线程:Awk 实例 Daniel Robbins ([email protected]) 第一部分 Awk 是一种非常好的语言,同时有一个非常奇怪的名称。在本系列(共三篇文章)的第一篇文章中,Daniel Robbins 将使您迅速掌握 awk 编程技巧。随着本系列的进展,将讨论更高级的主题,最后将演示一个真正的高级 awk 演示程序。捍卫 awk 在本系列文章中,我将使您成为精通 awk 的编码人员。我承认,awk 并没有一个非常好听且又非常“时髦”的名字。awk 的 GNU 版本(叫

2010-08-26 14:13:00 324

原创 Error when enable autotrace

<br />SQL> set autotrace onERROR:<br />ORA-24315: illegal attribute type<br /><br /><br />SP2-0619: Error while connecting<br />SP2-0611: Error enabling STATISTICS report<br /> <br />--Solution<br />Restart SQLPLUS......<br /> <br />--Reason<br />I have no

2010-08-23 15:53:00 305

原创 pipe rows

------------------------------------------------------------------Sometimes maybe you are forbided to create any temporarytable when doing the coding.If so, perhaps you should first keep the data in a recordand then regard this record as a table fo

2010-07-01 10:41:00 255

原创 行列转换--例子

create table tmp( counter varchar(20),subject varchar(20),class varchar(20));insert into tmp values('36','eng','one');insert into tmp values('44','eng','two'); insert into tmp values('44','mat','two'); insert into tmp values('33','chi','o

2010-07-01 10:41:00 264

原创 利用层次化查询解决某问题

create table test(id number, m number,lm number);--id唯一标识符,m为月份,lm为最大月份insert into test values(1,3,7);insert into test values(1,4,7);insert into test values(1,6,7);insert into test values(1,7,7);insert into test values(2,4,4);insert into test

2010-06-24 13:25:00 207

原创 位运算

and T FT T FF F F取位运算, x and 000100取得1的那一位Oracle :bitand函数select utl_raw.bit_and(hextoraw('300'), hextoraw('0f0')) example2 from dual;or T FT T TF T F无条件赋值, x or 1则无条件将末位设为1Oracle :CREATE OR REP

2010-06-24 13:20:00 305

转载 Oracle10g EM使用中的主机身份证明问题

在Windows环境下使用Oracle10g EM时,会遇到需要输入操作系统用户和口令的情况(比如:关闭数据库、启动数据库、导出数据库、改变数据文件存储路径等操作时。)。 但输入用户和口令后,会报用户口令错误。就算是Administrator也一样。 这主要是没有给用户授予权限造成的。 解决方法: 设置 --> 控制面板 --> 管理工具 -> 本地安全策略 --

2010-05-25 17:00:00 338

空空如也

空空如也

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

TA关注的人

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