Hey hey all!
I have some data in a table that contains two types of dates.
1) Just the date 2/6/2004 00:00:00
2) Date w/ time : 2/6/2004 11:15:04
When I run this where statement against the date it will only give me back the date if I use a single date for @BEgDate and @EndDate.
WHERE (Convert(DateTime, dbo.Data_Cust.Cre_date, 102) between @BegDate and @EndDate)
What can I do to get all things for the date of 2/6?
Any help is mucho appreciated!
Chris
I have some data in a table that contains two types of dates.
1) Just the date 2/6/2004 00:00:00
2) Date w/ time : 2/6/2004 11:15:04
When I run this where statement against the date it will only give me back the date if I use a single date for @BEgDate and @EndDate.
WHERE (Convert(DateTime, dbo.Data_Cust.Cre_date, 102) between @BegDate and @EndDate)
What can I do to get all things for the date of 2/6?
Any help is mucho appreciated!
Chris