Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Replace batch update on daily basis
Message
From
15/02/2009 17:05:01
 
General information
Forum:
Microsoft SQL Server
Category:
SQL syntax
Environment versions
SQL Server:
SQL Server 2005
Application:
Web
Miscellaneous
Thread ID:
01381959
Message ID:
01381973
Views:
14
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform