错误,当调用SQL过程时

时间:2017-07-21 12:59:04

标签: sql oracle-sqldeveloper

我有错误报告: 错误报告 -

ORA-12801: error signaled in parallel query server P018
ORA-01722: invalid number
ORA-06512: at "INSURADM.PACK_PORTAL_FP_AGRSEL", line 831
ORA-06512: at line 48
12801. 00000 -  "error signaled in parallel query server %s"
*Cause:    A parallel query server reached an exception condition.
*Action:   Check the following error message for the cause, and consult
           your error manual for the appropriate action.
*Comment:  This error can be turned off with event 10397, in which
           case the server's actual error is signaled instead.

我的程序:

46    begin
47    p_ag_id_out :=1941429;
    -- Call the procedure
48    insuradm.pack_portal_fp_agrsel.get_agrcasco(p_ag_id => p_ag_id_out,
49    v_ao_id => v_ao_id_out,
50    v_co_id => v_co_id_out,
51    v_status => v_status_out,

这是片段,第831行应该是错误,但我不知道831错误在哪里:

831    With

832    AAg As
833      (
834        Select aD.Ag_id    ,        
835               aD.Ag_Parent,
836               aD.Ag_Num   
836        From   InsuraDm.Agreement aD  Inner Join  InsuraDm.AgrProduct Ap
837               on ( aD.Ag_Product = Ap.Ap_id )
838        Where  aD.Ag_id = p_Ag_id   
839          And  Ap_vid   = 5           
840      ), 

是什么意思?如何解决?

1 个答案:

答案 0 :(得分:2)

尝试转换 where 子句中使用的列。那对我有用。