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

Re: Converting Datetime to date format in Dataservices

$
0
0

Thanks Arun.

 

Actually

 

to_date(to_char(to_date(Column,'dd/mm/yyyy'),'YYYYMMDD'), 'YYYYMMDD') solve the problem

 

There is one more source field with datetimeformat (dd/mm/yyyy hh:mm:ss) & target field is char type.

 

How to convert this from datetime to char type? i want it in the same format i.e dd/mm/yyyy hh:mm:ss in target. I tried doing direct mapping & also tried with to_char(column, 'varchar').

 

both these are resulting in blank record in target for this column.

 

Thanks,

Pavan.


Viewing all articles
Browse latest Browse all 10498

Trending Articles



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