Oracle Error QSM-00791: the specified SQL statement cannot be stored in the workload because is contains unsupported statement type

Oracle Error Message

QSM-00791: the specified SQL statement cannot be stored in the workload because is contains unsupported statement type

Reason for the Error

The user attempted to add a workload statement that contains an invalid statement type. Supported statement types are INSERT, DELETE, UPDATE, SELECT and MERGE.

Solution

Validate the workload statement and retry the operation.