Reference documentation and code samples for the Google Cloud Oracle Database V1 Client class Status.
Status contains all valid statuses a SQL execution can end up in.
Protobuf type google.cloud.oracledatabase.v1.ExecuteSqlMetadata.Status
Namespace
Google \ Cloud \ OracleDatabase \ V1 \ ExecuteSqlMetadataMethods
static::name
| Parameter | |
|---|---|
| Name | Description |
value |
mixed
|
static::value
| Parameter | |
|---|---|
| Name | Description |
name |
mixed
|
Constants
STATUS_UNSPECIFIED
Value: 0Default value. Not returned by the service.
Generated from protobuf enum STATUS_UNSPECIFIED = 0;
OK
Value: 1No error during SQL execution i.e. All SQL statements ran to completion.
The "message" will be empty.
Generated from protobuf enum OK = 1;
PARTIAL
Value: 2Same as OK, except indicates that only partial results were
returned. The "message" field will contain details on why results were
truncated. partial_result is true if and only if status is PARTIAL.
Generated from protobuf enum PARTIAL = 2;
ERROR
Value: 3The database returned an error while executing the SQL statement.
message contains the error text returned by Oracle. sql_results is
empty. The statement runs in autocommit mode; which changes are committed
or rolled back follows Oracle Database behavior. Authentication failures,
database availability errors, network errors, and timeouts are returned
as API errors (AIP-193), not as ERROR.
Generated from protobuf enum ERROR = 3;