db_AI-4/sql/sql/setup_04_remove_database.sql
Andreas Zweili 0308f06dae remove unnecessary code
To remove the database it's not needed to remove all tables beforehand.
2017-07-09 19:01:18 +02:00

10 lines
225 B
SQL

-- Removes the tables for the market DB
--
-- Author: Andreas Zweili
-- Erstellt: 2017-05-27
-- DB-Server SQL Server 2016
use master;
if exists (select * from sys.databases where name='marketdb')
drop DATABASE marketdb;