Viewing 15 posts - 976 through 990 (of 1,170 total)
Thank you,
I needed someone to confirm with me.
IgorMi
March 26, 2013 at 2:58 pm
Hi,
You can re-create your index with IGNORE_DUP_KEY = ON and then it will allow inserting duplicate keys, otherwise you'll have to select distinct key values for the insertion.
March 6, 2013 at 7:16 pm
GilaMonster (3/6/2013)
IgorMi (3/6/2013)
That said, I'm curious as to why you want a heap plus a nonclustered index for the base table rather than just a clustered index with no need...
March 6, 2013 at 2:45 pm
GilaMonster (3/6/2013)
There's no requirement that the base table for an indexed view has any indexes at all.
You're right.
That said, I'm curious as to why you want a heap plus a...
March 6, 2013 at 2:23 pm
Hi,
sp_updatestats makes the statistics update on sampling max 20% of the data. For big tables AUTO_UPDATE_STATISTICS *does not* function well. In that case you'll need to enable trace flag 2371,...
March 5, 2013 at 2:31 am
Yes, the uniqueidentifier key is the most likely your problem. If you could make changes to your tables so that it gets newsequentialid() values, then you'll obtain a very low...
March 1, 2013 at 5:33 am
Lynn Pettis (2/25/2013)
Partitioning really isn't used for performancing tuning queries. You need to look at the code and the indexes. Using the actual execution plans...
February 25, 2013 at 3:44 pm
Erin Ramsay (2/25/2013)
What exactly are you trying to improve? Reads? Writes? Can we get some stats on what you're trying to do?
I want to improve Reads only
February 25, 2013 at 2:58 pm
Thank you guys! These two queries are really useful for me.
Best
IgorMi
February 19, 2013 at 1:32 pm
Check if your MAC address is allowed. Check the firewall and remote settings.
February 17, 2013 at 6:38 am
Hi, there is a "Parse" button in ssms which tells you some incorrect syntax of the t-sql.
For tracking what you've changed you can use a SVN, e.g.: http://www.simple-talk.com/dotnet/.net-framework/tortoisesvn-and-subversion-cookbook-part-9-server,-repository,-and-statistics/
Download link http://tortoisesvn.net/
February 17, 2013 at 6:11 am
Thorsten Wittekopf (2/6/2013)
but the problem is that the result for NumberOfSales is Count(SalesOld.SalesManID)*Count(SalesNew.SalesManID)*2.
For example one salesman has 35 entries in SalesNew and 334 in SalesOld.
The result of the Count(SalesOld.SalesManID)+Count(SalesNew.SalesManID)...
February 16, 2013 at 2:19 pm
Have you checked the User mappings of the Login for the user you gave db_datareader?
February 16, 2013 at 1:59 pm
February 16, 2013 at 12:29 pm
GilaMonster (2/14/2013)
Low scans, high range scans, I'd say that index is well...
February 14, 2013 at 10:59 am
Viewing 15 posts - 976 through 990 (of 1,170 total)