Merge branch 'master' of https://git.etud.insa-toulouse.fr/rbonnet/tp_bdd2
gvhjbjkl
This commit is contained in:
commit
cb5a0876c0
2 changed files with 32 additions and 20 deletions
12
README.md
12
README.md
|
@ -1,3 +1,15 @@
|
||||||
# tp_bdd2
|
# tp_bdd2
|
||||||
|
|
||||||
Travaux pratique de BDD2
|
Travaux pratique de BDD2
|
||||||
|
|
||||||
|
Comment créer les shemas publics
|
||||||
|
|
||||||
|
``` sql
|
||||||
|
create schema public;
|
||||||
|
```
|
||||||
|
|
||||||
|
comment tout détruire, À NE PAS FAIRE !!!
|
||||||
|
|
||||||
|
``` sql
|
||||||
|
drop owned by bda3_ng_23_log;
|
||||||
|
```
|
||||||
|
|
38
dropall.sql
38
dropall.sql
|
@ -1,19 +1,19 @@
|
||||||
DROP TYPE echelon;
|
DROP TYPE echelon CASCADE;
|
||||||
DROP TYPE grade;
|
DROP TYPE grade CASCADE;
|
||||||
DROP TABLE Personnel;
|
DROP TABLE Personnel CASCADE;
|
||||||
DROP TABLE Doctorant;
|
DROP TABLE Doctorant CASCADE;
|
||||||
DROP TABLE Scientifique;
|
DROP TABLE Scientifique CASCADE;
|
||||||
DROP TABLE Enseignant_Chercheur;
|
DROP TABLE Enseignant_Chercheur CASCADE;
|
||||||
DROP TABLE Evenement;
|
DROP TABLE Evenement CASCADE;
|
||||||
DROP TABLE Congres;
|
DROP TABLE Congres CASCADE;
|
||||||
DROP TABLE Labo_externe;
|
DROP TABLE Labo_externe CASCADE;
|
||||||
DROP TABLE Journee_Porte_Ouvertes;
|
DROP TABLE Journee_Porte_Ouvertes CASCADE;
|
||||||
DROP TABLE Auteur_Externe ;
|
DROP TABLE Auteur_Externe CASCADE;
|
||||||
DROP TABLE Publication ;
|
DROP TABLE Publication CASCADE;
|
||||||
DROP TABLE Participe;
|
DROP TABLE Participe CASCADE;
|
||||||
DROP TABLE Preside;
|
DROP TABLE Preside CASCADE;
|
||||||
DROP TABLE Publie_Scientifique;
|
DROP TABLE Publie_Scientifique CASCADE;
|
||||||
DROP TABLE Publie_Doctorant;
|
DROP TABLE Publie_Doctorant CASCADE;
|
||||||
DROP TABLE Publie_Externe;
|
DROP TABLE Publie_Externe CASCADE;
|
||||||
DROP TABLE Participe_Externe;
|
DROP TABLE Participe_Externe CASCADE;
|
||||||
DROP TABLE Organise ;
|
DROP TABLE Organise CASCADE;
|
||||||
|
|
Loading…
Reference in a new issue