Snowflake · Schema

StatementRequest

Request body for submitting a SQL statement for execution.

Data LakesData SharingData WarehousingDatabaseSQL

Properties

Name Type Description
statement string SQL statement or batch of SQL statements to execute. You can specify query, DML and DDL statements. The following statements are not supported: PUT, GET, USE, ALTER SESSION, BEGIN, COMMIT, ROLLBACK, s
timeout integer Timeout in seconds for statement execution. If the execution of a statement takes longer than the specified timeout, the execution is automatically canceled. To set the timeout to the maximum value (6
database string Database in which the statement should be executed. The value in this field is case-sensitive.
schema string Schema in which the statement should be executed. The value in this field is case-sensitive.
warehouse string Warehouse to use when executing the statement. The value in this field is case-sensitive.
role string Role to use when executing the statement. The value in this field is case-sensitive.
bindings object Values of bind variables in the SQL statement. When executing the statement, Snowflake replaces placeholders (? and :name) in the statement with these specified values.
View JSON Schema on GitHub