Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
OSE
Manage
Activity
Members
Labels
Plan
Wiki
Redmine
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
open-source
OSE
Commits
00f0810f
Commit
00f0810f
authored
Sep 6, 2021
by
Antony Le Courtes
Browse files
Options
Downloads
Patches
Plain Diff
Adaptation SRC_GRADE octopus pour éviter les doublons
parent
0cc70c59
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
doc/Connecteurs-Import/Octopus/SRC_GRADE.sql
+9
-9
9 additions, 9 deletions
doc/Connecteurs-Import/Octopus/SRC_GRADE.sql
with
9 additions
and
9 deletions
doc/Connecteurs-Import/Octopus/SRC_GRADE.sql
+
9
−
9
View file @
00f0810f
CREATE
OR
REPLACE
FORCE
VIEW
SRC_GRADE
AS
SELECT
g
.
lib_court
libelle_court
,
SELECT
g
.
lib_court
libelle_court
,
g
.
lib_long
libelle_long
,
s
.
id
source_id
,
g
.
c_grade
source_code
,
null
echelle
,
--null corps_id
FROM
grade
@
octoprod
g
g
.
c_grade
source_code
FROM
octo
.
grade
@
octoprod
g
JOIN
octo
.
grade_map
@
octoprod
gm
ON
gm
.
grade_id
=
g
.
id
AND
gm
.
c_source
=
'SIHAM'
JOIN
source
s
ON
s
.
code
=
'Octopus'
WHERE
SYSDATE
BETWEEN
COALESCE
(
g
.
d_ouverture
,
SYSDATE
)
AND
COALESCE
(
g
.
d_fermeture
+
1
,
SYSDATE
)
WHERE
SYSDATE
BETWEEN
COALESCE
(
g
.
d_ouverture
,
SYSDATE
)
AND
COALESCE
(
g
.
d_fermeture
+
1
,
SYSDATE
)
AND
histo_destruction
IS
NULL
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment