All Oracle Error CodesOracle DBA Forum

QSM-00766:

a SQL statement is required for the current workload operation
Cause: The user attempted to create an entry in a workload collection without specifying a SQL statement.
Action: Validate the SQL statement and retry the operation.