on 01-26-2021 10:40 AM
I'm building a HANA calculation view and in one of the column I need to get current date in a SECONDDATE Format. Like if today is 26.01.2021 I need to get 26.01.2021 00.00.00.0.
I try following, but event I don't get any errors and validation is ok, I dont get any data retrieved:
By the way my CurrentDateTimeCET looks following:
What do I do wrong?
Thanks for your help in advance!
BR.
Hi Denis,
a few recommendations from my side:
SELECT to_seconddate(current_utcdate) FROM DUMMY
You can find some more useful tips and the most relevant SQL-Functions in this SAP HANA SQLScript Overview.
With best regards,
Jörg
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you for your tipp, Jörg! My logic works now.
User | Count |
---|---|
83 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.