Viewing 15 posts - 5,746 through 5,760 (of 59,068 total)
Sure. I have separate scripts for creating table and for creating indexes.
SET ANSI_PADDING ON
GO
CREATE NONCLUSTERED INDEX [IX_User_LastName] ON [dbo].[User]
(
[LastName] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF,...
January 13, 2021 at 6:13 pm
Thanks for the cover, Thom. I should have posted the links like you did.
January 13, 2021 at 6:10 pm
I was thinking the same thing but I've not yet seen it go parallel. That's most likely because I don't use it for much of anything because it does require...
January 13, 2021 at 3:15 pm
Again, just to say it out loud... use such methods at your own risk because MS has stated that there is to guaranteed output order from STRING_SPLIT(). I've not run...
January 13, 2021 at 5:31 am
For example, I have a table with very frequent inserts and there is high fragmentation. Is it advisable to create an index on such a table?
Can you post the...
January 13, 2021 at 2:25 am
Each restart, yes, but also failovers, detach/attach, all sorts of variation on that data. It is the one place to try to determine if indexes are in use, but,...
January 11, 2021 at 5:26 pm
For those of you that knew him, Gareth Swanepoel passed away on Friday - https://twitter.com/SQLBalls/status/1347722916700557319
He was a passionate member of the SQL community and a fellow speaker I've...
January 11, 2021 at 5:21 pm
p.s. The reason why I brought the subject up is because the "condition" we're talking about is that Inserts don't follow the Fill Factor but there is that one exception...
January 8, 2021 at 7:17 pm
All true except for one thing... DELETES can actually cause logical fragmentation if the deletes empty a page. SQL Server is smart enough to rewire the double linking to the...
January 8, 2021 at 7:00 pm
Both you and Peter are correct. Normally, Inserts do not follow the Fill Factor. They will almost always try to fill pages to as close to 100% full as the...
January 8, 2021 at 2:45 am
We have a Transaction server writing records to SQL recording machine data. The process writes records every 15 minutes to a table from different equipment.
I'd take out the...
January 7, 2021 at 4:39 pm
Put your search words in another table.
SELECT t.*
FROM dbo.table1 AS t
WHERE EXISTS (SELECT * FROM dbo.table2 AS x WHERE t.Product...
January 7, 2021 at 5:54 am
Execute this to see the fillfactor in use. You would expect 50% right?
DBCC SHOWCONTIG (tbl_user);
You are wrong. SQL Server uses 100% no matter what.
What happens if we rebuild the...
January 7, 2021 at 5:32 am
Thanks, Steve.
January 7, 2021 at 1:02 am
Given that you've stated this multiple times with an assortment of different "magic" fillfactors -- 51, 61, 82, etc. -- I don't think it's a "nitpick" at all. So,...
January 6, 2021 at 11:59 pm
Viewing 15 posts - 5,746 through 5,760 (of 59,068 total)