Get SQL statement
get
/database/performance/sql_statements/{sql_id}/text
Returns records from GV$SQL for specified SQL_ID. A client requires SQL Administrator role to invoke this service.
Request
Supported Media Types
- application/json
Path Parameters
-
sql_id: string
SQL identifier.
Response
Supported Media Types
- application/json
200 Response
The text of a specific SQL statement.
Root Schema : PerformanceSQLStatementTextItem
Type:
object
Describes the SQL Statement.
Show Source
-
links(optional):
array links
-
sql_fulltext(optional):
string
Full text for the SQL statement.
-
sql_text(optional):
string
First thousand characters of the SQL text for the current cursor.