Oracle Error QSM-00771: the specified SQL statement cannot be stored in the workload because it has no valid table references

Oracle Error Message

QSM-00771: the specified SQL statement cannot be stored in the workload because it has no valid table references

Reason for the Error

The user attempted to add a workload statement that contains table references that are either system-specified or user-specified invalid tables.

Solution

Validate the workload statement and retry the operation.