Skip to content

Commit

Permalink
Merge pull request #552 from OHDSI/katy__date_format
Browse files Browse the repository at this point in the history
Fix date format in plausibleTemporalAfter
  • Loading branch information
katy-sadowski committed Jun 12, 2024
2 parents 45de054 + 2fc64f1 commit 2f86863
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inst/sql/sql_server/field_plausible_temporal_after.sql
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ FROM
{'@plausibleTemporalAfterTableName' == 'PERSON'}?{
COALESCE(
CAST(plausibleTable.@plausibleTemporalAfterFieldName AS DATE),
CAST(CONCAT(plausibleTable.year_of_birth,'-06-01') AS DATE)
CAST(CONCAT(plausibleTable.year_of_birth,'0601') AS DATE)
)
}:{
CAST(cdmTable.@plausibleTemporalAfterFieldName AS DATE)
Expand Down

0 comments on commit 2f86863

Please sign in to comment.