Queries the result of an SQL review.
Operation description
For more information about the SQL review feature, see SQL review.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
OrderId | long | Yes | The ID of the ticket. You can obtain the ticket ID from the response parameters of the CreateSQLReviewOrder operation. | 123321 |
Tid | long | No | The ID of the tenant. You can call the GetUserActiveTenant or ListUserTenants operation to obtain the ID of the tenant. | 1 |
Response parameters
Examples
Sample success responses
JSON
format
{
"RequestId": "0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931",
"ErrorCode": "UnknownError",
"ErrorMessage": "UnknownError",
"Success": true,
"CheckResultStatus": {
"TotalSQLCount": 10,
"CheckedCount": 10,
"CheckStatusResult": {
"New": 0,
"Unknown": 0,
"CheckNotPass": 1,
"CheckPass": 8,
"ForcePass": 1,
"ForceNotPass": 0
},
"SQLReviewResult": {
"MustImprove": 1,
"PotentialIssue": 0,
"SuggestImprove": 3,
"UseDmsToolkit": 0,
"UseDmsDmlUnlock": 0,
"TableIndexSuggest": 2
}
}
}
Error codes
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation |
---|
No change history