代码改变世界

大灾变来了:术士应该准备什么之雕文篇

2011-07-06 12:37 by Tracy., 575 阅读, 0 推荐, 收藏, 编辑
摘要:CTM的雕文系统有一点变化: 原有的大小雕文两类变成了三类,主要雕文、极效雕文和初阶雕文。雕文购买后一次性学习,终身使用,但是更改雕文需要购买消失之粉来去除原有雕文。现有的某一些雕文在CTM会变成新的雕文或是完全消失。(对于术士来说,只有生命虹吸雕文取消了。) 因此熟悉3.35的雕文在4.1变成了什么样子,是非常有必要的。关于3.35身上已经装备的雕文能不能在CTM自动学习,目前较为可信的说法是... 阅读全文

Oracle: Howto use Cursors and Dynamic Cursors

2011-07-01 11:00 by Tracy., 405 阅读, 0 推荐, 收藏, 编辑
摘要:1. Open cursor with a dynamic select statement SQL> SQL> CREATE TABLE EMP (EMPNO NUMBER(4) NOT NULL, 2 ENAME VARCHAR2(10), 3 JOB VARCHAR2(9), 4 MGR NUMBER(4), 5 HIREDATE DATE, 6 SAL NUMBER(7, 2), 7 CO... 阅读全文

Server.MapPath

2011-06-30 13:44 by Tracy., 261 阅读, 0 推荐, 收藏, 编辑
摘要:Server.MapPath specifies the relative or virtual path to map to a physical directory. Server.MapPath(".") returns the current physical directory of the file (e.g. aspx) being executed Server.MapPath(... 阅读全文

Dingjun123:DBMS_PROFILER

2011-06-28 16:35 by Tracy., 306 阅读, 0 推荐, 收藏, 编辑
摘要:DECLARE ReturnCode BINARY_INTEGER; BEGIN ReturnCode := DBMS_PROFILER.start_profiler ('Profiler Demo 2'); nocopy_test.test_copy (400, 1); ReturnCode := DBMS_PROFILER.stop_profiler; DBMS_OUTPUT.put_lin... 阅读全文

Asktom:Single Block IO Vs Multi Block IO

2011-06-28 15:31 by Tracy., 475 阅读, 0 推荐, 收藏, 编辑
摘要:You Asked Tom: I was reading this Oracle magazine http://www.oracle.com/technetwork/issue-archive/2011/11-jul/o40asktom-402616.html <quote> A full index scan reads the index a block at a time, from s... 阅读全文

设置会话TRACE的方法(二)

2011-06-28 13:19 by Tracy., 329 阅读, 0 推荐, 收藏, 编辑
摘要:很多时候需要设置会话的SQL_TRACE,以便于分析,简单总结一下设置的方法和适用的情况。 这一篇介绍设置其他会话SQL_TRACE的方法。 设置会话TRACE的方法(一):http://yangtingkun.itpub.net/post/468/519830 Oracle10g新增DBMS_MONITOR包(一):http://yangtingkun.itpub.net/post/468/4... 阅读全文

设置会话TRACE的方法(一)

2011-06-28 13:18 by Tracy., 457 阅读, 0 推荐, 收藏, 编辑
摘要:很多时候需要设置会话的SQL_TRACE,以便于分析,简单总结一下设置的方法和适用的情况。 这一篇介绍设置当前会话SQL_TRACE的方法。 DBMS_SESSION包小议(五):http://yangtingkun.itpub.net/post/468/498559 最显而易见的方法设置SQL_TRACE参数: SQL> ALTER SESSION SET SQL_TRACE = TRUE; 会... 阅读全文

Oracle10g新增DBMS_MONITOR包(一)

2011-06-28 13:16 by Tracy., 744 阅读, 0 推荐, 收藏, 编辑
摘要:在10g中,Oracle新增了DBMS_MONITOR包,使得用户可以更加方便的设置TRACE和统计信息。 这一篇介绍TRACE相关的过程。 DBMS_MONITOR包中提供了多种方法来开启、关闭会话或整个实例的TRACE。 除了最常用的通过会话的SID和SERIAL#进行设置的SESSION_TRACE_ENABLE/SESSION_TRACE_DISABLE外,还包括设置数据库实例上所有会话的... 阅读全文

转itpub:DBMS_SESSION包小议(五)

2011-06-28 13:14 by Tracy., 429 阅读, 0 推荐, 收藏, 编辑
摘要:除了使用ALTER SESSION设置会话的状态,利用V$SESSION查询会话状态,Oracle还提供了PL/SQL接口DBMS_SESSION来查询和设置会话相关的状态。 描述用来设置TRACE的SET_SQL_TRACE、SESSION_TRACE_ENABLE和SESSION_TRACE_DISABLE过程。 DBMS_SESSION包小议(一):http://yangtingkun.i... 阅读全文

Oracle:index fast full scan VS. index skip scan (未解决)

2011-06-28 11:31 by Tracy., 1052 阅读, 0 推荐, 收藏, 编辑
摘要:index fast full scan VS. index skip scan index fast full scan VS. index skip scan SELECT count(*) FROM TNOTNDB.sysindexes WHERE id = tnotndb.object_id('TNOTNDB..tCustomerUser') AND name = 'idx_tCusto... 阅读全文

Oracle :Parallel execution when table created.

2011-06-28 11:18 by Tracy., 355 阅读, 0 推荐, 收藏, 编辑
摘要:You Asked I was a bit surprised to notice in my development environment a couple of months, a large number of sessions that were invoking parallel operations, especially since I made sure to set all ... 阅读全文

C#操作Oracle BLOB字段的写入读取方法

2011-06-24 17:21 by Tracy., 1059 阅读, 0 推荐, 收藏, 编辑
摘要:1.写入BLOB string file_name = "D:\\20080523.jpg"; string conn_str = "Provider=OraOLEDB.Oracle.1;Password=agoodjob;Persist Security Info=True;User ID=ams;Data Source=ims;Extended Properties=";//Provider... 阅读全文

Oracle 10g: UTL_MAIL

2011-06-24 17:08 by Tracy., 332 阅读, 0 推荐, 收藏, 编辑
摘要:UTL_MAIL The UTL_MAIL package provides a simple API to allow email to be sent from PL/SQL. In prior versions this was possible using the UTL_SMTP package (shown here), but this required knowledge of t... 阅读全文

Oracle10g :Nested Table Enhancements

2011-06-24 17:03 by Tracy., 223 阅读, 0 推荐, 收藏, 编辑
摘要:Nested Table Enhancements Nested tables in PL/SQL now support more operations than before. Collections can be assigned directly to the value of another collection of the same type, or to the result of... 阅读全文

FORALL Support for Non-Consecutive Indexes (Sparse Collections)

2011-06-24 16:58 by Tracy., 245 阅读, 0 推荐, 收藏, 编辑
摘要:Oracle 10g introduces support for the FORALL syntax with non-consecutive indexes in collections. The INDICES OFclause allows the FORALL syntax to be used with sparse collections, while the VALUE OF cl... 阅读全文
上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 28 下一页