Solved

Sharepoint 2010: TSQL: Total Unique Visitors in a Month

Posted on 2012-04-05
4
1,637 Views
Last Modified: 2012-04-06
Hello Experts, i was looking to find out a tsql query to find number of unique visitors in  a particular month for a particular site. We do have default Web Analytic report feature in MOSS 2010 but i need to get a tsql to run againt content DB. Any help will be highly appreciated.

Thanks Much.
0
Comment
Question by:resolution11
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 29

Expert Comment

by:QPR
ID: 37814809
One way to find out would be to run a profiler trace against your sharepoint server while you run you analytic report to se what t-sql is being run to populate the report
0
 

Author Comment

by:resolution11
ID: 37814987
yes, i know a profiler should capture it. I did ran it once, made all the filters needed but still could not get that. But i was looking, if someone already knows, those queries, that will be really nice.

Thanks Much,
0
 
LVL 29

Accepted Solution

by:
QPR earned 500 total points
ID: 37815001
What do you mean "could not get that"?
The captured SQL is exactly the statements that SP is sending to SQL Server to return the data.

This might set you on the right road
http://otak-otak-it.blogspot.co.nz/2012/01/how-to-query-sharepoint-web-analytics.html
0
 

Author Comment

by:resolution11
ID: 37816664
Thanks QPR, i will try it.
0

Featured Post

Office 365 Training for IT Pros

Learn how to provision tenants, synchronize on-premise Active Directory, implement Single Sign-On, customize Office deployment, and protect your organization with eDiscovery and DLP policies.  Only from Platform Scholar.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

We were having a lot of "Heartbeat Alerts" in our SCOM environment, now "Heartbeat" in a SCOM environment for those of you who might not be familiar with SCOM is a packet of data sent from the agent to the management server on a regular basis, basic…
When using a search centre, I'm going to show you how to configure Sharepoint's search to only return results from the current site collection. Very useful when using Office 365 with multiple site collections.
Viewers will learn how to maximize accessibility options in an Excel workbook for users with accessibility issues.
The viewer will learn how to simulate a series of coin tosses with the rand() function and learn how to make these “tosses” depend on a predetermined probability. Flipping Coins in Excel: Enter =RAND() into cell A2: Recalculate the random variable…

691 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question