I think this is an easy question.
In my table dates are in smalldatetime type, also it includes time values.
Like this
01/02/2006 11:30:00 p.m.
but when I construct the query like this
...
where Table.Date = myDate
my date only contains the date part (01/02/2006) and the result set is an empty set.
So how can I take just the date part in the table?
I mean, at this point I don't care the time value
In my table dates are in smalldatetime type, also it includes time values.
Like this
01/02/2006 11:30:00 p.m.
but when I construct the query like this
...
where Table.Date = myDate
my date only contains the date part (01/02/2006) and the result set is an empty set.
So how can I take just the date part in the table?
I mean, at this point I don't care the time value