今天在啟動原生oracle時,提示錯誤: "在本機電腦無法啟動OracleOraHome92TNSListener服務,錯誤3,系統找不到指定路徑"在cmd下啟動提示: C:/Documents and Settings/Administrator>lsnrctl startLSNRCTL for 32-bit Windows: Version 9.2.0.1.0 - Production on 13-9月 -2007 15:27:12Copyright (c) 1991, 2002,
Here are several ways to manually issue the "create database" syntax for Oracle:EXTREMELY minimal manual database creation OMF minimal manual create database syntax Standard Oracle create database syntax EXTREMELY minimal manual database creation 1.
What is Join?---------------------•In a straightforward a join is a query that combines rows from two or more tables, views, or materialized views.•Oracle Database performs a join whenever multiple tables appear in the FROM clause of the query.•In
恢複誤刪除資料資訊:1、執行 alter table table_name enable row movement;2、執行 FlashBack table table_name to timestamp to_timestamp('2012-05-24 14:59:36','yyyy-mm-dd hh24:mi:ss');查詢曆史操作資料資訊:比較合理的方法是先從閃回區尋找出被誤刪的資料,再將被誤刪的資料插入到原來的表中。 1、執行 select * from A as of
Oracle中的for和while迴圈 有兩種方式可以實現條件迴圈 一、for 變數 in 開始數值...結束數值 loop end loop; 二、while 條件 loop end loop; loop的使用方式: exit when 語句可以出現在迴圈代碼中的任何位置; for迴圈: begin for x in reverse 1..10 loop -- reverse大到小
Oracle資料庫主要有一下四個使用者:超級管理員 sys change_on_install普通管理員 system manager普通使用者 scott tiger大資料使用者 sh sh1 、Oracle卸載1.停止所有與ORACLE相關的服務。2. 使用OUI(Oracle Universal Installer)卸載Oracle軟體。 “開始”->“程式”->“Oracle-OraDb110g_home1|Oracle installation
1:用toad串連oracle時需要裝個用戶端,選擇InstantClient就行了,但是如果你想要imp/exp資料庫dmp檔案或者進行sqlplus操作的話,就需要選擇下面的(管理員)【運行時,自訂沒用過】啦。2:imp/expA:建立一個使用者,授予dba的許可權create user zsedu identified by zsedu;grant dba to zsedu;B:配置 Net Configuration
轉自:http://hi.baidu.com/benmaoer/blog/item/7a5bcbefbf03213aadafd569.html 某天機器由於斷電+UPS 供電不足重啟後,發現監聽器啟不起來了,提示錯誤:TNSLSNR for Linux: Version 10.2.0.1.0 - ProductionSystem parameter file is /home/oracle/product/10.2.0/db_1/network/admin/listener.oraLog
Oracle 資料庫監控SQL語句 1.監控案例的等待: select event,sum(decode(wait_time,0,0,1)) prev,sum(decode(wait_time,0,1,0)) curr, count(*)from v$session_wait group by event order by 4; 2.復原段的爭用情況: select name,waits,gets,waits/gets ratio
轉自:http://blog.csdn.net/inthirties/archive/2009/08/03/4400905.aspx csdn上的朋友,提叻一個程式碼片段,要人協助解釋一下。程式碼片段如下:declare type t_indexby is table of number index by binary_integer; type t_nesteed is table of number; type t_varray is varray(10) of number;