You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The analysis 5000 generates multiple entries in our case since we have an incremental load. Hence, the cdm_source table reflects every single data load. Is it maybe useful just to only take into account the latest entry for this analysis?
Here is a suggestions which extents the query by the following line:
where @cdmDatabaseSchema.cdm_source.source_release_date = (select max(source_release_date) from @cdmDatabaseSchema..cdm_source)
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
The analysis 5000 generates multiple entries in our case since we have an incremental load. Hence, the cdm_source table reflects every single data load. Is it maybe useful just to only take into account the latest entry for this analysis?
Here is a suggestions which extents the query by the following line:
where @cdmDatabaseSchema.cdm_source.source_release_date = (select max(source_release_date) from @cdmDatabaseSchema..cdm_source)
Beta Was this translation helpful? Give feedback.
All reactions