I have a datetime column in SQL Server that gives me data like this 10/27/2010 12:57:49 pm and I want to query this column but just have SQL Server ret
datetime
10/27/2010 12:57:49 pm
If you need the result in a date format you can use:
Select Convert(DateTime, Convert(VarChar, GetDate(), 101))