Interview Questions

1. How to set Fill Factor?

Server level: A generic fill factor setting is applied at the server level for all table/index. We can set a server level default fill factor by using sp_configure with a parameter as below script.

EXEC sys.sp_configure 'fill factor', 90

GO

RECONFIGURE WITH OVERRIDE

GO 

At Index/Table level: While creating/rebuilding index we can set a specific fill factor. We can use below script to set fill factor while rebuilding index. 

ALTER INDEX Index_name ON [SchemaName].[TableName]

REBUILD WITH (FILLFACTOR = 80);

GO

By Hena Parveen 2 0
Is this helpful? Yes No

Submit an interview question

Submitted questions and answers are subject to review and editing, and may or may not be selected for posting, at the sole discretion of w3Sniff.

Get Started

Comments

Leave a Comment


Check out more interview questions

Based on your skills

MS SQL Server

2567651 1720 50 859

Angular

67721 92 0 46

Wordpress

57027 72 1 36