This repository has been archived on 2020-04-03. You can view files and clone it, but cannot push or open issues or pull requests.
ibz/db/1_sem/Abo/remove_tables.sql

19 lines
433 B
SQL

-- Removes the tables for the Abo DB
--
-- Author: Andreas Zweili
-- Erstellt: 2017-01-06
-- DB-Server SQL Server 2016
use Abo;
if exists (select * from sysobjects where name='mitglied')
drop table mitglied;
if exists (select * from sysobjects where name='anrede')
drop table anrede;
if exists (select * from sysobjects where name='ort')
drop table ort;
if exists (select * from sysobjects where name='abo')
drop table abo;