Viewing 4 posts - 1 through 4 (of 4 total)
SQLBill,
You answered my question. Thanks much
Cindy
July 28, 2003 at 12:13 pm
jpipes,
My actual query has other combinations in the where clause . This stored proc will come in handy another time.Thank You.
The original question was intended to be:-
why does the query...
July 28, 2003 at 11:53 am
SQLBill,
The convert function will truncate the time part and give the output in the format 'mm/dd/yy' (for 101).
Then why wouldn't the query
SELECT * FROM tblprojects WHERE insertedDate >= CONVERT(smalldatetime, '01/01/2003',...
July 28, 2003 at 11:40 am
SQLBill,
First for some reason I could not find my way to post in T-SQL or programming forums.
The dates are interpreted as 'mm/dd/yy' and not 'dd/mm/yy'.
<= '05/01/2003' will include...
July 28, 2003 at 11:33 am
Viewing 4 posts - 1 through 4 (of 4 total)