SQL_PLUS中spool ExecCompProc.sql select 'alter procedure '||object_name||' compile;' From all_objects where status = 'INVALID' and object_type = 'PROCEDURE'; spool off @ExecCompProc.Sql; 整理成一個預存程序Create Or Replace Procedure
嘗試在測試資料庫上匯入AWR資料,引發了ORA-4031錯誤。錯誤資訊為:SQL> @?/rdbms/admin/awrload~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~Disclaimer: This SQL/Plus script. should only be called
沒有EXP_FULL_DATABASE角色,會出現下面錯誤:ORA-31631: privileges are requiredORA-39149: cannot link privileged user to non-privileged userSQL> create database link pdbl connect to rman identified by rman using 'catalog';資料庫連結已建立。--=============================
案例1: 誤刪除user及所有的對象,恢複1)建立使用者,並分配許可權06:14:01 SQL> create user scott identified by tiger default tablespace users ;User created.06:15:55 SQL> grant connect ,resource to scott;Grant succeeded.06:16:06 SQL>2)匯入備份[oracle@work dat]$ imp
1、建立catalog庫,並註冊target database和同步catalog db——建立資料庫的備份[oracle@rh4 ~]$ rman target / catalog rman/rman@catdbRecovery Manager: Release 10.2.0.1.0 - Production on Sun Feb 19 11:43:13 2012Copyright (c) 1982, 2005, Oracle. All rights
本文將介紹在Visual C++ 6.0中開發Oracle應用程式的最常用的兩種方式:ADO(ActiveX Data Objects, ActiveX資料對象)與OCI(Oracle Call Interface,Oracle調用介面)。通過設計實驗,採用兩種 方式分別完成資料初始化、資料讀取、資料更新等工作,通過對比兩種方式的代碼量及運行速度來分析兩