How to convert given date format to MM/dd/yyyy HH:mm:ss
MM/dd/yyyy HH:mm:ss
I tried this one below but not achieved. Can anyone help me?
SELECT CONVERT(VARCHAR(
use
select convert(varchar(10),GETDATE(), 103) + ' '+ right(convert(varchar(32),GETDATE(),108),8) AS Date_Time
It will Produce:
Date_Time 30/03/2015 11:51:40