通过drop mapping table语句删除表的映射关系。
说明 关于drop mapping table语句的更多信息,请参见删除映射关系。
前提条件
参数
参数 | 说明 |
---|---|
query | SQL语句,请根据所需功能进行设置。 |
示例
使用drop mapping table test_table语句删除test_table表的映射关系。
/// <summary>
/// 删除数据表的映射关系。
/// </summary>
/// <param name="otsClient"></param>
public static void DropMappingTable(OTSClient otsClient)
{
SQLQueryRequest sqlQuery = new SQLQueryRequest("drop mapping table test_table");
SQLQueryResponse sqlQueryResponse = otsClient.SQLQuery(sqlQuery);
}