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)
 query problem

Author  Topic 

sgw1963
Starting Member

6 Posts

Posted - 2001-01-31 : 11:35:15
I have a query where i am trying to show how many orders I have shipped to a customer since Oct 1, but i dont want to see dates that are before this date. The query that I run shows all the dates in the table if any meet the between clause that I stick in. Here is a sample of the table I have to work with.

Customer date1 date2 date3 date4
JohnSmith 01/12/2001 12/10/2000 11/09/2000 10/10/2000
Darrenlittle 01/15/2001 12/05/2000 11/11/2000 09/01/2000

   

- Advertisement -