Could not get unique fields for table error (SQLServer)

Found with

SQLServer 2008R2

Problem

Licenses will not install, resulting in the following error:

Cause

The underlying cause is a permission problem: "EXECUTE Permission denied on sp_statistics", Active Objects, a database abstraction that is part of JIRA, requires this. Get your DBA to enable this.