如果:dblinks用sql*net而不是用odbc,必须通过一个客户端使用一个dblink(如sql*plus)连接到db。
用odbc:重新设置你的dsn,选择Disable MTS support选项。(如果没有,就需要更新odbc驱动)

解决方案 »

  1.   

    ORA-02041: client database did not begin a transaction 
    Cause: An update occurred at a coordinated database without the coordinator beginning a distributed transaction. This may happen if a stored procedure commits and then performs updates, and the stored procedure is invoked remotely. It could also happen if an external transaction monitor violates the XA protocol. 
    Action: If the cause is the former, check that any commit is not followed by an update.
      

  2.   

    两数据库:dbserver1 dbserver2 
    在dbserver1有linkserver2.
    连到dbserver1,则dbserver2的数据可以通过linkserver2插入到dbserver1.
    反之则不行。
      

  3.   

    因为linkserver2是从dbserver1到dbserver2的数据库连接,
    如果需要从dbserver2访问dbserver1,需要创建从dbserver2到dbserver1的数据库连接
      

  4.   

    楼上的老兄:请问同一个库中的两个用户之间能用DBLink吗?