git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@50874 248e525c-4dfb-0310-94bc-949c084e9493
This commit is contained in:
31
Data/BulkLoad/EFT/Nominations/plsql/install_efnow095b.sql
Normal file
31
Data/BulkLoad/EFT/Nominations/plsql/install_efnow095b.sql
Normal file
@@ -0,0 +1,31 @@
|
||||
DECLARE
|
||||
l_syop_id system_options.syop_id%TYPE;
|
||||
BEGIN
|
||||
INSERT INTO system_options
|
||||
SELECT syop_id_the_parent_of
|
||||
,syop_seq.nextval
|
||||
,option_type
|
||||
,NAME||' (Debug)'
|
||||
,description
|
||||
,'efnow095b$.startup'
|
||||
,NULL
|
||||
,display_seq
|
||||
FROM system_options
|
||||
WHERE module_name = 'efnow095$.startup'
|
||||
AND NOT EXISTS
|
||||
(SELECT NULL FROM system_options WHERE module_name = 'efnow095b$.startup')
|
||||
;
|
||||
--
|
||||
IF SQL%ROWCOUNT > 0 THEN
|
||||
INSERT INTO profile_options
|
||||
(syop_id
|
||||
,sypr_id)
|
||||
SELECT syop_seq.currval
|
||||
,sypr_id
|
||||
FROM profile_options p
|
||||
,system_options s
|
||||
WHERE p.syop_id = s.syop_id
|
||||
AND s.module_name = 'efnow095$.startup';
|
||||
END IF;
|
||||
--
|
||||
END;
|
||||
Reference in New Issue
Block a user