Viewing 15 posts - 211 through 225 (of 286 total)
pooyan_pdm (8/8/2012)
you should specify the fill-factor for an index based on the number of inserts,
Wrong
updates on the index key(s)
Not only updates on the index key can cause fragmentation
the...
August 8, 2012 at 2:54 pm
wendy elizabeth (8/3/2012)
The only option I can see is to increase the size of the field to varchar(886) instead of varchar(900). Are there any other options I would have?
Drop index2
Why...
August 3, 2012 at 2:36 pm
select SUM(a.t),p
from @table3 a
where exists
(
select n
from @table3 t
where (p = 1 or p =...
June 20, 2012 at 2:04 pm
Sean Lange (6/5/2012)
Alexander Suprun (6/5/2012)
Sean Lange (6/5/2012)
Tripz (6/5/2012)
my UserPreferences i.e bbbb has comma separated region ids and category ids, that is the reason to use fn_split function
I understand the...
June 5, 2012 at 1:16 pm
Sean Lange (6/5/2012)
Tripz (6/5/2012)
my UserPreferences i.e bbbb has comma separated region ids and category ids, that is the reason to use fn_split function
I understand the point of the function,...
June 5, 2012 at 12:52 pm
Tripz (6/4/2012)
Thank you
Here is the DDL of the functions
-------=========================================================
ALTER FUNCTION [dbo].[fn_getUserCategoryList](@userID int)
RETURNS VARCHAR(MAX)
AS
BEGIN
DECLARE @list nvarchar(64)
SELECT @list = category FROM t_UserPreferences WHERE userID = @userID
DECLARE @listStr VARCHAR(MAX)
SELECT@listStr = COALESCE(@listStr+',...
June 5, 2012 at 10:34 am
jswong05 (4/23/2012)
Just to clarify there are differnt operating systems:http://www.whylinuxisbetter.net/items/defragment/index.php?lang=
1. Your link is not related to the topic discussed at all.
2. It doesn't explain what will happen if there is no...
April 23, 2012 at 1:46 pm
I just wonder, is 400 fragments for 300GB database file is a really-really bad thing which affects performance? It means that an average fragment size is around 755Mb. Isn't it...
April 21, 2012 at 2:01 am
Quick tool for you is to hire a professional who can help you identify performance problems and provide a solution.
March 31, 2012 at 2:36 am
How do you expect someone to explain it to you if we don't know what exactly have you changed and how the execution plan looks now? In general, by changing...
March 13, 2012 at 7:14 pm
SQLJocky,
I know exactly what is wrong with your query. We had the similar issue before.
If you look at the plan you'll see a nested loops without a JOIN predicate. In...
March 12, 2012 at 3:31 pm
Gianluca Sartori (3/9/2012)
Sure it works, but it won't use indexes.I would recommend using dynamic SQL in this case.
You can look it up in Erland's article.
It may use indexes to...
March 10, 2012 at 1:19 am
Lynn Pettis (3/8/2012)
Alexander Suprun (3/8/2012)
There is no correct answer to the question, because the query may return either 6 or None records.Here is my result:...
Looks like you may have a...
March 8, 2012 at 4:12 pm
There is no correct answer to the question, because the query may return either 6 or None records.
Here is my result:
March 8, 2012 at 4:01 pm
ScottPletcher (2/16/2012)
When did SQL Server start doing these "auto sorts" for clus indexes?
Common sense tells me it was like this since the day clustered indexes were implemented in SQL Server.
February 16, 2012 at 2:11 pm
Viewing 15 posts - 211 through 225 (of 286 total)