I want to do a query with dates this is my sample tsql:
select * from Bookings where StartTime = \'2/15/2014\'
the starttime has value \'2/15/2
'2/15/2014' can be interpreted different depending on your locale. Try using the ISO date literal '2014-02-15', which is independent of the locale.
select * from Bookings where StartTime = '2014-02-15'
Or if StartTime includes hours:
select * from Bookings where StartTime >= '2014-02-15' and StartTime < '2014-02'16'