Query to get the below as output is required.
How can I get ouput as 27AUG13 in SQL SEVER?
Please suggest
Query to get the below as output is required.
How can I get ouput as 27AUG13 in SQL SEVER?
Please suggest
Perhaps (works also in SQL-Server 2005 without DATE
):
SELECT CONVERT(VARCHAR(12), GETDATE(),6) AS [TodaysDate]
DEMO 28 Aug 13
The following will have spaces:
You can replace spaces: