Question : How to find out the date & time without seconds from DateTime Datatype field

Hi,

I have a column with Datatype - DateTime.

How to retrieve the Date & Time, but Time should not consists the Seconds.

Answer : How to find out the date & time without seconds from DateTime Datatype field

what about this:

select convert(char(16),getdate(),120)
Random Solutions  
 
programming4us programming4us