About "ORA-03113: End of file for communication channels"

Source: Internet
Author: User

Iamlaosong

A SQL query statement error, independent of the statement, regardless of the value in the condition, the error is ORA-03113, the statement is as follows:

SELECT * from TB_EVT_DLV A, TB_JG b,tb_evt_mail_clct C where a.mail_num=c.mail_num and   a.dlv_date between To_date (' 201 4-11-1 ', ' yyyy-mm-dd ') and to_date (' 2014-11-1 ', ' yyyy-mm-dd ') and   a.dlv_sts_code= ' I ' and   a.dlv_bureau_org_ Code =b.zj_code and   a.dlv_bureau_org_code like ' 23009201% ' ORDER by b.city,b.ssxs,b.zj_code,a.dlv_date


a mistake, close diagram One, appears in Figure II:

This error is definitely not related to communication, this error has been encountered before, when the condition is "23007300", the organization still error, but only in the Association SNCN_ZD_JG This table times wrong, and now found that "23009201" also error, more serious than that, replace the organization table TB _JG and SNCN_ZD_JG both error (see: a strange query statement (unknown reason)), it is very strange.

Change ' 23,009,201% ' to ' 230,092% ', or simply replace like '23009201%' with = '23009201' to execute successfully. As follows:

SELECT * from TB_EVT_DLV A, TB_JG b,tb_evt_mail_clct C where a.mail_num=c.mail_num and   a.dlv_date between To_date (' 201 4-12-10 ', ' yyyy-mm-dd ') and to_date (' 2014-12-10 ', ' yyyy-mm-dd ') and   a.dlv_sts_code= ' I ' and   a.dlv_bureau_org_ Code =b.zj_code and   a.dlv_bureau_org_code = ' 23009201 ' ORDER by b.city,b.ssxs,b.zj_code,a.dlv_date


remove the last table and change it to the following statement to execute successfully. as follows:

SELECT * from TB_EVT_DLV A, TB_JG b where a.dlv_date between to_date (' 2014-12-10 ', ' yyyy-mm-dd ') and to_date (' 2014-12-10 ', ' Yyyy-mm-dd ') and   a.dlv_sts_code= ' I ' and   a.dlv_bureau_org_code =b.zj_code and   a.dlv_bureau_org_code like ' 23009201% ' ORDER by b.city,b.ssxs,b.zj_code,a.dlv_date


I don't know why.

About "ORA-03113: End of file for communication channels"

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.