dbt-msft / tsql-utils

dbt-utils for the dbt-msft family of packages
MIT License
25 stars 25 forks source link

Add macro for dateadd, casting to datetime #35

Closed b-per closed 3 years ago

b-per commented 3 years ago

Without casting, a SQL error is raised when we add intervals smaller than the day. The same casting has been made in the BigQuery version of the macro.