Sign in with Microsoft
Sign in or create an account.
Hello,
Select a different account.
You have multiple accounts
Choose the account you want to sign in with.

Symptoms

In Microsoft Skype for Business Server 2019 or Skype for Business Server 2015, when you try to install new databases by using the Topology Builder or by running the Install-CsDatabase cmdlet, you receive the following error message:

InstallDatabaseInternalFailure: An internal error has occurred while trying to create or update the database.

Error: Error executing batch.

Details: Error creating procedure DbpMaintainDatabaseIndices: sql error code = 137, error message = Must declare the scalar variable "@Maxdop"., line number = LineNumber sql error code = 137, error message = Must declare the scalar variable "@Maxdop"., line number = LineNumber sql error code = 137, error message = Must declare the scalar variable "@Maxdop"., line number = LineNumber sql error code = 137, error message = Must declare the scalar variable "@Maxdop"., line number = LineNumber

Resolution

To fix this issue, install one of the following updates:

Need more help?

Want more options?

Explore subscription benefits, browse training courses, learn how to secure your device, and more.

Communities help you ask and answer questions, give feedback, and hear from experts with rich knowledge.

Was this information helpful?

What affected your experience?
By pressing submit, your feedback will be used to improve Microsoft products and services. Your IT admin will be able to collect this data. Privacy Statement.

Thank you for your feedback!

×