Modify the SQL script submitted in a data change ticket.
Operation description
You can call this operation only for database instances whose control mode is Security Collaboration.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
dms:ModifyDataCorrectExecSQL |
update |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| OrderId |
integer |
Yes |
The ID of the data change ticket. |
4328**** |
| ExecSQL |
string |
Yes |
The new SQL script. |
update tb set id = 1 where id = 1; |
| Tid |
integer |
No |
The ID of the tenant. You can call the GetUserActiveTenant operation to query the tenant ID. |
4**** |
| RealLoginUserUid |
string |
No |
The UID of the Alibaba Cloud account of the user who calls this operation. |
21400447956867**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| RequestId |
string |
The request ID. |
0C1CB646-1DE4-4AD0-B4A4-7D47DD52**** |
| Success |
boolean |
Indicates whether the request was successful. Valid values:
|
true |
| ErrorMessage |
string |
The error message returned. |
Specified parameter OrderId is not valid. |
| ErrorCode |
string |
The error code returned. |
InvalidOrderId |
Examples
Success response
JSON format
{
"RequestId": "0C1CB646-1DE4-4AD0-B4A4-7D47DD52****",
"Success": true,
"ErrorMessage": "Specified parameter OrderId is not valid.",
"ErrorCode": "InvalidOrderId"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.