Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Lehre und Unterricht
Datenbank- und Informations-Systeme
DataEngineering
Commits
03ef07b9
Commit
03ef07b9
authored
May 22, 2020
by
Marcel Huber
Browse files
reversed drop order to be consistent with instructions
parent
49b3ffa2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Databases/dvdstore_500mb/6_dropAllData.monetdb.sql
View file @
03ef07b9
SET
SCHEMA
ds2
;
DROP
TABLE
ds2
.
categories
CASCADE
;
DROP
TABLE
ds2
.
customers
CASCADE
;
DROP
TABLE
ds2
.
inventory
CASCADE
;
DROP
TABLE
ds2
.
orders
CASCADE
;
-- drop tables in reversed order
DROP
TABLE
ds2
.
reorder
CASCADE
;
DROP
TABLE
ds2
.
products
CASCADE
;
DROP
TABLE
ds2
.
cust_hist
CASCADE
;
DROP
TABLE
ds2
.
orders
CASCADE
;
DROP
TABLE
ds2
.
orderlines
CASCADE
;
DROP
TABLE
ds2
.
reorder
CASCADE
;
DROP
TABLE
ds2
.
inventory
CASCADE
;
DROP
TABLE
ds2
.
customers
CASCADE
;
DROP
TABLE
ds2
.
cust_hist
CASCADE
;
DROP
TABLE
ds2
.
categories
CASCADE
;
-- set schema of ds2 user to default
ALTER
USER
"ds2"
SET
SCHEMA
"sys"
;
SET
SCHEMA
sys
;
DROP
SCHEMA
ds2
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment