Click here to Skip to main content
15,881,248 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
i work on sql server 2017

I need to create cluster index on table but after search i found

som features i don't know what it mean like

DATA_COMPRESSION,FILLFACTOR, ONLINE, SORT_IN_TEMPDB

so what thses features mean please and what case we will use it

What I have tried:

SQL
CREATE CLUSTERED INDEX IX_FactLoss_LossID
 ON dbo.Staging ( LossID, USERID )
 WITH ( DATA_COMPRESSION = PAGE, FILLFACTOR=99, ONLINE=OFF, SORT_IN_TEMPDB=ON )
Posted
Updated 8-Feb-22 22:31pm
Comments
Patrice T 8-Feb-22 22:06pm    
Too bad there is no SQL documentation.

1 solution

 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900