Quantcast
Channel: Forum SQL Server Database Engine
Viewing all articles
Browse latest Browse all 15694

Convert a datetime to YYYYMMDD

$
0
0

Hi,

Is there a way to convert a date (e.g. 2013-10-13) to int ( 20131013) without converting the date to varchar first and then to int?


cherriesh


Viewing all articles
Browse latest Browse all 15694

Trending Articles



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