The Optimize SQL feature depends on SQL Optimizer for SQL Server, which is a separate licensed application and is not included by default with Spotlight on SQL Server.
If SQL Optimizer is not installed on the system, the Optimize SQL functionality will remain unavailable.
To enable the Optimize SQL feature, install SQL Optimizer for SQL Server:
Download SQL Optimizer for SQL Server from the Quest support portal:
https://support.quest.com/sql-optimizer-for-sql-server/
Install the application on the same machine as Spotlight on SQL Server.
Ensure proper licensing is applied to SQL Optimizer.
Restart Spotlight on SQL Server.
Reopen the session and verify that the Optimize SQL option is now enabled.