Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 2069

Re: DS: Convert string(DDMMYYYY) to datetime(SQLServer)

$
0
0

Can you try with  below format

 

to_date(to_char(INPUT_DATE,'DD.MM.YYYY'),'DD.MM.YYYY')

 

Below statement shows the date value in database

 

 

SELECT to_date('01051987','DD.MM.YYYY') FROM DUAL

 

 

 

Regards

Arun Sasi


Viewing all articles
Browse latest Browse all 2069

Trending Articles



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