Error: System.InvalidOperationException

Scenario

You may receive the following error after a Practice CS database update:
Error message
System.InvalidOperationException: Database schema update failed at line 4 of CreativeSolutions.Common.SchemaUpdateTools.SQL.UpdateStatistics.sql: (User does not have permission to perform this action.)

Solution

To resolve this, close Practice CS and re-open.
If you still get the error, re-run Step 2 of the Practice CS Setup and choose the existing SQL instance that includes your Practice CS data.