表格存储服务 CLOUDTABLE-创建库:样例代码

时间:2025-01-10 15:12:56

样例代码

private void createDatabase(String databaseName, String clusterName) throws Exception  {
          String createDbSql = "create database if not exists " + databaseName + " on cluster " + clusterName;
          util.exeSql(createDbSql);
}
support.huaweicloud.com/devg-cloudtable/cloudtable_01_0343.html