diff options
author | Thomas Mueller <thomas.mueller@tmit.eu> | 2013-02-12 01:17:01 +0100 |
---|---|---|
committer | Thomas Mueller <thomas.mueller@tmit.eu> | 2013-02-12 01:17:01 +0100 |
commit | bcbf2e667badaae382911f9304d0811b17167af6 (patch) | |
tree | d6bd83e218e01728445f9a445b84721e4c7ec61c /lib/setup.php | |
parent | 98d7e0f7cdaa53b3a8906d1a8f497f237130b44d (diff) | |
download | nextcloud-server-bcbf2e667badaae382911f9304d0811b17167af6.tar.gz nextcloud-server-bcbf2e667badaae382911f9304d0811b17167af6.zip |
fixing sql server syntax for database creation
Diffstat (limited to 'lib/setup.php')
-rw-r--r-- | lib/setup.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/setup.php b/lib/setup.php index 128c53269e8..4a195c3450d 100644 --- a/lib/setup.php +++ b/lib/setup.php @@ -733,7 +733,7 @@ class OC_Setup { } private static function mssql_createDatabase($dbname, $connection) { - $query = "CREATE DATABASE IF NOT EXISTS [".$dbname."];"; + $query = "CREATE DATABASE [".$dbname."];"; $result = sqlsrv_query($connection, $query); if (!$result || $result === false) { if ( ($errors = sqlsrv_errors() ) != null) { |