Commit ea9d0ba6 authored by Bertrand Gauthier's avatar Bertrand Gauthier
Browse files

SQL : ajout création séquence manquante ; suppression "OSE." résiduel.

parent eb8c969d
......@@ -11,6 +11,10 @@ CREATE TABLE SYNC_LOG
/
create sequence SYNC_LOG_ID_SEQ;
/
create or replace PACKAGE UNICAEN_IMPORT AS
PROCEDURE set_current_user(p_current_user IN INTEGER);
......@@ -96,7 +100,7 @@ create or replace PACKAGE BODY UNICAEN_IMPORT AS
PROCEDURE SYNC_LOG( message CLOB, table_name VARCHAR2 DEFAULT NULL, source_code VARCHAR2 DEFAULT NULL ) IS
BEGIN
INSERT INTO OSE.SYNC_LOG("ID","DATE_SYNC","MESSAGE","TABLE_NAME","SOURCE_CODE") VALUES (SYNC_LOG_ID_SEQ.NEXTVAL, SYSDATE, message,table_name,source_code);
INSERT INTO SYNC_LOG("ID","DATE_SYNC","MESSAGE","TABLE_NAME","SOURCE_CODE") VALUES (SYNC_LOG_ID_SEQ.NEXTVAL, SYSDATE, message,table_name,source_code);
END SYNC_LOG;
......
Supports Markdown
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