All Products
Search
Document Center

Tablestore:SQLStatementType

Last Updated:May 31, 2024

SQLStatementType specifies the type of the SQL statement returned after you call the SQLQuery operation.

Enumeration value list

  • SQL_SELECT: specifies the SELECT statement that is used to query data.

  • SQL_CREATE_TABLE: specifies the CREATE TABLE statement that is used to create a mapping table.

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

  • SQL_DESCRIBE_TABLE: specifies the DESCRIBE statement that is used to query the description of a table.

  • SQL_DROP_TABLE: specifies the DROP TABLE statement that is used to delete a mapping table.

  • SQL_ALTER_TABLE: specifies the ALTER TABLE statement that is 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