Hello,
I've got a problem with setting buffers for a query, can anybody help me?
The problem:
I have a query and the query contains the same table 2 times:
example (part off the query):
,EACH brwa OUTER-JOIN NO-LOCK
WHERE(brwa.brwa-kc EQ rrel.rrel-rw-rel1)
,EACH brwa OUTER-JOIN NO-LOCK
WHERE(Brwa.brwa-kc EQ rrel.rrel-rw-rel2).
Now I've created a couple off buffers for the table in the query:
example:
CREATE BUFFER lhBuffer[1] FOR TABLE "bcli".
CREATE BUFFER lhBuffer[2] FOR TABLE "bwpk".
CREATE BUFFER lhBuffer[3] FOR TABLE "rrel".
CREATE BUFFER lhBuffer[4] FOR TABLE "brwa".
This doesn't work because there must Query-prepare must have 1 FOR EACH/PRESELECT for each query buffer.
Does anyone know how to solve this problem?
Greetings,
Bob Gosemeijer
I've got a problem with setting buffers for a query, can anybody help me?
The problem:
I have a query and the query contains the same table 2 times:
example (part off the query):
,EACH brwa OUTER-JOIN NO-LOCK
WHERE(brwa.brwa-kc EQ rrel.rrel-rw-rel1)
,EACH brwa OUTER-JOIN NO-LOCK
WHERE(Brwa.brwa-kc EQ rrel.rrel-rw-rel2).
Now I've created a couple off buffers for the table in the query:
example:
CREATE BUFFER lhBuffer[1] FOR TABLE "bcli".
CREATE BUFFER lhBuffer[2] FOR TABLE "bwpk".
CREATE BUFFER lhBuffer[3] FOR TABLE "rrel".
CREATE BUFFER lhBuffer[4] FOR TABLE "brwa".
This doesn't work because there must Query-prepare must have 1 FOR EACH/PRESELECT for each query buffer.
Does anyone know how to solve this problem?
Greetings,
Bob Gosemeijer
