Quantcast
Channel: SCN : Discussion List - SAP HANA Developer Center
Viewing all articles
Browse latest Browse all 6412

Selecting the current timestamp in specific format

$
0
0

Hi Everyone,

 

I have a requrement whre the timestamp column values have to be shown in 'YYYY-MM-DD HH24:MI:SS' format. It was possible in the earlier versions of Hana. I am currently on SP07 and i am unable to get it this way. When i do a select current_timestamp 'Jun 26, 2014 3:54:52.439 AM' this is the displayed format.

 

If anyone can give few tips regarding this, it would be great.

 

Are there any timestamp formats like in SQL Server here? In SQL Server the formats are assigned some numbers and when we specify the numbers, the timestamp is shown in a format that corresponds to the number. If there is a similar functionality in Hana please provide me.

 

 

Regards,

Rudrabhupal PB.


Viewing all articles
Browse latest Browse all 6412

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>