我用vc 调用了一个存储过程,在存储过程中有调用了另一个存储过程向数据库写入数据,
过程提示ora-02064不支持分布式操作,不只如何解决。请高手帮忙!

解决方案 »

  1.   

    it could be a bug :
    1.
    PLSQL which issues an INSERT into a partition table 
    via a database link may fail with ORA-2064.
    This problem is introduced in Oracle9i.2.
    Inserting over a database link to an 8i database 
    using a SELECT with a loopback database link results 
    in an ORA-2064.
    Eg: Insert into tab@8ilink select * from tab@loopback_link.3.
    ORA-2064 or ORA-2019 may be raised when a 9i client issues a select 
    over a DB Link and the remote query has a DRIVING_SITE hint added to
    it in a subquery. The problem occurs at the 8i end of the database
    link.