1。基本概念: 資料庫連接串主要用於建立對遠端資料庫的存取方法,可以直接讀取遠程Oracle的資料,或者直接修改。資料庫連接串可以是公用串連PUBLIC或者私人串連PRIVATE。這一點和同義字很相像。 1。建立文法: CREATE DATABASE LINK TEST CONNECT TO USERNAME IDENTIFIED BY PASSWORD USING 'CONNECT_STRING'; 解釋:TEST是資料庫連接串的名字。以後就通過這個名字來進行調用遠端資料庫的內容。
單向,雙向同步都可使用.--名詞說明:源——被同步的資料庫 目的——要同步到的資料庫前6步必須執行,第6以後是一些輔助資訊.--1、在目的資料庫上,建立dblinkdrop public database link dblink_orc92_182;Create public DATABASE LINK dblink_orc92_182 CONNECT TO bst114 IDENTIFIED BY password USING 'orc92_192.168.254.111
第八章: 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
using System; using System.Data; using System.Text; using System.Windows.Forms; using Microsoft.Office.Interop.Excel; using System.Data.OleDb; //引用-com-microsoft excel objects 11.0 namespace WindowsApplication5 { public partial
給使用者增加匯入資料許可權的操作http://www.diybl.com/course/7_databases/oracle/oraclejs/20071211/91845.html 第一,啟動sql*puls 第二,以system/manager登陸 第三,create user 使用者名稱 IDENTIFIED BY 密碼 (如果已經建立過使用者,這步可以省略) 第四,GRANT CREATE USER,DROP USER,ALTER USER ,CREATE ANY VIEW ,
註:答案在選項後面 Q. 1 : The default tablespace clause in the create user command sets the location for 1. Database Objects created by the user 2. Temporary Objects Created By the User 3. System Objects Created by the user 4. None of the above
Q. 1 : What feature in oracle allows you to monitor Suspicious Activity on the Datbase 1. Replication 2. Auditing 3. Monitoring 4. Tuning Q. 2 : Auditing can be turned on by setting this parameter 1. DB_AUDIT_TRAIL 2. AUDIT_TRAIL
在oracle DB 中通過JOB 調用預存程序:create or replace procedure addageis begin insert into test_work_age(work_age_id, work_age_code, work_age_name, created_date) values(5,6,'114','');end addage;-----------------------DECLARE X NUMBER;BEGINDBMS_JOB.SUBMIT (
Q. 1 : When will the rollback information applied in the event of a database crash 1. before the crash occurs 2. after the recovery is complete 3. immediately after re-opening the database before the recovery 4. roll back infrmation is
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.
第四章:索引 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)