HANA SQL – Converting Date to TimeStamp

light111HANA SQL – Converting Date to TimeStamp 


The TO_TIMESTAMP()  functions helps to convert the date and time to the timestamp format.

The TIMESTAMP data type is really long but in the DB mostly the timestamp is stored as a combination of date and time. In such a case we can apply TO_NVARCHAR () function on the TO_TIMESTAMP() function.

The below program shows the details:

1

Debug Details:

2


 

Leave a Reply