Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Gaetan Carabetta
projet_nf17_p19_tdg1_groupe2
Commits
878b1c3a
Commit
878b1c3a
authored
May 30, 2019
by
Oswaldo Aldair Alanis Mayorga
Browse files
Update SQL_OO.sql
parent
bac92576
Changes
1
Show whitespace changes
Inline
Side-by-side
SQL_OO.sql
View file @
878b1c3a
...
@@ -180,3 +180,21 @@ CREATE TABLE Client (
...
@@ -180,3 +180,21 @@ CREATE TABLE Client (
l_animal
ListeRefAnimal
l_animal
ListeRefAnimal
)
NESTED
TABLE
l_animal
STORE
AS
ntAnimaux
;
)
NESTED
TABLE
l_animal
STORE
AS
ntAnimaux
;
/
/
CREATE
TYPE
BODY
esp
IS
MEMBER
FUNCTION
espece_autoriser
(
espece
IN
STRING
)
RETURN
BOOL
IS
res
BOOL
;
esp
e
is
SELECT
especes
.
espece
FROM
Medicament
WHERE
especes
.
espece
=
espece
;
IF
esp
THEN
res
:
=
True
;
ELSE
res
:
=
False
;
END
IF
;
RETURN
res
;
END
;
END
;
/
\ No newline at end of file
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