$createDataBase

Creates a database and assigns it to the current branch.
Syntax
    $createDataBase{branch_id}
DocumentationFunction createDataBase creates a new database and assigns it to the current branch:

    Parameters:
      branch_id, an optional parameter to specify the branch the database will be assigned to.
      If no id is specified the database will be assigned to the current branch, the branch whos
      id is returned by calling $getCurrent{b}.
Examples
If the current banch has no database create one:

    $if{$hasDataBase{}}
      {
      $//The current branch has already a database
      $//Trying to create another would cause an exception to be thrown
      }
      {
      $//Create it
      $createDataBase{} $//The same as $createDataBase{$getCurrent{b}}
      }
GroupSQL
Minimum required transaction-mode:UPDATE=SQL_INTERNAL
Required scripting permission of the developerPERMISSION_FL_ADMINISTRATIVE
Minimum parameters0
Maximum parameters 1