We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7cd89ba commit bc41c40Copy full SHA for bc41c40
sql_scripts/1d_gold_curation.sql
@@ -19,6 +19,7 @@ with cte1 as (
19
OR gender is null
20
OR yob < 75
21
OR frd is null
22
+ OR frd > to_date(CONCAT(RIGHT(current_database(), 6), '01'), 'YYYYMMDD')
23
)
24
INSERT INTO {SOURCE_NOK_SCHEMA}.patient
25
SELECT t1.*
0 commit comments