Skip to main content

statement_exceptions

Creates, updates, deletes, gets or lists a statement_exceptions resource.

Overview

Namestatement_exceptions
TypeResource
Idconfluent.sql.statement_exceptions

Fields

NameDatatypeDescription
namestringName of the SQL statement exception.
kindstringKind defines the object this REST resource represents.
messagestringError message of the statement exception.
timestampstringThe date and time at which the exception occurred. It is represented in RFC3339 format and is in UTC.

Methods

NameAccessible byRequired ParamsDescription
get_sqlv1statement_exceptionsSELECTenvironment_id, organization_id, statement_nameGeneral Availability Retrieve a list of the 10 most recent statement exceptions.

SELECT examples

General Availability Retrieve a list of the 10 most recent statement exceptions.

SELECT
name,
kind,
message,
timestamp
FROM confluent.sql.statement_exceptions
WHERE environment_id = '{{ environment_id }}'
AND organization_id = '{{ organization_id }}'
AND statement_name = '{{ statement_name }}';