create public database link pubs connect to testuser identified by testuser_pwd using 'pubs';create public database link northwind connect to testuser identified by testuser_pwd using 'northwind';(假設SQL Server下pubs和northwind已有足夠權限的用戶登陸testuser,密碼為testuser_pwd)
訪問SQL Server下數據庫里的數據:
select * from stores@pubs;...... ......select * from region@northwind;...... ......
create table stores as select * from stores@pubs;select zip from stores;ERROR 位于第 1 行:ORA-00904: 無效列名select "zip" from stores;zip-----980569278996745980149001989076