Quantcast
Channel: SCN : All Content - Data Services and Data Quality
Viewing all articles
Browse latest Browse all 4013

Convert from integer to date

$
0
0

Hello.

 

I have three fields defined as integer for year, month and day. I want to convert them to date format.

I tried using cast, to_char, to_date and none of them seem to work. At the end the result is empty in the target field or I get an error of data type mismatch.

 

Is there a way to accomplish this?

 

 

thanks.


Viewing all articles
Browse latest Browse all 4013

Trending Articles



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