Viewing 12 posts - 1 through 12 (of 12 total)
We had a similar issue. I used the Shrink file option in SSMS - "Empty file by migrating to other files in similar filegroup." That worked for us. We were...
September 17, 2015 at 6:17 am
Matt,
It was a silly mistake on my part. Your (and GSquared's) query works just fine and the numbers match up.
Thanks a lot for your help.
- sg
March 13, 2008 at 6:15 pm
Matt Miller (3/13/2008)
Yup - got it. Sounds like you already found the discrepancy, though - are you all set?
Matt,
Unfortunately not.
Now that I understand what Cross join is supposed...
March 13, 2008 at 2:04 pm
Matt Miller (3/13/2008)
What are you trying to match this up to?
The statement earlier (The total number of users matching the date range is not...
March 13, 2008 at 1:54 pm
Thanks Matt & Gsquared for the explanations. Learnt something new... can't believe I've been doing Sql for so long without knowing this.
March 13, 2008 at 1:50 pm
Thanks for pointing that out.. I feel so stupid not to notice that.
March 13, 2008 at 1:44 pm
The sub-query returns the right number of rows. I had fixed the where clause when I tried your suggestion to use >= & <=.
March 13, 2008 at 1:42 pm
Thanks for the reply "Hall of Fame".
This one doesn't seem to work as well (the same as gsquared's). The number of rows returned are fine but totals don't match up.
March 13, 2008 at 1:38 pm
Thanks for the reply gsquared.
The number of rows returned are correct... but somehow the count is messed up. I am trying to figure out why. The total number of users...
March 13, 2008 at 1:24 pm
That's right.... I am trying to get a count of users for each of the groups in each of the cities. So if there are no users in Marketing group...
March 13, 2008 at 1:11 pm
RBarryYoung,
Thanks for the prompt reply. But that doesn't work. It brings back users only for cities and groups that match the date criteria. If there are no users in a...
March 13, 2008 at 1:03 pm
Viewing 12 posts - 1 through 12 (of 12 total)