Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

Is my Create Index Online finished? Expand / Collapse
Author
Message
Posted Wednesday, February 27, 2013 8:35 PM


SSC Veteran

SSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC Veteran

Group: General Forum Members
Last Login: Sunday, August 10, 2014 4:15 AM
Points: 293, Visits: 816
If I create an INDEX like the following

CREATE NONCLUSTERED INDEX [IX_table_col1_col2] ON [dbo].[table] 
(
[col1] ASC,
[col2] ASC
)
WITH (SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = ON) ON [PRIMARY]

How do I check up on it to see when it's 100% completed
Post #1424859
Posted Wednesday, February 27, 2013 10:06 PM


SSC-Dedicated

SSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-Dedicated

Group: General Forum Members
Last Login: Today @ 8:20 AM
Points: 37,072, Visits: 31,630
Jon.Morisi (2/27/2013)
If I create an INDEX like the following

CREATE NONCLUSTERED INDEX [IX_table_col1_col2] ON [dbo].[table] 
(
[col1] ASC,
[col2] ASC
)
WITH (SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = ON) ON [PRIMARY]

How do I check up on it to see when it's 100% completed


You'll get the following message when it's completed if you're running this from SSMS... just like any other query.
Command(s) completed successfully.


--Jeff Moden
"RBAR is pronounced "ree-bar" and is a "Modenism" for "Row-By-Agonizing-Row".

First step towards the paradigm shift of writing Set Based code:
Stop thinking about what you want to do to a row... think, instead, of what you want to do to a column."

(play on words) "Just because you CAN do something in T-SQL, doesn't mean you SHOULDN'T." --22 Aug 2013

Helpful Links:
How to post code problems
How to post performance problems
Post #1424894
Posted Wednesday, February 27, 2013 11:23 PM


SSC Veteran

SSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC Veteran

Group: General Forum Members
Last Login: Sunday, August 10, 2014 4:15 AM
Points: 293, Visits: 816
Oh, well... I guess it was just too fast for me to believe :)
Post #1424919
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse