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