成人AV在线无码|婷婷五月激情色,|伊人加勒比二三四区|国产一区激情都市|亚洲AV无码电影|日av韩av无码|天堂在线亚洲Av|无码一区二区影院|成人无码毛片AV|超碰在线看中文字幕

oracle刪除dblink語句 oracle數(shù)據(jù)庫dblink怎么用?

oracle數(shù)據(jù)庫dblink怎么用?創(chuàng)建公共數(shù)據(jù)庫鏈接創(chuàng)建公共數(shù)據(jù)庫鏈接“數(shù)據(jù)庫鏈接別名”連接到由“登錄密碼”標識的“登錄用戶”使用“(description=(address) LIST=(add

oracle數(shù)據(jù)庫dblink怎么用?

創(chuàng)建公共數(shù)據(jù)庫鏈接

創(chuàng)建公共數(shù)據(jù)庫鏈接“數(shù)據(jù)庫鏈接別名”

連接到由“登錄密碼”標識的“登錄用戶”

使用“(description=(address) LIST=(address=(PROTOCOL=TCP)(HOST=IP)(PORT=1521)))(connect Data=(sid=sid))”

例如:

創(chuàng)建公共數(shù)據(jù)庫鏈接mydblink

連接到由密碼標識的user1

使用“(description=(address) LIST=(address=(PROTOCOL=TCP)(HOST=10.10.10)(PORT=1521)))(connect Data=(sid=ora10))”

oracle數(shù)據(jù)庫dblink怎么用?

在遠程數(shù)據(jù)庫中創(chuàng)建dblink,然后使用

insert into otable ame(coluname1,coluname2,…)從tableu中選擇coluname1,coluname2名稱2@dblinkuName

例如,有兩個獨立的數(shù)據(jù)庫。如果我們登錄到當前數(shù)據(jù)庫并想訪問另一個數(shù)據(jù)庫,如果我們構(gòu)建dblink,我們可以直接訪問當前數(shù)據(jù)庫中的另一個數(shù)據(jù)庫。例如,選擇*from用戶@xe這樣,我們就可以直接訪問另一個數(shù)據(jù)庫的用戶表