Quantcast
Channel: SCN : Unanswered Discussions - Data Services and Data Quality
Viewing all articles
Browse latest Browse all 3719

Data Formatting issue

$
0
0

I am having difficulty converting a data column into a char structure with a specific format.

 

My source is of data datatype and the value is in yyyy.dd.mm format. The target is in varchar(24) and expected format should be in mm/dd/yyyy format.

 

I use a to_char(columnname, 'mm/dd/yyyy') but it fails. Not sure what is missing.


Viewing all articles
Browse latest Browse all 3719

Trending Articles



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