I make this command to bring the date in a YYYY / MM / DD format:
DECLARE @SomeExampleDate DATETIME;
SELECT @SomeExampleDate = '2016/08/20';
SELECT STUFF(REPLACE('/'+CONVERT(CHAR(10),@SomeExampleDate,102), '.', '/'),1,1,'')
But I want that the date that returns to me does not include zeros (0) before the day or month in case of having. I use SQL Server 2014 Express.