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

Convert string into mm/dd/yy datetime format in sql server 2008?

$
0
0

Hi,

I have following scenario where i want to convert string date into mm/dd/yy datetime format.

create table #temp1(Joining_Date varchar(100))
insert into #temp1 values ('01-Nov-2013')
insert into #temp1 values ('01/Nov/2013')
insert into #temp1 values ('Nov,1,2013')

I want to keep output in mm/dd/yy format.How i achieve it in sql server 2008?


Viewing all articles
Browse latest Browse all 23857

Trending Articles



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