Skip to content

Commit

Permalink
fix: date conversion for null values
Browse files Browse the repository at this point in the history
  • Loading branch information
Dennis-UiPath committed May 15, 2023
1 parent 899c2df commit 82a00d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion macros/multiple_databases/date_from_timestamp.sql
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
when len({{ field }}) > 0
then try_to_date({{ field }})
else
try_to_date(null)
to_date(null)
end
{%- elif target.type == 'sqlserver' -%}
case
Expand Down

0 comments on commit 82a00d7

Please sign in to comment.