2009年2月25日
摘要: 一、Types of Collections 1、Associative arrays 数组 它是同种类型的一维、无边界的稀疏集合,只能用于 PL/SQL。 DECLARE TYPE t_name IS TABLE OF varchar2(10) INDEX BY PLS_INTEGER; --创建 Collection i_name ... 阅读全文
posted @ 2009-02-25 11:35 Oracle 阅读(3937) 评论(0) 推荐(0) 编辑
  2009年2月22日
摘要: create table test1(a int,b int); create table test2(a int,b int); insert into test1 values(1,456); insert into test1 values(2,427); insert into... 阅读全文
posted @ 2009-02-22 21:52 Oracle 阅读(276) 评论(0) 推荐(0) 编辑
  2009年2月19日
摘要: 1.declare x number := 60; begin case x when 10 then dbms_output.put_line('x=10'); when 20 then dbms_output.put_line('x=20'); when 30 then dbms_output.put_line('x=30')... 阅读全文
posted @ 2009-02-19 14:31 Oracle 阅读(523) 评论(0) 推荐(0) 编辑
摘要: declare x number := 20; begin if x = 10 then dbms_output.put_line('x = 10'); elsif x = 20 then dbms_output.put_line('x = 20'); else dbms_output.put_line('no data'); end if; end; 阅读全文
posted @ 2009-02-19 14:24 Oracle 阅读(309) 评论(0) 推荐(0) 编辑
  2009年2月16日
摘要: ORA-1722 is Invalid number. We've attempted to either explicity or implicity convert a character string to a number and it is failing. This can happen for a number of reasons. It generally happens... 阅读全文
posted @ 2009-02-16 09:21 Oracle 阅读(1587) 评论(0) 推荐(0) 编辑
  2009年2月15日
摘要: as yet 1. 到目前为止,迄今为止,到这时为止(还没有,还不是);到当时为止;至今还[见 yet] 2. 直到现在,到目前(或当时)为止 Nothing that stood in your way before stands there now in the same way.It's all new,even if you can't as yet s... 阅读全文
posted @ 2009-02-15 20:04 Oracle 阅读(344) 评论(0) 推荐(0) 编辑
  2009年2月14日
摘要: 本文首先详细介绍了oracle中buffer cache的概念以及所包含的内存结构。然后结合各个后台进程(包括DBWRn、CKPT、LGWR等)深入介绍了oracle对于buffer cache的管理机制,并详细解释了oracle为什么会采用现在的管理机制,是为了解决什么问题。比如为何会引入touch次数、为何会引入增量检查点等等。最后全面介绍了有关buffer cache监控以及调优的实用方法。... 阅读全文
posted @ 2009-02-14 22:01 Oracle 阅读(998) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2009-02-14 21:13 Oracle 阅读(125) 评论(0) 推荐(0) 编辑
摘要: select username,sid,opname, round(sofar*100 / totalwork,0) || '%' as progress, time_remaining,sql_text from v$session_longops , v$sql where time_remaining 0 and sql_address = address... 阅读全文
posted @ 2009-02-14 18:13 Oracle 阅读(1279) 评论(0) 推荐(0) 编辑
摘要: quit it! 别闹! Don't mention it. 没关系,别客气。 Who knows! 天晓得! It is not a big deal! 没什么了不起! How come… 怎么回事,怎么搞的。 Don't push me. 别逼我。 Come on! 快点,振作起来!(come on的含义很多,主要体现在语气上,使用时请注意语气) Have a good of it.玩的很高兴... 阅读全文
posted @ 2009-02-14 11:11 Oracle 阅读(2333) 评论(0) 推荐(0) 编辑