Bir veri değişikliği talebinde gönderilen SQL betiğini değiştirir.
Operation description
Bu API yalnızca kontrol modu Güvenlik İş Birliği olan veritabanı örnekleri için çağrılabilir.
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 |
Veri değişikliği talebinin kimliği. |
4328**** |
| ExecSQL |
string |
Yes |
Yeni SQL betiği. |
update tb set id = 1 where id = 1; |
| Tid |
integer |
No |
Kiracının kimliği. Kiracı kimliğini sorgulamak için GetUserActiveTenant işlemini çağırabilirsiniz. |
4**** |
| RealLoginUserUid |
string |
No |
API'yi fiilen çağıran kullanıcının Alibaba Cloud hesabının UID'si. |
21400447956867**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Yanıt şeması. |
||
| RequestId |
string |
İsteğin kimliği. |
0C1CB646-1DE4-4AD0-B4A4-7D47DD52**** |
| Success |
boolean |
İsteğin başarılı olup olmadığını gösterir. Geçerli değerler:\n\n* true: İstek başarılı oldu.\n* false: İstek başarısız oldu. |
true |
| ErrorMessage |
string |
Döndürülen hata mesajı. |
Specified parameter OrderId is not valid. |
| ErrorCode |
string |
Döndürülen hata kodu. |
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.