Hi,
I want to check a date in sqlserver
my table contains following data
EmpId EmpName InTime
2500 Sachin 2014-01-01 09:00:00.000
2500 Sachin 2014-01-01 11:00:00.000
i want to check with following query
select * from baiju.dbo.HbaEmp where CONVERT(CHAR(10), InTime, 109) = '01-jan-2014'
but it doesn't return any value. i want to check with above format only
how it is possible
Regards
Baiju