svn path=/Database/trunk/; revision=9343

This commit is contained in:
Peter Feij
2006-11-28 08:26:12 +00:00
parent 77ae482013
commit 1c7130b6ac
8 changed files with 83 additions and 0 deletions

0
MSG/.gitignore vendored
View File

7
MSG/MSG_IND.SRC Normal file
View File

@@ -0,0 +1,7 @@
#ifdef MSG
/* $Revision: 1 $
* $Modtime: 28-11-06 10:15 $
*/
#endif // MSG

9
MSG/MSG_INI.SRC Normal file
View File

@@ -0,0 +1,9 @@
#ifdef MSG
/* $Revision: 1 $
* $Modtime: 28-11-06 10:15 $
*/
_FAC_MODULE('MSG','Facilitor Messenger')
#endif // MSG

7
MSG/MSG_PAC.SRC Normal file
View File

@@ -0,0 +1,7 @@
#ifdef MSG
/* $Revision: 1 $
* $Modtime: 28-11-06 9:57 $
*/
#endif // MSG

9
MSG/MSG_SEQ.SRC Normal file
View File

@@ -0,0 +1,9 @@
#ifdef MSG // 28-11-2006 10:01
/* $Revision: 1 $
* $Modtime: 28-11-06 9:56 $
*/
CREATE SEQUENCE msg_s_msg_message_key MINVALUE 1;
#endif // MSG

27
MSG/MSG_TAB.SRC Normal file
View File

@@ -0,0 +1,27 @@
#ifdef MSG // 28-11-2006 9:54
/* $Revision: 1 $
* $Modtime: 28-11-06 9:49 $
*/
#include "comsql.h"
CREATE_TABLE(msg_message, 0)
(
msg_message_key
NUMBER(10) PRIMARY KEY,
prs_perslid_key
NUMBER(10)
REFERENCES prs_perslid(prs_perslid_key) ON DELETE CASCADE,
msg_message_replykey
NUMBER(10)
REFERENCES msg_message(msg_message_key),
msg_message_oms
VARCHAR2(2000),
msg_message_aanmaak
DATE
DEFAULT SYSDATE
);
#endif // MSG

17
MSG/MSG_TRI.SRC Normal file
View File

@@ -0,0 +1,17 @@
#ifdef MSG // 28-11-2006 10:02
/* $Revision: 1 $
* $Modtime: 28-11-06 9:57 $
*/
#include "comsql.h"
CREATE_TRIGGER(msg_t_msg_message_B_IU)
BEFORE INSERT OR UPDATE ON msg_message
FOR EACH ROW
BEGIN
UPDATE_PRIMARY_KEY(msg_message_key, msg_s_msg_message_key);
END;
/
#endif // MSG

7
MSG/MSG_VIE.SRC Normal file
View File

@@ -0,0 +1,7 @@
#ifdef MSG
/* $Revision: 1 $
* $Modtime: 28-11-06 9:57 $
*/
#endif // MSG