다음을 통해 공유


FillFactor Property

Microsoft SQL Server의 이후 버전에서는 이 기능이 제거됩니다. 새 개발 작업에서는 이 기능을 사용하지 말고, 현재 이 기능을 사용하는 응용 프로그램은 수정하십시오.

The FillFactor property exposes the percent of each page used to store index data when the index is created.

구문

object
.FillFactor [=value]

Parts

  • object
    An expression that evaluates to an object in the Applies To list
  • value
    A long integer from 0 through 100

Data Type

Long

Modifiable

Read/write

Prototype (C/C++)

HRESULT GetFillFactor(LPLONG pRetVal);
HRESULT SetFillFactor(LONG NewValue);

주의

Microsoft SQL Server primary keys are supported by unique indexes built on the columns participating in the PRIMARY KEY or UNIQUE key constraint. For the Key object, the FillFactor property only has meaning if the Type property reports SQLDMOKey_Primary.

FillFactor can only be set when an Index object is created. It is a read-only property if an Index object references an existing SQL Server index.

Setting FillFactor on index or key creation can cause unintended behavior. For more information, see CREATE INDEX(Transact-SQL).

Applies To:

Index Object

Key Object