Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 SQL Server Development (2000)
 Datetime wildcards

Author  Topic 

Scott
Posting Yak Master

145 Posts

Posted - 2001-10-26 : 08:28:49
I want to do something like this:

Select * from somewhere where Datefield between '1/1/2001' and '&'; (Does not work!)

Basically I have an asp that pulls a report between two dates. Start date is required but end date is not. ie if end date is blank then it pulls everything after the start date.

???

Thanks

   

- Advertisement -