Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Summary from a date range
Message
 
 
To
03/03/2006 12:15:01
Mike Cole
Yellow Lab Technologies
Stanley, Iowa, United States
General information
Forum:
Microsoft SQL Server
Category:
SQL syntax
Environment versions
SQL Server:
SQL Server 2000
Miscellaneous
Thread ID:
01101302
Message ID:
01101323
Views:
10
Mike,

(the UT just ate my last reply when I tried to post)

>Is there a way to do this from a SQL View?
>
>I have a table that has a beginning date and an ending date. What I want to do is count how many records are on each day. For example, Person A has a beginning date of 1/1/2005 and an ending date of 3/1/2005 and Person B has a beginning date of 2/1/2005 and an ending date of 4/1/2005.
>
>I want a summary that like so:
>1/1/2005 - 1
>1/2/2005 - 1
>...
>2/1/2005 - 2
>2/2/2005 - 2
>...
>3/2/2005 - 1
>3/3/2005 - 1
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform