Quantcast
Channel: Transact-SQL forum
Viewing all articles
Browse latest Browse all 23857

Convert DDMMYYYY to MMDDYYYY (Datetime)

$
0
0

Hi All-

I have a column which is datetime (DDMMYYYY) 31/03/2012 20.30.00 I need to covert this to (MMDDYYYY 03/31/2012 20.30.00.

Please I dont want to convert this to Varchar. I want the output in datetime with same timestamp.

Please help me


Viewing all articles
Browse latest Browse all 23857

Trending Articles



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