CONN#19119
svn path=/Customer/trunk/; revision=14483
This commit is contained in:
27
CONN/Once/conn#19119.sql
Normal file
27
CONN/Once/conn#19119.sql
Normal file
@@ -0,0 +1,27 @@
|
||||
SET ECHO ON
|
||||
SPOOL xconn19119.lst
|
||||
PROMPT $Revision: 1 $
|
||||
|
||||
UPDATE res_rsv_deel
|
||||
SET res_deel_key = 1
|
||||
WHERE res_deel_key IN (62, 63, 82, 83, 161) AND res_status_bo_key < 6;
|
||||
|
||||
|
||||
UPDATE res_rsv_deel
|
||||
SET res_deel_key = 141
|
||||
WHERE res_deel_key IN (142, 143) AND res_status_bo_key < 6;
|
||||
|
||||
DELETE res_alg_ruimte rar1
|
||||
WHERE rar1.res_alg_ruimte_verwijder IS NOT NULL
|
||||
AND EXISTS
|
||||
(SELECT res_alg_ruimte_key
|
||||
FROM res_alg_ruimte rar2
|
||||
WHERE rar1.res_ruimte_key = rar2.res_ruimte_key
|
||||
AND rar2.res_alg_ruimte_verwijder IS NULL);
|
||||
|
||||
BEGIN adm.systrackscript('$Workfile: conn#19119.sql $', '$Revision: 1 $', 1); END;
|
||||
/
|
||||
|
||||
commit;
|
||||
|
||||
SPOOL OFF
|
||||
Reference in New Issue
Block a user