0

We got the issue that we cannot drop the index in azure database (the database is on Elastic pool) by running the below in SSMS:

DROP INDEX [nci_wi_FactInvoiceDetail_145BA2082F925FB3C62800F00A3ECF41] 
ON [SPENDBY].[FactInvoiceDetail]

We got timeout exception.

This index was created automatically using Automatic Tuning option from Azure Portal before this option was turned off on server level:

enter image description here

Any ideas for this issue?

1 Answer 1

1

It may be that you are getting a timeout since the index is in use.

You could try disabling the index before you delete it.

https://learn.microsoft.com/en-us/sql/t-sql/statements/alter-index-transact-sql?view=sql-server-ver15

Sign up to request clarification or add additional context in comments.

1 Comment

That's correct, we found there is running query on the background running for a long time

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.