I have nvarchar(255)
column in my table.
And data is in format of 9/4/2013
SELECT
YEAR([Last Revision Date]) + '-'+
MONTH([Last Revision Date]) + '-'+
DAY([Last Revision Date])
FROM events_tbl
Individual, they are good, but I want to put them in 1 column when doing SELECT statement
So for date:9/4/2013
gives me: 2026
And I want YYYY-MM-DD
format.
Does anyone know how to do this?