-
Notifications
You must be signed in to change notification settings - Fork 0
/
droptable.sql
37 lines (34 loc) · 870 Bytes
/
droptable.sql
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
/******************************
** File: DROPTABLE.SQL
** Desc: Fichier contenant les suppressions de tables.
** Auth: AZZOUG AGHILAS
** Date: 10/2020
*******************************/
-- SUPPRESSION DE TABLES
delete TABLE utilisateurs;
delete TABLE emission;
delete TABLE video;
delete TABLE favoris;
delete TABLE types;
delete TABLE follow;
delete TABLE preferences;
delete TABLE historique;
delete TABLE videoArchivee;
delete SEQUENCE seq_utilisateurs;
delete SEQUENCE seq_emission;
delete SEQUENCE seq_video;
delete SEQUENCE seq_type;
-- SUPPRIMER LES CONTENUS
DROP TABLE utilisateurs;
DROP TABLE emission;
DROP TABLE video;
DROP TABLE favoris;
DROP TABLE types;
DROP TABLE follow;
DROP TABLE preferences;
DROP TABLE historique;
DROP TABLE videoArchivee;
DROP SEQUENCE seq_utilisateurs;
DROP SEQUENCE seq_emission;
DROP SEQUENCE seq_video;
DROP SEQUENCE seq_type;