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
Stephane Crozat
apisub
Commits
798efcff
Commit
798efcff
authored
Mar 01, 2021
by
stph
Browse files
Implement semester PL/pgSQL function
parent
d1b96565
Changes
1
Hide whitespace changes
Inline
Side-by-side
sql/apisub_functions.sql
View file @
798efcff
...
...
@@ -88,7 +88,7 @@ BEGIN
IF
m
=
1
OR
m
=
2
OR
m
=
3
THEN
RETURN
'H'
;
/* Summer intersemester is either june or july or august or september */
ELSIF
m
=
6
OR
m
=
7
OR
m
=
3
OR
m
=
9
THEN
ELSIF
m
=
6
OR
m
=
7
OR
m
=
8
OR
m
=
9
THEN
RETURN
'E'
;
ELSE
RETURN
'X'
;
...
...
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