I am trying to create Index for a large table with row count of 496,000,000 and the database is on SQL Server 2012 Enterprise edition. I know how to create index but its taking forever and would like know how to make it faster? Here is the script i tried.
create clustered index.....on table.name ([Column.name] desc)
with (
PAD_INDEX = off
,STATISTICS_NORECOMPUTE = off
,SORT_IN_TEMPDB = off
,DROP_EXISTING = off
,ONLINE = off
,ALLOW_ROW_LOCKS = on
,ALLOW_PAGE_LOCKS = on
) on [PRIMARY]
go
CREATE <optional type> INDEX <name> ON <table> (<columns>)