Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
I have an old QVD that i want to update, the DB table has a unique ID field which is a string field, and I want to load rows which ID is bigger than the existing biggest ID.
minimum Script:
Try without the Qualify * -
B_RECHNUNG_POSIQUALIFY *;
LOAD
REPO_ID as B_RECHNUNG_POSITIONEN.REPO_ID,
AUFT_ID as B_RECHNUNG_POSITIONEN.AUFT_ID;
SELECT * FROM "Oracle"."B_RECHNUNG_POSITIONEN"
where TO_NUMBER(NVL("AUFT_ID")) >= $(last_AUFT_ID);
There was a cut & paste error in my post. Did you try it like this:
B_RECHNUNG_POSITIONEN;
LOAD
REPO_ID as B_RECHNUNG_POSITIONEN.REPO_ID,
AUFT_ID as B_RECHNUNG_POSITIONEN.AUFT_ID;
SELECT * FROM "Oracle"."B_RECHNUNG_POSITIONEN"
where TO_NUMBER(NVL("AUFT_ID")) >= $(last_AUFT_ID);
Qualify just aliases the field name in the same way as the "as" clauses above, but allows you to control exactly when it happens in the preceding load.
no, the error is still 'REPO_ID' not found, even if i use as B_RECHNUNG_POSITIONEN.REPO_ID.
I have tried to do it with date, just like many examples, but also has the same error regardless of qualify or not. So I guess the error is in some other directions?