on 12-05-2018 9:35 PM
Hi everyone.
Our consultant has created an Informix Provisioning Remote Source and worked fine quering individual virtual tables.
We have a porblem when quering 2 tables joined by more than one column:
The query:
select count(*)
from "HOSPITALARIO"."VIR_SCS_HLV_hgproqui" HG
inner join "HOSPITALARIO"."VIR_SCS_HLV_hgactqui" AQ
on AQ."actquiepi" = HG."proquiepi" -- match1
and AQ."actquinum" = HG."proquinum"; -- match 2
Results:
Could not execute 'select count(*) from "HOSPITALARIO"."VIR_SCS_HLV_hgproqui" HG inner join ...' in 391 ms 942 µs . SAP DBTech JDBC: [403]: internal error: Remote execution error Failed to rewrite SQL statement [SELECT COUNT(*) FROM ("informix.hgproqui" "HG" INNER JOIN "informix.hgactqui" "AQ" ON ("HG"."proquiepi" = "AQ"."actquiepi" AND "HG"."proquinum" = "AQ"."actquinum") ) ]. for query "SELECT COUNT(*) FROM ("informix.hgproqui" "HG" INNER JOIN "informix.hgactqui" "AQ" ON ("HG"."proquiepi" = "AQ"."actquiepi" AND "HG"."proquinum" = "AQ"."actquinum") ) "
"If" i only use one of the two matching fields the query works fine.
Can you please give me some advice?
Thanks a lot.
Larry.
Hi Mark,
In fact, our counsultant updated the Agent version and it solved the problem with the Informix provisioning
Thanks for your answer and sorry about the delay.
Larry.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.