1. 建dblink
2. create view table_v as select * from table@dblink;

解决方案 »

  1.   

    --创建数据库连接
     
     create public  database link link_Test
     connect to oe identified by oe
     using 'Basic';--查询select * from 表@link_Test;
      

  2.   

    哦,这么快就有高人帮忙了,多谢了!我按楼上的指点,查了查,dblink的语法,好像是:
    CREATE [PUBLIC] DATABASE LINK remote_connect 
    CONNECT TO username identified by password using ‘connect string’看得半懂不懂,能帮我解释一下上边语句么?
    用得时候还有什么需要注意的,呵呵(公司数据库,不问清楚了,不敢乱试。)
    ps:客户段用 Oracle 8i 
      

  3.   

    username: 用户
    password: 密码
    connect string: 网络服务名
    remote_connect: link名