Commit dccff7f2 authored by Osvaldo Valdivia Salas's avatar Osvaldo Valdivia Salas
Browse files

Update Clinique_RO.sql

parent 8d5b8263
...@@ -20,7 +20,7 @@ CREATE OR REPLACE TYPE animal AS OBJECT ( ...@@ -20,7 +20,7 @@ CREATE OR REPLACE TYPE animal AS OBJECT (
dn DATE, dn DATE,
traitements listTraitements NOT NULL, traitements listTraitements NOT NULL,
PRIMARY KEY (id_animal) PRIMARY KEY (id_animal)
) NESTED TABLE listTraitement STORED AS l_traitements; ) NESTED TABLE traitements STORED AS l_traitements;
/ /
CREATE OR REPLACE TYPE listeAnimals AS TABLE OF animal; CREATE OR REPLACE TYPE listeAnimals AS TABLE OF animal;
/ /
...@@ -31,9 +31,9 @@ CREATE OR REPLACE TABLE clients ( ...@@ -31,9 +31,9 @@ CREATE OR REPLACE TABLE clients (
dn DATE NOT NULL, dn DATE NOT NULL,
adresse VARCHAR(50) NOT NULL, adresse VARCHAR(50) NOT NULL,
n_tel NUMBER NOT NULL, n_tel NUMBER NOT NULL,
animal listeAnimals NOT NULL, animals listeAnimals NOT NULL,
PRIMARY KEY(id_client) PRIMARY KEY(id_client)
)NESTED TABLE listeAnimals STORED AS l_animals; )NESTED TABLE animals STORED AS l_animals;
/ /
CREATE OR REPLACE TABLE classeEspece( CREATE OR REPLACE TABLE classeEspece(
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment