Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
COUNT() Function
Message
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Syntaxe SQL
Divers
Thread ID:
01114075
Message ID:
01114098
Vues:
16
There was nothing to misunderstand because you never explained before what result you realy wanted. :)

>No, no. You misunderstand. But I found the solution.
>
>I am trying to return a cursor with the count of the number of records in each group.
>
>Instead of:
>
>
>1	2006-01-03 00:00:00.000	0	135	WEST	1
>2	2006-01-03 00:00:00.000	0	135	WEST	1
>3	2006-01-03 00:00:00.000	0	135	WEST	1
>4	2006-01-03 00:00:00.000	0	135	WEST	1
>5	2006-01-03 00:00:00.000	0	135	WEST	1
>
>
>I want back:
>
>
>1	2006-01-03 00:00:00.000	0	135	WEST	5
>
>
>
>The solution was to remove the Id column.
>
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform