oracle日常操作

1、把本機Oracle使用者sys、system密碼全部改為oracle;2、建立一個本地管理的資料表空間TS_ESTORE,並指定區(extent)大小為128K,檔案的初始大小為1M,自動擴充,每次擴充為500k。 3、建立一個使用者estore,設定密碼為estore,預設資料表空間為TS_ESTORE。4、為使用者eStore設定下列許可權: ü 串連資料庫ü 建立和執行PL/SQL程式ü 可以建立、修改、刪除任意表ü

Oracle加密預存程序操作筆記

建立預存程序指令檔,如 test.sqlcreate or replace procedure DIS_1as i integer;begin DBMS_OUTPUT.PUT_LINE('Hello Beijing');end;/注意最後的/字元SQL>@test.sqlProcedure created.SQL>set serveroutput onSQL>exec DIS_1Hello BeijingPL/SQL procedure successfully

Oracle 命令大匯總-使用者角色許可權管理

第八章: managing password security and resources    1.controlling account lock and password     sql> alter user juncky identified by oracle account unlock;     2.user_provided password function     sql> function_name(userid in

未能負載檔案或程式集“Oracle.Web, Version=2.112.1.0, Culture=neutral, PublicKeyToken=89b483f429c47342”或它的某一個依賴項

鬱悶,極度的鬱悶,昨天裝了oracle11g,之後,再裝了PlSql8,開啟任何項目頁面就報下面的錯誤,讓人莫名奇妙,,這是C盤的machine.config,怎麼這個也會出錯!我的系統是win7+vs2008手頭事情比較緊,我那個急死啊.右鍵瀏覽頁面報錯,產生也會報下面的錯誤,machine.config,又怕修改了會出現錯誤------配置錯誤 說明: 在處理向該請求提供服務所需的設定檔時出錯。請檢查下面的特定錯誤詳細資料並適當地修改設定檔。 分析器錯誤訊息:

oracle常用語句記錄

1、檔案IO統計select TS.Name,      DF.Name File_Name,      FS.Phyblkrd Blocks_Read,      FS.Phyblkwrt Blocks_Written,      FS.Phyblkrd+FS.Phyblkwrt Total_IOs  from V$FILESTAT FS, V$DATAFILE DF,v$tablespace TSwhere DF.File#=FS.File#  AND DF.ts#=TS.TS#order

Oracle建立使用者、資料表空間、匯入匯出、…命令(工作記錄)

文章來自【here】//建立暫存資料表空間create temporary tablespace test_temp tempfile 'E:\oracle\product\10.2.0\oradata\testserver\test_temp01.dbf' size 32m autoextend on next 32m maxsize 2048mextent management local;//建立資料資料表空間create tablespace

Oracle用戶端實現負載平衡

 # tnsnames.ora Network Configuration File: D:\Oracle\product\10.1.0\Client_1\network\admin\tnsnames.ora # Generated by Oracle configuration tools.一般配置SERVER1=  (DESCRIPTION =    (ADDRESS_LIST =      (ADDRESS = (PROTOCOL = TCP)(HOST =

Oracle PACKAGE 多參數合并輸入,遊標返回 ,查看遊標返回記錄集

CREATE OR REPLACE TYPE Varchar2Varray IS VARRAY(100) of VARCHAR2(40);/CREATE OR REPLACE FUNCTION sf_split_string (string VARCHAR2, substring VARCHAR2) RETURN Varchar2Varray IS  len integer := LENGTH(substring);  lastpos integer := 1 - len;  pos

教為學:Oracle 11g OCP 之路(一):從安裝開始

必須保證安裝檔案所在目錄沒有中文,不然會有各種問題!既然是學習測試環境,這兩項就免了。下一步,忽略。我們當然只安裝資料庫軟體,以後得設定資料庫。選擇單一實例RAC不是我們現在所要瞭解的東西。這裡預設就行!企業版功能強,所以我們用這個學習,生產環境同樣用這個多。指定安裝位置,將來設定資料庫的時候就知道這東西啥用了。檢查安裝環境,一般情況下Windows系統不是很重要,沒有檢查通過,忽略就是了。Linux下相當注意。點擊完成,以後安裝。結束安裝。

oracle預存程序分頁

1.首先在oracle中建預存程序,預存程序名庫 PROCEDURE prc_queryCREATE OR REPLACE PROCEDURE prc_query       (p_tableName        in  varchar2,   --表名        p_strWhere         in  varchar2,   --查詢條件        p_orderColumn      in  varchar2,   --排序的列        p_orderStyle    

C#調用Oracle資料庫的預存程序填充Dataset

一資料表:student(studentid varchar2   studentname varchar2)資料: studentid              studentname  001                       001 002       002 002       003第2步建包:CREATE OR REPLACE PACKAGE PKG_SELECT_STUDENTAS   TYPE T_CURSOR IS REF CURSOR;   PROCEDURE

oracle建立索引

給oracle資料表建立索引 按照一般的說法,一個資料表如果資料量超過了幾百條,就要考慮建立索引了。拖了這麼久,今天終於給我們的一些變大了的資料表建立了索引。 首先,查看目前已經建立的索引 select index_name from all_indexes where table_name = 'PICTURE'; 果然比較弱智,只有系統給主鍵自建的索引:SYS_C55001

ORACLE 發送郵件(全)

    因公司規定用繁體字 ,所以下麵的中文都是繁體的 CREATE OR REPLACE PROCEDURE send_mail (p_From IN VARCHAR2,p_To IN VARCHAR2,p_Subject IN VARCHAR2,p_Body IN VARCHAR2,p_Cc IN VARCHAR2 := NULL,p_Bcc IN VARCHAR2 := NULL,p_ContentType IN VARCHAR2 := 'text/plain;charset=big5',

ORACLE主要的系統資料表和資料字典視圖

文章目錄 表和列完整性條件約束視圖序列同義字索引使用者角色資料表空間定額配置表資料表空間資料檔案段復原段 1.系統資料表ORACLE資料庫的系統參數都儲存在資料庫中,可以通過SQLPLUS,以使用者SYSYTEM進行查詢。幾個重要的表或者視圖如下:v$controlfile:控制檔案的資訊;v$datafile:資料檔案的資訊;v$log:

oracle結構-邏輯結構

邏輯結構oracle的邏輯結構包括資料表空間(tablespace),段(segment),資料區塊(data block)以及模式對象(schema)。   

Oracle DBA 儲存試題

Q. 1 : Oracle immediately re-uses the space assigned to row-directory portion of the data block once you delete the corresponding rows.     1. True   2. False      2      Q. 2 : Which of the following three portions of a data block are collectively

Oracle配置-oracle參數檔案(二)

oracle參數二第四章本篇介紹常用參數AUDIT_FILE_DEST參數類型:字串文法:AUDIT_FILE_DEST =

Oracle DBA結構試題1

Q. 1 : Physical Disk Resources in an Oracle Database are   1. Control Files   2. Redo Log Files   3. Data Files   4. All of the above   4   Q. 2 : What is a Schema   1. A Physical Organization of Objects in the Database   2. A Logical Organization

Oracle DBA啟動和關閉常式試題

 Q. 1 : The Database must be in this mode for the instance to be started   1. MOUNT   2. OPEN   3. NOMOUNT   4. None   3   Q. 2 : When Oracle startups up, what happens if a datafile or redo log file not available or corrupted due to O.S Problems   1.

Oracle 命令大匯總-索引與約束管理

第四章:索引     1.creating function-based indexes     sql> create index summit.item_quantity on summit.item(quantity-quantity_shipped);     2.create a b-tree index     sql> create [unique] index index_name on table_name(column,.. asc/desc)

總頁數: 1509 1 .... 1027 1028 1029 1030 1031 .... 1509 Go to: 前往

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.