Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Summary from a date range
Message
 
 
À
03/03/2006 12:15:01
Mike Cole
Yellow Lab Technologies
Stanley, Iowa, États-Unis
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Syntaxe SQL
Versions des environnements
SQL Server:
SQL Server 2000
Divers
Thread ID:
01101302
Message ID:
01101323
Vues:
11
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform