All Products
Search
Document Center

Tablestore:Delete mapping tables

Last Updated:Nov 03, 2023

You can execute the DROP MAPPING TABLE statement to delete mapping tables that are created for tables.

Note For more information about the drop mapping table statement, see Delete mapping tables.

Prerequisites

Parameters

Parameter

Description

query

The SQL statement. Specify the parameter based on the required feature.

Example

Execute the drop mapping table test_table statement to delete the mapping table that is created for the table named test_table.

def drop_mapping_table(client):
    query = 'drop mapping table test_table'
    client.exe_sql_query(query)