Skip to content

Commit

Permalink
Update field_plausible_after_birth.sql
Browse files Browse the repository at this point in the history
  • Loading branch information
MaximMoinat authored Jan 2, 2024
1 parent 72b2f5b commit 0b4734f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions inst/sql/sql_server/field_plausible_after_birth.sql
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,11 @@ FROM
CAST(CONCAT(
p.year_of_birth,
COALESCE(
RIGHT('00' + CAST(p.month_of_birth AS VARCHAR), 2),
RIGHT('0' + CAST(p.month_of_birth AS VARCHAR), 2),
'01'
),
COALESCE(
RIGHT('00' + CAST(p.day_of_birth AS VARCHAR), 2),
RIGHT('0' + CAST(p.day_of_birth AS VARCHAR), 2),
'01'
)
) AS DATE)
Expand All @@ -67,4 +67,4 @@ FROM
}
WHERE cdmTable.@cdmFieldName IS NOT NULL
) denominator
;
;

0 comments on commit 0b4734f

Please sign in to comment.