语句   insert into Table@missql(EQUIP_id) values (191174);   在pl/sql中单独执行没有错误
放在存储过程 活begin end 语句块中时 出现 ora-o3113:通信通道文件结束 @missql 为ODBC SqlServer数据库  

解决方案 »

  1.   

    dblink 连sqlserver?
    关注下。
      

  2.   


    这个问题是比较奇快的,也遇到过,可能与SQLPLUS 的机制有关。 或者说sqlplus 不支持这种写法。这个是个人猜测。因为我也遇到过类似的情况。 在Toad里运行正常的sql,在sqlplus里就报错。等待其他答案。。------------------------------------------------------------------------------ 
    Blog: http://blog.csdn.net/tianlesoftware 
    网上资源: http://tianlesoftware.download.csdn.net 
    相关视频:http://blog.csdn.net/tianlesoftware/archive/2009/11/27/4886500.aspx 
    Q Q 群:62697716 
      

  3.   

    ORA-03113: end-of-file on communication channel 
    Cause: The connection between Client and Server process was broken.
     
    Action: There was a communication error that requires further investigation. First, check for network problems and review the SQL*Net setup. Also, look in the alert.log file for any errors. Finally, test to see whether the server process is dead and whether a trace file was generated at failure time. 不用翻译了吧。。
    参考:
    http://www.ora-code.com/code-13.html
      

  4.   

    找到原因了 是sqlServer的问题  因为今天发现查询一个在SQL中新建的表也出上述问题 尝试在表名上加双引号 结果ok  但为什么有的表不用呢????兄弟对SqlServer 不熟悉 表是用企业管理器直接创建的 ,其它不用加引号也能用的表是别人创建的 。 因此猜测与SqlServer中表的创建方式有关。
    4楼的兄弟也辛苦了
      

  5.   


    企业管理器建表语句会否把表名、字段名默认加上了双引号?我知道PowerDesigner生成的create table语句会这样。一般都是把双引号都去掉,然后用命令行方式执行。
      

  6.   

    使用这个 SELECT * FROM dxpcenter..SysObjects Where XType='U' ORDER BY Name 看了 一下表名
    没有带引号 这个问题 比较困惑 有时间看看 mssql