SQL> copy from ecc_bj/ecc@staging -
> replace ecc_corporate -
> using -
> select * from ecc_sv_city where province_id = '11' ;数组读取/结合的大小为15。(数组大小为15)
将在每1000个数组结合之后提交。(提交的复本为1000)
最长为80。(长度为80)ERROR:
ORA-12154: TNS: 无法处理服务名
这样为何不可以. 连接串也没有写错啊 .请帮帮忙.

解决方案 »

  1.   

    这样连接一下先试试
    conn ecc_bj/ecc@staging
      

  2.   

    谢谢. 我服务器名写错了. 可说
    ERROR:
    ORA-02449: unique/primary keys in table referenced by foreign keys这样的错误.
      

  3.   

    SQL> copy from ecc_bj/ecc@runtime -
    > replace ecc_sv_province -
    > using -
    > select * from ecc_sv_province where province_id ='11';
    取/结合的大小为1。(数组大小为1)
    100个数组结合之后提交。(提交的复本为100)
    80。(长度为80)
    449: unique/primary keys in table referenced by foreign keys
    这个表是主表. 有主键. 另个表应用该列.同时该列也为外键. 请问我该复制主表那. 还是应用该表的负表那?