I have this datetime, working in Hana:
CAST((B."ZFBDT" + B."ZBD1T" * INTERVAL '1 day') AS DATE) + CAST('23:59:59' AS TIME)
B."ZFBDT" = '2020-10-30'
B."ZBD1T" = 67
RES = 2021-01-05 23:59:59
The problem is that I need to convert it into SQL Server, and I now that INTERVAL is not supported. Actually I don't even understand the syntax properly: why they are multipling for INTERVAL 1 day?
I could unserstand adding or subtracting, but why multipling? Anyway, how can I make this work in SQL Server?
Thanks