Quantcast
Channel: Recent Questions - Stack Overflow
Viewing all articles
Browse latest Browse all 12111

How to change sql date format of existing records in table?

$
0
0

I have a datetime column which is storing records as

Mar 10 2020 12:00AM

but want to change all to format like 03/10/20

there are thousand of records

I tried, COnvert(date,convert(varchar, PostingDate, 101),101)


Viewing all articles
Browse latest Browse all 12111

Trending Articles



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