Gets the optimizer statistics advisor execution script for the provided task and execution name.

GET {{baseUrl}}/managedDatabases/:managedDatabaseId/optimizerStatisticsAdvisorExecutions/:executionName/script?taskName=<string>

Gets the Oracle system-generated script for the specified Optimizer Statistics Advisor execution.

Request Params

KeyDatatypeRequiredDescription
taskNamestring(Required) The name of the optimizer statistics collection execution task.

HEADERS

KeyDatatypeRequiredDescription
opc-request-idstringThe client request ID for tracing.
opc-named-credential-idstringThe OCID of the Named Credential.
Acceptstring

RESPONSES

status: OK

{&quot;script&quot;:&quot;\u003cstring\u003e&quot;}