All Products
Search
Document Center

Tablestore:SQLStatementType

Last Updated:Sep 22, 2026

SQLStatementType is an enumeration that identifies the type of SQL statement returned by the SQLQuery operation.

Enumeration values

  • SQL_SELECT: the SELECT statement, used to query data.

  • SQL_CREATE_TABLE: the CREATE TABLE statement, used to create a mapping table.

  • SQL_SHOW_TABLE: the SHOW TABLES statement, used to list the table names in the current database.

  • SQL_DESCRIBE_TABLE: the DESCRIBE statement, used to query the description of a table.

  • SQL_DROP_TABLE: the DROP TABLE statement, used to delete a mapping table.

  • SQL_ALTER_TABLE: the ALTER TABLE statement, used to add or remove attribute columns.

enum SQLStatementType {
    SQL_SELECT = 1;
    SQL_CREATE_TABLE = 2;
    SQL_SHOW_TABLE = 3;
    SQL_DESCRIBE_TABLE = 4;
    SQL_DROP_TABLE = 5;
    SQL_ALTER_TABLE = 6;
}

Related operations

SQLQuery