I return either DATETIME or NVARCHAR = 'MULTIPLE' depending on whether the action was performed more than once.
So, I am trying to save DATETIME in the normal format '2012-10-23 13: 59: 47.000', but as NVARCHAR. SQL wants to do this "October 23, 2012 12:40 PM" How can I do this?
Now I am doing:
CAST(r.Date_And_Time) AS NVARCHAR(30))
gooddadmike
source share