Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Replace batch update on daily basis
Message
De
15/02/2009 17:05:01
 
 
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Syntaxe SQL
Versions des environnements
SQL Server:
SQL Server 2005
Application:
Web
Divers
Thread ID:
01381959
Message ID:
01381973
Vues:
15
>I still do not understand how do you get # of users from your query when it returns # of hits per user.

The command includes a GROUP BY AddUser at the end. Also, to test it that it was working, I added a condition not to take the users who were not logged. So, basically, in that situation, the hit would be Hit.AddUser=0. So, this gave me a result of -1, which perfectly makes sense because I do not want to count that user.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform