irm-1.6-b3/MDB/Modules/Manager/mssql.php
/**
     * create a new database
     *
     * @param object    $dbs        database object that is extended by this class
     * @param string $name name of the database that should be created
     * @return mixed MDB_OK on success, a MDB error on failure
     * @access public
     */
create a new database
@param object    $dbs        database object that is extended by this class
@param string $name name of the database that should be created
@return mixed MDB_OK on success, a MDB error on failure
@access public
create a new database @param object $dbs database object that is extended by this class @param string $name name of the database that should be created @return mixed MDB_OK on success a MDB error on failure @access public
function createDatabase(&$db, $name)
    {
        $DatabaseDevice = isset($db->options["DatabaseDevice"]) ? $db->options["DatabaseDevice"] : "DEFAULT";
        $DatabaseSize = isset($db->options["DatabaseSize"]) ? ", SIZE=".$db->options["DatabaseSize"] : "";
        return($db->standaloneQuery("CREATE DATABASE $name ON ".$DatabaseDevice.$DatabaseSize));
    }
function createDatabase ( & $ db , $ name ) { $ DatabaseDevice = isset ( $ db -> options [ " DatabaseDevice " ] ) ? $ db -> options [ " DatabaseDevice " ] : " DEFAULT " ; $ DatabaseSize = isset ( $ db -> options [ " DatabaseSize " ] ) ? " , SIZE= " . $ db -> options [ " DatabaseSize " ] : " " ; return ( $ db -> standaloneQuery ( " CREATE DATABASE  $ name  ON  " . $ DatabaseDevice . $ DatabaseSize ) ) ; }
create a new database
 @param object    $dbs        database object that is extended by this class
 @param string $name name of the database that should be created
 @return mixed MDB_OK on success, a MDB error on failure
 @access public
create a new database @param object $dbs database object that is extended by this class @param string $name name of the database that should be created @return mixed MDB_OK on success a MDB error on failure @access public