How can I eliminate the seconds part in my query. I have used DateADD to show the seconds part as 0 but I just want to ignore it. I only want to show the date hours: minutes I have used this query and it returns me something like this
SELECT DATEADD(minute, DATEDIFF(minute,0,GETDATE()), 0)
2013-09-30 13:03:00.000
But I want only 2013-09-30 13:03
part.
Can anyone help me?