Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi All,
QVW File and Source attached.
////// JOIN & DROP loop to consolidate the Generic tables
FOR i = NoOfTables()-1 to 0 STEP -1
LET vTable=TableName($(i));
IF WildMatch('$(vTable)', 'Generic.*') THEN
LEFT JOIN (BM) LOAD * RESIDENT [$(vTable)];
DROP TABLE [$(vTable)];
ENDIF
NEXT i
Could someone please help here in the attached Model, to resolve the issue?
Regards!
But as there are lot of Tables and Data Models are being created (no Synthetic Keys), we need to Join those to the Main table and finally drop the Generic Tables.
No, you don't actually.
The result is one big table that contains all attributes; a table that often is sparse (containing many NULL values) and much largerthan the initial tables. And no performance has been gained… So I can only say:
You should not do this - unless you have a specific reason to.
Thank you gwassenaar for sharing the link on this.
Now I see a better picture of the Generic Load concept. Earlier I was wondering the huge bunch of tables don't looks good in the Table Viewer, I wanted to get rid of those!