Deze pagina is nog niet beschikbaar in uw eigen taal. We werken er hard aan om meer taalversies toe te voegen. Bedankt voor uw steun.

On this page

Show all

Creating a Database

Updated on 2022-09-14 GMT+08:00
Run the on cluster statement to create a database whose name is the value of databaseName in Table 1 in the cluster.
private void createDatabase(String databaseName, String clusterName) throws Exception  {    
     String createDbSql = "create database if not exists " + databaseName + " on cluster " + clusterName;    
     util.exeSql(createDbSql);
}
Feedback

Feedback

Feedback

0/500

Selected Content

Submit selected content with the feedback