Loading doc/Connecteurs Import/Octopus/SRC_OCTO_CORPS.sql→doc/Connecteurs Import/Octopus/SRC_CORPS.sql +2 −2 Changes for doc/Connecteurs Import/Octopus/SRC_CORPS.sql: 2 added lines, 2 removed lines. Original line number Diff line number Diff line CREATE OR REPLACE FORCE VIEW SRC_OCTO_CORPS AS OR REPLACE FORCE VIEW SRC_CORPS AS SELECT c.lib_long libelle_long, c.lib_court libelle_court, s.id source_id, c.c_corps source_code FROM corps@octodev c FROM corps@octoprod c JOIN source s ON s.code = 'Octopus' WHERE SYSDATE BETWEEN COALESCE(c.d_ouverture, SYSDATE) AND COALESCE(c.d_fermeture + 1, SYSDATE) No newline at end of file doc/Connecteurs Import/Octopus/SRC_DEPARTEMENT.sql 0 → 100644 +11 −0 Changes for doc/Connecteurs Import/Octopus/SRC_DEPARTEMENT.sql: 11 added lines, 0 removed lines. Original line number Diff line number Diff line CREATE OR REPLACE FORCE VIEW SRC_DEPARTEMENT AS SELECT LPAD(d.code, 3, 0) code, d.lib_court libelle, s.id source_id, LPAD(d.code, 3, 0) source_code FROM departement@octoprod d JOIN source s ON s.code = 'Octopus' -- Tout sauf les deux anciens code département de mayotte (remplacé par le code 976) WHERE d.code NOT IN ('970', '985') doc/Connecteurs Import/Octopus/SRC_OCTO_GRADE.sql→doc/Connecteurs Import/Octopus/SRC_GRADE.sql +4 −3 Changes for doc/Connecteurs Import/Octopus/SRC_GRADE.sql: 4 added lines, 3 removed lines. Original line number Diff line number Diff line CREATE OR REPLACE FORCE VIEW SRC_OCTO_GRADE AS OR REPLACE FORCE VIEW SRC_GRADE AS 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@octodev g --null corps_id FROM grade@octoprod g JOIN source s ON s.code = 'Octopus' WHERE SYSDATE BETWEEN COALESCE(g.d_ouverture, SYSDATE) AND COALESCE(g.d_fermeture + 1, SYSDATE) doc/Connecteurs Import/Octopus/SRC_OCTO_DEPARTEMENT.sqldeleted 100644 → 0 +0 −9 Changes for doc/Connecteurs Import/Octopus/SRC_OCTO_DEPARTEMENT.sql: 0 added lines, 9 removed lines. Original line number Diff line number Diff line CREATE OR REPLACE FORCE VIEW SRC_OCTO_DEPARTEMENT AS SELECT d.code code, d.lib_court libelle, s.id source_id, d.code source_code FROM departement@octodev d JOIN source s ON s.code = 'Octopus' No newline at end of file doc/Connecteurs Import/Octopus/SRC_OCTO_PAYS.sql→doc/Connecteurs Import/Octopus/SRC_PAYS.sql +6 −3 Changes for doc/Connecteurs Import/Octopus/SRC_PAYS.sql: 6 added lines, 3 removed lines. Original line number Diff line number Diff line CREATE OR REPLACE FORCE VIEW SRC_OCTO_PAYS AS SELECT code_pays code, libelle_court libelle, libelle_long libelle, coalesce(date_ouverture, TO_DATE('1900/01/01', 'YYYY/MM/DD')) validite_debut, date_fermeture validite_fin, 0 temoin_ue, s.id source_id, code_pays source_code FROM pays@octodev p JOIN source s ON s.code = 'Octopus'; No newline at end of file FROM pays@octoprod p JOIN source s ON s.code = 'Octopus' --Filtre sur les codes pays inutiles WHERE p.code_pays NOT IN ('19A', '19B', '$', '#') No newline at end of file Loading
doc/Connecteurs Import/Octopus/SRC_OCTO_CORPS.sql→doc/Connecteurs Import/Octopus/SRC_CORPS.sql +2 −2 Changes for doc/Connecteurs Import/Octopus/SRC_CORPS.sql: 2 added lines, 2 removed lines. Original line number Diff line number Diff line CREATE OR REPLACE FORCE VIEW SRC_OCTO_CORPS AS OR REPLACE FORCE VIEW SRC_CORPS AS SELECT c.lib_long libelle_long, c.lib_court libelle_court, s.id source_id, c.c_corps source_code FROM corps@octodev c FROM corps@octoprod c JOIN source s ON s.code = 'Octopus' WHERE SYSDATE BETWEEN COALESCE(c.d_ouverture, SYSDATE) AND COALESCE(c.d_fermeture + 1, SYSDATE) No newline at end of file
doc/Connecteurs Import/Octopus/SRC_DEPARTEMENT.sql 0 → 100644 +11 −0 Changes for doc/Connecteurs Import/Octopus/SRC_DEPARTEMENT.sql: 11 added lines, 0 removed lines. Original line number Diff line number Diff line CREATE OR REPLACE FORCE VIEW SRC_DEPARTEMENT AS SELECT LPAD(d.code, 3, 0) code, d.lib_court libelle, s.id source_id, LPAD(d.code, 3, 0) source_code FROM departement@octoprod d JOIN source s ON s.code = 'Octopus' -- Tout sauf les deux anciens code département de mayotte (remplacé par le code 976) WHERE d.code NOT IN ('970', '985')
doc/Connecteurs Import/Octopus/SRC_OCTO_GRADE.sql→doc/Connecteurs Import/Octopus/SRC_GRADE.sql +4 −3 Changes for doc/Connecteurs Import/Octopus/SRC_GRADE.sql: 4 added lines, 3 removed lines. Original line number Diff line number Diff line CREATE OR REPLACE FORCE VIEW SRC_OCTO_GRADE AS OR REPLACE FORCE VIEW SRC_GRADE AS 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@octodev g --null corps_id FROM grade@octoprod g JOIN source s ON s.code = 'Octopus' WHERE SYSDATE BETWEEN COALESCE(g.d_ouverture, SYSDATE) AND COALESCE(g.d_fermeture + 1, SYSDATE)
doc/Connecteurs Import/Octopus/SRC_OCTO_DEPARTEMENT.sqldeleted 100644 → 0 +0 −9 Changes for doc/Connecteurs Import/Octopus/SRC_OCTO_DEPARTEMENT.sql: 0 added lines, 9 removed lines. Original line number Diff line number Diff line CREATE OR REPLACE FORCE VIEW SRC_OCTO_DEPARTEMENT AS SELECT d.code code, d.lib_court libelle, s.id source_id, d.code source_code FROM departement@octodev d JOIN source s ON s.code = 'Octopus' No newline at end of file
doc/Connecteurs Import/Octopus/SRC_OCTO_PAYS.sql→doc/Connecteurs Import/Octopus/SRC_PAYS.sql +6 −3 Changes for doc/Connecteurs Import/Octopus/SRC_PAYS.sql: 6 added lines, 3 removed lines. Original line number Diff line number Diff line CREATE OR REPLACE FORCE VIEW SRC_OCTO_PAYS AS SELECT code_pays code, libelle_court libelle, libelle_long libelle, coalesce(date_ouverture, TO_DATE('1900/01/01', 'YYYY/MM/DD')) validite_debut, date_fermeture validite_fin, 0 temoin_ue, s.id source_id, code_pays source_code FROM pays@octodev p JOIN source s ON s.code = 'Octopus'; No newline at end of file FROM pays@octoprod p JOIN source s ON s.code = 'Octopus' --Filtre sur les codes pays inutiles WHERE p.code_pays NOT IN ('19A', '19B', '$', '#') No newline at end of file