Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Two-Task Communication Error
Hi,
We have faced the above mentioned error when we try to execute the pro*C program .
Query No 1. EXEC SQL SELECT NVL(SUM(NVL(AMOUNT_DUE_REMAINING,0)),0),
LPAD(NVL(SUM(NVL(AMOUNT_DUE_REMAINING,0)),0)*100,12,'0') Query No 2. EXEC SQL SELECT NVL(SUM(AMOUNT_DUE_REMAINING),:mn),
LPAD(NVL(SUM(AMOUNT_DUE_REMAINING),:mn),:mlen,:mzero<-
The query was compiled & executed from Oracle 8.1.7.2 but gets the record from Oracle 8.0.6.2.
From the above query, the Query No 1 gives me the following error.
Oracle Error: ORA-03106: fatal two-task communication protocol error ORA-02063: prec
So we tried by assigning some memory variable instead of constant ( Eg : Query 2 ) it works without any problem.
Please help us to solve this two-task communication protocol error.
Our env is Solaris 2.6
SQL> select * from v$version;
BANNER
SVRMGR> select * from v$version;
BANNER
Regards,
Joshua. Received on Mon Apr 15 2002 - 04:12:57 CDT