JUST DO IT ~

          我只想當個程序員

          我的評論

          re: c++ 一些經典論文 小高 2014-08-26 13:41  
          Citations
          359 The design and implementation of hierarchical software systems with reusable components - Batory, O?Malley - 1992
          130 The Programmer’s Apprentice - Rich, Waters - 1990
          93 Genesis: An Extensible Database Management System - Batory, Barnett, et al. - 1988
          75 Reusing and Interconnecting Software Components - GOGUEN - 1986
          56 Data Abstraction and Object-Oriented Programming in C - Gorlen, Orlow, et al. - 1990
          48 Software Components with - Booch - 1987
          30 Index Support for Rule Activation - Brant, Miranker - 1993
          20 Software components in a data structure precompiler - Sirkin, Batory, et al. - 1993
          19 P++: a language for largescale reusable software components - Singhal, Batory - 1993
          17 libg++, the GNU C++ library - Lea - 1988
          14 Software templates - Volpano, Kieburtz - 1985
          13 DaTE: The Genesis DBMS software layout editor - Batory, Barnett - 1991
          13 Automating relational operations on data structures - Cohen, Campbell - 1993
          11 Implementing a domain model for data structures - Batory, Singhal, et al. - 1992
          8 Software Reuse through View Type Clusters - Novak - 1992
          4 generation database systems - Next - 1991
          希望能給我發一份 郵箱地址 gaoyinrui@163.com 謝謝
          能否貢獻一份上傳下載的源碼,最好能直接運行的,萬分感謝,急需啊。gaoyinrui@163.com
          re: 我的職業規劃 小高 2009-10-10 00:55  
          找個能發揮自己長處的方面.. 死鉆研技術未必適合你

          1.學院派
          2.實戰型
          3.混業務

          3個必居其一.否則做到老很虛的.

          還是低調點...
          做了幾年才感覺入門...
          很多人耐不住就走了....


          ---------

          近期目標:在今年10月底爭取轉正。并在一年內把技術提升到更高的層次,達到高級程序員水平
          中期目標:3--5年達到系統架構師水平,能擔當更大的責任。
          謝謝
          re: Drools 規則引擎的使用總結 小高 2008-11-04 15:43  
          最后哪句話比較中聽
          re: oracle 計算 執行的時間 小高 2008-10-16 00:18  

          ORACLE sqlplus set 命令速查


          SQL>set colsep' ';     //-域輸出分隔符

          SQL>set echo off;     //顯示start啟動的腳本中的每個sql命令,缺省為on

          SQL> set echo on //設置運行命令是是否顯示語句

          SQL> set feedback on; //設置顯示“已選擇XX行”

          SQL>set feedback off;  //回顯本次sql命令處理的記錄條數,缺省為on

          SQL>set heading off;   //輸出域標題,缺省為on

          SQL>set pagesize 0;   //輸出每頁行數,缺省為24,為了避免分頁,可設定為0。

          SQL>set linesize 80;   //輸出一行字符個數,缺省為80

          SQL>set numwidth 12;  //輸出number類型域長度,缺省為10

          SQL>set termout off;   //顯示腳本中的命令的執行結果,缺省為on

          SQL>set trimout on;   //去除標準輸出每行的拖尾空格,缺省為off

          SQL>set trimspool on;  //去除重定向(spool)輸出每行的拖尾空格,缺省為off

          SQL>set serveroutput on; //設置允許顯示輸出類似dbms_output

          SQL> set timing on; //設置顯示“已用時間:XXXX”

          SQL> set autotrace on-; //設置允許對執行的sql進行分析

          set verify off //可以關閉和打開提示確認信息old 1和new 1的顯示.

          statement cache 關注一下
          re: js中獲取radio的值[未登錄] 小高 2008-09-05 10:34  
          不錯的!
          以用前面 那個兄弟的話 :"希望這篇文章能夠幫助他們在開發期就能避免這樣的失誤,以免后期上線時再來修改代碼從而增加項目的成本與風險。"

          說的很好.
          關注一下
          re: 代碼不是調出來的 小高 2008-08-13 23:38  
          高手 少...但是 確實有這樣的人 這也許才是真的程序員 ............你想成為這樣 你可以自己少用調試器....大腦分析
          這個代碼比if 更丑陋 ..... 看了本書 就強用書上的東西 .... 很有問題 .......
          博主有團隊工作的經歷嗎 ...每個人都這樣寫(小提大作)...... 項目就真亂了....
          自己研究還差不多 ... 我打賭 你要是真的 遇到了 你還是用 if
          java equals ( Integer ) -125~126 緩存變量可能不通
          re: sqlplus 初始化 login.sql 小高 2008-08-05 05:30  
          set term off
          set linesize 10001
          spool a.txt
          select * from dl_hqk_his where date_ > to_date('20070101','yyyymmdd');
          spool off
          set term on
          re: sqlplus 初始化 login.sql 小高 2008-08-04 21:34  
          現實所有define 的定義

          idmp@idmp-192.168.2.100> define



          DEFINE _DATE = "04-8月 -08" (CHAR)
          DEFINE _CONNECT_IDENTIFIER = "idmp" (CHAR)
          DEFINE _USER = "IDMP" (CHAR)
          DEFINE _PRIVILEGE = "" (CHAR)
          DEFINE _SQLPLUS_RELEASE = "1002000100" (CHAR)
          DEFINE _EDITOR = "Notepad" (CHAR)
          DEFINE _O_VERSION = "Oracle Database 10g Enterprise Edition Release 10.2.0.
          1.0 - Production
          With the Partitioning, OLAP and Data Mining options" (CHAR)
          DEFINE _O_RELEASE = "1002000100" (CHAR)
          DEFINE SQL_PROMPT = "idmp@idmp-192.168.2.100" (CHAR)
          DEFINE ANBC = "1" (CHAR)
          idmp@idmp-192.168.2.100>
          re: sqlplus 初始化 login.sql 小高 2008-08-03 23:15  
          select
          q'{
          @bar;
          }'
          from dual;



          select
          '
          @foo.htm;
          '
          from dual;




          create or replace package foo
          as
          @foo_declarations;
          @foo_procedures;
          @foo_functions;
          end;



          http://awads.net/wp/2007/03/25/3-useful-sqlplus-tips/
          re: sqlplus 初始化 login.sql 小高 2008-08-03 22:53  
          已用時間: 00: 00: 01.04
          idmp@idmp-192.168.2.101> set markup html on entmap ON spool on
          preformat off
          idmp@idmp-192.168.2.101> spool tables.xls
          <br>
          idmp@idmp-192.168.2.101&gt; select * from dual;
          <br>
          <p>
          <table border='1' width='90%' align='center' summary='Script output'>
          <tr>
          <th scope="col">
          D
          </th>
          </tr>
          <tr>
          <td>
          X
          </td>
          </tr>
          </table>
          <p>

          已用時間: 00: 00: 00.04
          idmp@idmp-192.168.2.101&gt; spool off
          re: sqlplus 初始化 login.sql 小高 2008-08-03 22:16  
          用spool 輸出文件 .............html 查詢的結果
          re: sqlplus 初始化 login.sql 小高 2008-08-03 22:15  
          [Oracle] 用 Oracle 的 SQL*Plus 工具創建 HTML 頁面
          作者:Fenng
          日期:23-Dec-2003 
          出處:http://www.dbanotes.net
          版本:1.01

          Oracle 的 SQL*Plus 工具有一些比較有趣的選項,合理的使用,能夠給我們意想不到的后果。其中有一個 ”-M” 選
          項能夠創建用來創建 HTML 報表,在實際應用中很有用處。我們先來看看 SQL*Plus的一些選項:

          -----------------------Oracle8i------Begin------------------------------------------------
          C:\>SQLPLUS -

          用法 : SQLPLUS [ [<option>] [<logon>] [<start>] ]
          其中 <option> ::= - | -? | [ [-M <o>] [-R <n>] [-S] ]
          < 登錄 > ::= < 用戶名 >[/< 口令 >][@<connect_string>] | / | /NOLOG
          < 啟動 > : : = @< 文件名 >[.<ext>] [< 參數 > ...]
          "-" 顯示使用語法
          "-?" 顯示 SQL*Plus 版本標幟
          "-M <o>" 使用 HTML 標志選項 <o>
          "-R <n>" uses restricted mode <n>
          "-S" uses silent mode

          ”-M” 選項指定在輸出的時侯使用 HTML 標記來輸出數據,用以代替普通的文本。
          -----------------------Oracle8i-------------End-------------------------------------------

          -----------------------Oracle9i------Begin------------------------------------------------
          D:\>sqlplus -

          SQL*Plus: Release 9.2.0.4.0 - Production

          用法: SQLPLUS [ [<option>] [<logon>] [<start>] ]
          其中 <option> ::= -H | -V | [ [-L] [-M <o>] [-R <n>] [-S] ]
          <logon> ::= <username>[/<password>][@<connect_string>] | / | /NOLOG
          <start> ::= @<URI>|<filename>[.<ext>] [<parameter> ...]
          "-H" 顯示 SQL*Plus 的版本標幟和使用語法
          "-V" 顯示 SQL*Plus 的版本標幟
          "-L" 只嘗試登錄一次
          "-M <o>" 使用 HTML 標志選項 <o>
          "-R <n>" uses restricted mode <n>
          "-S" uses silent mode
          -----------------------Oracle9i-------------End-------------------------------------------

          -----------------------Oracle10G Beta------Begin---------------------------------------

          D:\>sqlplus -

          SQL*Plus: Release 10.1.0.0.0 - Beta

          用法: SQLPLUS [ [<option>] [<logon>] [<start>] ]
          其中 <option> ::= -H | -V | [ [-L] [-M <o>] [-R <n>] [-S] ]
          <logon> ::= <username>[/<password>][@<connect_string>] | / | /NOLOG
          <start> ::= @<URI>|<filename>[.<ext>] [<parameter> ...]
          "-H" 顯示 SQL*Plus 的版本標幟和使用語法
          "-V" 顯示 SQL*Plus 的版本標幟
          "-C" 兼容性版本 <v>
          "-L" 只嘗試登錄一次
          "-M <o>" 使用 HTML 標志選項 <o>
          "-R <n>" uses restricted mode <n>
          "-S" uses silent mode
          -----------------------Oracle10G Beta---END---------------------------------------------

          (我們從中也可以看出SQLPlus命令的一些變化,如新的參數等)

          其中 ”-M” 選項的語法如下:

          [-M[ARKUP] "HTML [ON|OFF] [HEAD text] [BODY text]

          [ENTMAP {ON|OFF}] [SPOOL {ON|OFF}] [PRE[FORMAT] {ON|OFF}]"

          如果我們在實際應用中,要對公司的某個Table進行每個月的報表 HTML 化,用 SQL*Plus 的這個特性很容易做到。

          舉例如下:

          我們準備對 Scott 模式下的 DEPT 表進行處理。 DEPT 表內容:

          SQL> SELECT * FROM dept;

          DEPTNO DNAME LOC
          ---------- ---------------------------- ------------
          10 ACCOUNTING NEW YORK
          20 RESEARCH DALLAS
          30 SALES CHICAGO
          40 OPERATIONS BOSTON

          在系統命令行下輸出 HTML 文件:

          將下面幾行語句存到一個 .sql 腳本中(比如說 q.sql ) :

          SET ECHO OFF
          SET FEEDBACK OFF
          SELECT * FROM dept;
          SET ECHO ON
          SET FEEDBACK ON
          exit

          然后在命令行下調用如下命令:

          C:\> sqlplus -s -m "HTML ON HEAD DEPT 表格之內容 " Scott/tiger @c:\q.sql>Dept.html

          對這條命令簡單的解釋一下:其中 ”-s” 表示 silent 模式, ”-m” 表示啟用 HTML Markup 選項,
          ”HEAD DEPT 表格之內容 ” 可以用來定制一個簡單的標題。然后命令中跟的是數據庫用戶名字和密碼,
          執行腳本,重定向到 Dept.html 中。

          輸出 Dept.html 有如下內容(空白處已經截去):

          DEPT表格之內容
          DEPTNO DNAME LOC
          10 ACCOUNTING NEW YORK
          20 RESEARCH DALLAS
          30 SALES CHICAGO
          40 OPERATIONS BOSTON

          在 SQL*Plus 下輸出文件

          在 SQL*Plus 中可以用 SET MARKUP 命令來做到。

          SET MARKUP

          用法 : SET MARKUP HTML [ON|OFF] [HEAD text] [BODY text]

          [ENTMAP {ON|OFF}] [SPOOL {ON|OFF}] [PRE[FORMAT] {ON|OFF}]

          把下面的內容存為一個 .sql 腳本 ( 比如說 C:\q.sql) :

          SET ECHO OFF
          SET FEEDBACK OFF
          SET MARKUP HTML ON SPOOL ON
          SPOOL c:\Dept.html
          SELECT * FROM dept;
          SPOOL OFF
          SET MARKUP HTML OFF
          SET ECHO ON
          SET FEEDBACK ON

          在 SQL*Plus 中調用,即可創建內容。在 C:中創建了名為 Dept.html 的 HTML 頁面,如下所示:
          DEPTNO DNAME LOC
          10 ACCOUNTING NEW YORK
          20 RESEARCH DALLAS
          30 SALES CHICAGO
          40 OPERATIONS BOSTON

          注:由于格式化的問題,實際的顯示效果可能有所不同.
          re: oracle 回話環境變量 userenv 小高 2008-08-03 11:13  
          關于sys_context()函數功能一覽

          包括取本地ip,服務器端domian/db_name……,還有當前session的信息
          后面有使用舉例:
          AUTHENTICATION_DATA
          Data being used to authenticate the login user. For X.503 certificate authenticated sessions, this field returns the context of the certificate in HEX2 format.
          256


          Note: You can change the return value of the AUTHENTICATION_DATA attribute using the length parameter of the syntax. Values of up to 4000 are accepted. This is the only attribute of USERENV for which Oracle implements such a change.


          AUTHENTICATION_TYPE
          How the user was authenticated:

          DATABASE: username/password authentication

          OS: operating system external user authentication

          NETWORK: network protocol or ANO authentication

          PROXY: OCI proxy connection authentication

          30

          BG_JOB_ID
          Job ID of the current session if it was established by an Oracle background process. Null if the session was not established by a background process.
          30

          CLIENT_INFO
          Returns up to 64 bytes of user session information that can be stored by an application using the DBMS_APPLICATION_INFO package.
          64

          CURRENT_SCHEMA
          Name of the default schema being used in the current schema. This value can be changed during the session with an ALTER SESSION SET CURRENT_SCHEMA statement.
          30

          CURRENT_SCHEMAID
          Identifier of the default schema being used in the current session.
          30

          CURRENT_USER
          The name of the user whose privilege the current session is under.
          30

          CURRENT_USERID
          User ID of the user whose privilege the current session is under
          30

          DB_DOMAIN
          Domain of the database as specified in the DB_DOMAIN initialization parameter.
          256

          DB_NAME
          Name of the database as specified in the DB_NAME initialization parameter
          30

          ENTRYID
          The available auditing entry identifier. You cannot use this option in distributed SQL statements. To use this keyword in USERENV, the initialization parameter AUDIT_TRAIL must be set to true.
          30

          EXTERNAL_NAME
          External name of the database user. For SSL authenticated sessions using v.503 certificates, this field returns the distinguished name (DN) stored in the user certificate.
          256

          FG_JOB_ID
          Job ID of the current session if it was established by a client foreground process. Null if the session was not established by a foreground process.
          30

          HOST
          Name of the host machine from which the client has connected.
          54

          INSTANCE
          The instance identification number of the current instance.
          30

          IP_ADDRESS
          IP address of the machine from which the client is connected.
          30

          ISDBA
          TRUE if you currently have the DBA role enabled and FALSE if you do not.
          30

          LANG
          The ISO abbreviation for the language name, a shorter form than the existing 'LANGUAGE' parameter.
          62

          LANGUAGE
          The language and territory currently used by your session, along with the database character set, in this form:

          language_territory.characterset
          52

          NETWORK_PROTOCOL
          Network protocol being used for communication, as specified in the 'PROTOCOL=protocol' portion of the connect string.
          256

          NLS_CALENDAR
          The current calendar of the current session.
          62

          NLS_CURRENCY
          The currency of the current session.
          62

          NLS_DATE_FORMAT
          The date format for the session.
          62

          NLS_DATE_LANGUAGE
          The language used for expressing dates.
          62

          NLS_SORT
          BINARY or the linguistic sort basis.
          62

          NLS_TERRITORY
          The territory of the current session.
          62

          OS_USER
          Operating system username of the client process that initiated the database session
          30

          PROXY_USER
          Name of the database user who opened the current session on behalf of SESSION_USER.
          30

          PROXY_USERID
          Identifier of the database user who opened the current session on behalf of SESSION_USER.
          30

          SESSION_USER
          Database user name by which the current user is authenticated. This value remains the same throughout the duration of the session.
          30

          SESSION_USERID
          Identifier of the database user name by which the current user is authenticated.
          30

          SESSIONID
          The auditing session identifier. You cannot use this option in distributed SQL statements.
          30

          TERMINAL
          The operating system identifier for the client of the current session. In distributed SQL statements, this option returns the identifier for your local session. In a distributed environment, this is supported only for remote SELECT statements, not for remote INSERT, UPDATE, or DELETE operations. (The return length of this parameter may vary by operating system.)




          SQL> SELECT sys_context('USERENV','IP_ADDRESS') FROM DUAL;

          SYS_CONTEXT('USERENV','IP_ADDR
          --------------------------------------------------------------------------------
          10.0.0.177

          SQL> SELECT SYS_CONTEXT ('hr_apps', 'group_no') "User Group"
          2 FROM DUAL;

          User Group
          --------------------------------------------------------------------------------

          SQL> SELECT sys_context('USERENV','CLIENT_INFO') FROM DUAL;

          SYS_CONTEXT('USERENV','CLIENT_
          --------------------------------------------------------------------------------

          SQL> SELECT sys_context('USERENV','CURRENT_SCHEMA') FROM DUAL;

          SYS_CONTEXT('USERENV','CURRENT
          --------------------------------------------------------------------------------
          IDCBJ

          SQL> SELECT sys_context('USERENV','HOST') FROM DUAL;

          SYS_CONTEXT('USERENV','HOST')
          --------------------------------------------------------------------------------
          WORKGROUP\RAINY

          SQL> SELECT sys_context('USERENV','AUTHENTICATION_DATA') FROM DUAL;

          SYS_CONTEXT('USERENV','AUTHENT
          --------------------------------------------------------------------------------

          SQL> SELECT sys_context('USERENV','AUTHENTICATION_TYPE') FROM DUAL;

          SYS_CONTEXT('USERENV','AUTHENT
          --------------------------------------------------------------------------------
          DATABASE

          SQL> SELECT sys_context('USERENV','DB_DOMAIN') FROM DUAL;

          SYS_CONTEXT('USERENV','DB_DOMA
          --------------------------------------------------------------------------------
          chenyq

          SQL> SELECT sys_context('USERENV','DB_NAME') FROM DUAL;

          SYS_CONTEXT('USERENV','DB_NAME
          --------------------------------------------------------------------------------
          ora817

          SQL> SELECT SYS_CONTEXT('hr_context', 'org_id') FROM DUAL;

          SYS_CONTEXT('HR_CONTEXT','ORG_
          --------------------------------------------------------------------------------

          SQL>
          re: oracle 計算 執行的時間 小高 2008-07-01 16:48  
          select to_date('2008-6-1','yyyy-mm-dd') - interval '7' year test from dual;
          http://download.oracle.com/otn/nt/oracle10g/10201/10201_gateways_win32.zip


          注意oracle 10g 不附帶同名透明網管 . 無法連接 mssql 庫 .
          re: oracle open_cursors 小高 2008-06-16 15:19  
          共享SQL區在shared pool中釋放的條件

          alter system flush shared_pool


          http://space.itpub.net/12361284/viewspace-259954
          re: excel 模板[未登錄] 小高 2008-06-12 16:34  
          文件不能下載,麻煩您給我一份,急用,謝謝
          email:tryonmind@163.com
          re: ibm thinkpad 鍵盤 設置 小高 2008-05-10 10:29  
          @呵呵
          就是 新的要表達意思的鍵盤碼
          再千萬的記錄 是否比較明顯.
          re: ORA-12560: TNS: 協議適配器錯誤 小高 2007-11-26 16:45  
          @xx


          可能是安裝的時候沒有建立 oracle 數據庫。用工具建立一下就ok
          1、使用sys用戶登陸

          2、執行 $ORACLE_HOME/rdbms/admin/utlxplan.sql ,生成表。

          3、執行 $ORACLE_HOME/sqlplus/admin/plustrce.sql 生成角色等。

          4、對需要使用該功能的用戶賦予角色。

          grant plustrace to public;


          序號

          命令

          解釋


          1

          SET AUTOTRACE OFF

          此為默認值,即關閉Autotrace


          2

          SET AUTOTRACE ON

          產生結果集和解釋計劃并列出統計


          3

          SET AUTOTRACE ON EXPLAIN

          顯示結果集和解釋計劃不顯示統計


          4

          SETAUTOTRACE TRACEONLY

          顯示解釋計劃和統計,盡管執行該語句但您將看不到結果集


          5

          SET AUTOTRACE


          TRACEONLY STATISTICS

          只顯示統計




          Eg:SET AUTOTRACE ON, set timing on, alter session set time_statistics=true;


          三、Autotrace執行計劃的各列的涵義

          序號

          列名

          解釋


          1

          ID_PLUS_EXP

          每一步驟的行號


          2

          PARENT_ID_PLUS_EXP

          每一步的Parent的級別號


          3

          PLAN_PLUS_EXP

          實際的每步


          4

          OBJECT_NODE_PLUS_EXP

          Dblink或并行查詢時才會用到




          四、AUTOTRACE Statistics常用列解釋

          序號

          列名

          解釋


          1

          db block gets

          從buffer cache中讀取的block的數量


          2

          consistent gets

          從buffer cache中讀取的undo數據的block的數量


          3

          physical reads

          從磁盤讀取的block的數量


          4

          redo size

          DML生成的redo的大小


          5

          sorts (memory)

          在內存執行的排序量


          7

          sorts (disk)

          在磁盤上執行的排序量






          ORACLE :: 評論 (0) :: 靜態鏈接網址 :: 引用 (0)
          發表評論
          能否給我一份算法或代碼,謝謝!
          shenyegh@scfast.com

          導航

          <2025年7月>
          293012345
          6789101112
          13141516171819
          20212223242526
          272829303112
          3456789

          統計

          常用鏈接

          留言簿(3)

          隨筆分類(352)

          收藏夾(19)

          關注的blog

          手冊

          搜索

          積分與排名

          最新評論

          閱讀排行榜

          評論排行榜

          主站蜘蛛池模板: 普兰县| 岑巩县| 临武县| 花莲市| 上栗县| 东乌| 永城市| 永昌县| 嘉善县| 兴海县| 天祝| 石城县| 驻马店市| 丰台区| 如皋市| 荣成市| 武宣县| 贡觉县| 梁平县| 长葛市| 资阳市| 涪陵区| 河源市| 淅川县| 北票市| 广昌县| 五寨县| 柳州市| 南汇区| 和静县| 南康市| 晋宁县| 南安市| 安龙县| 淮南市| 夏津县| 常宁市| 定西市| 溧水县| 三明市| 西充县|