Viewing 15 posts - 10,051 through 10,065 (of 26,489 total)
erics44 (8/16/2012)
As the title saysselect
id
, count(distinct company) as CompanyCount
, count(distinct district) as DistrictCount
from Tracking
group by id
thanks in advance
Depending on how wide the table is, a nonclustered index on id...
August 16, 2012 at 9:19 am
Pablo Campanini-336244 (8/16/2012)
Listen to this....
Yes I can not see the tables thru SSMS when I am logged in as U1,
BUT if I do a select on the tables with schema...
August 16, 2012 at 9:08 am
sturner (8/16/2012)
roger.plowman (8/16/2012)
August 16, 2012 at 9:06 am
Again, it isn't the questions nor the answers that are getting worse, it is the people asking the questions.
I swear (especially when behind the wheel of a car) that the...
August 16, 2012 at 8:29 am
Here is the problem we face, we can't see what you see. You are using a temporary table, great. Are you exporting directly from the table using a...
August 16, 2012 at 8:14 am
sturner (8/16/2012)
Alex Gay (8/16/2012)
August 16, 2012 at 8:11 am
Really having a problem here. I followed your steps and I don't have a problem connecting with the user U1 and I see the table in the Common schema...
August 16, 2012 at 7:18 am
What do the reporting options for success say, how are they set?
August 16, 2012 at 6:57 am
You could say this is one of those things you won't know is broke until a critical piece of data is duplicated or dropped.
August 15, 2012 at 4:04 pm
It neither helps nor hinders. It simply the same as using the READ UNCOMMITTED isolation level. IF there is any activity that could potentially cause a duplicate record...
August 15, 2012 at 4:03 pm
SQL_Kills (8/15/2012)
Not sure how it is a vague question?
My opinion, "Best" is subjective. What may be best for you may not be best for others, even in the same...
August 15, 2012 at 3:52 pm
The NOLOCK hint is NOT a go faster button. Personally, I'd remove them.
August 15, 2012 at 3:50 pm
SQL_ME_RICH (8/15/2012)
August 15, 2012 at 3:48 pm
Ask a vague question you are going to get a vague answer. 🙂
August 15, 2012 at 3:38 pm
Viewing 15 posts - 10,051 through 10,065 (of 26,489 total)