svn path=/Database/trunk/; revision=9343
This commit is contained in:
0
MSG/.gitignore
vendored
0
MSG/.gitignore
vendored
7
MSG/MSG_IND.SRC
Normal file
7
MSG/MSG_IND.SRC
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
#ifdef MSG
|
||||||
|
|
||||||
|
/* $Revision: 1 $
|
||||||
|
* $Modtime: 28-11-06 10:15 $
|
||||||
|
*/
|
||||||
|
|
||||||
|
#endif // MSG
|
||||||
9
MSG/MSG_INI.SRC
Normal file
9
MSG/MSG_INI.SRC
Normal 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
7
MSG/MSG_PAC.SRC
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
#ifdef MSG
|
||||||
|
|
||||||
|
/* $Revision: 1 $
|
||||||
|
* $Modtime: 28-11-06 9:57 $
|
||||||
|
*/
|
||||||
|
|
||||||
|
#endif // MSG
|
||||||
9
MSG/MSG_SEQ.SRC
Normal file
9
MSG/MSG_SEQ.SRC
Normal 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
27
MSG/MSG_TAB.SRC
Normal 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
17
MSG/MSG_TRI.SRC
Normal 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
7
MSG/MSG_VIE.SRC
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
#ifdef MSG
|
||||||
|
|
||||||
|
/* $Revision: 1 $
|
||||||
|
* $Modtime: 28-11-06 9:57 $
|
||||||
|
*/
|
||||||
|
|
||||||
|
#endif // MSG
|
||||||
Reference in New Issue
Block a user