Quantcast
Channel: SCN : Unanswered Discussions - SAP HANA and In-Memory Computing
Viewing all articles
Browse latest Browse all 4343

How to check constructed string is timestamp format or not in SQL Script?

$
0
0

Hi Gurus,

I want to check string is correct timestamp format or not in SQLScript procedure .

 

like followings

------------------

dt = '2015/08/99'

ti = '00:00:00'

 

dtstr = dt || ' ' || ti

------------------

I want to check dtstr is correct datetime or not before next process.

*above example is 'wrong' , '2015/08/99' is not correct date.

 

But it seems to me , HANA doesn't have ISTIMESTAMP() / ISDATE()  / ISTIME() or similar functions.

Do you have any idea ?

 

Regards,

JT


Viewing all articles
Browse latest Browse all 4343

Trending Articles



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