home *** CD-ROM | disk | FTP | other *** search
- Rem
- Rem Grant access to SQL*Menu 5.0 Demo
- Rem
- Rem 17-AUG-90 TKELLEY All statements with &1 from SECURITY.SQL
- Rem
-
- Set termout off
- Set verify off
- Set heading off
- Set echo on
- Set scan on
- Column x newline
- spool security.lis
-
- GRANT SELECT,INSERT,UPDATE,DELETE ON MENU_B_APPL TO &1;
- GRANT SELECT,INSERT,UPDATE,DELETE ON MENU_B_APPL_GRP TO &1;
- GRANT SELECT,INSERT,UPDATE,DELETE ON MENU_B_INFO TO &1;
- GRANT SELECT,INSERT,UPDATE,DELETE ON MENU_B_OPTION TO &1;
- GRANT SELECT,INSERT,UPDATE,DELETE ON MENU_B_PARAM TO &1;
- GRANT SELECT,INSERT,UPDATE,DELETE ON MENU_B_PARM_XREF TO &1;
- GRANT SELECT,INSERT,UPDATE,DELETE ON MENU_B_CIRCLE TO &1;
- GRANT SELECT,INSERT,UPDATE,DELETE ON MENU_B_OBJ_TEXT TO &1;
- GRANT SELECT,INSERT,UPDATE,DELETE ON MENU_B_GROUP TO &1;
- GRANT SELECT,INSERT,UPDATE,DELETE ON MENU_B_GRP_PRIV TO &1;
- GRANT SELECT,INSERT,UPDATE,DELETE ON MENU_B_PRIV TO &1;
- GRANT SELECT,INSERT,UPDATE,DELETE ON MENU_B_USER TO &1;
- GRANT SELECT,INSERT,UPDATE,DELETE ON MENU_B_REF TO &1;
- GRANT SELECT,INSERT,UPDATE,DELETE ON MENU_B_PROCEDURE TO &1;
- GRANT SELECT,INSERT,UPDATE,DELETE ON MENU_V_PROCEDURE TO &1;
- GRANT SELECT,INSERT,UPDATE,DELETE ON MENU_V_APPL TO &1;
- GRANT SELECT,INSERT,UPDATE,DELETE ON MENU_V_APPL_GRP TO &1;
- GRANT SELECT,INSERT,UPDATE,DELETE ON MENU_V_INFO TO &1;
- GRANT SELECT,INSERT,UPDATE,DELETE ON MENU_V_OPTION TO &1;
- GRANT SELECT,INSERT,UPDATE,DELETE ON MENU_V_PARAM TO &1;
- GRANT SELECT,INSERT,UPDATE,DELETE ON MENU_V_PARM_XREF TO &1;
- GRANT SELECT,INSERT,UPDATE,DELETE ON MENU_V_CIRCLE TO &1;
- GRANT SELECT,INSERT,UPDATE,DELETE ON MENU_V_OBJ_TEXT TO &1;
- GRANT SELECT,INSERT,UPDATE,DELETE ON MENU_V_GROUP TO &1;
- GRANT SELECT,INSERT,UPDATE,DELETE ON MENU_V_GRP_PRIV TO &1;
- GRANT SELECT,INSERT,UPDATE,DELETE ON MENU_V_PRIV TO &1;
- GRANT SELECT,INSERT,UPDATE,DELETE ON MENU_V_USER TO &1;
- GRANT SELECT,INSERT,UPDATE,DELETE ON MENU_V_REF TO &1;
- commit;
-
- INSERT INTO MENU_B_USER
- SELECT 'CLERKS', UPPER('&1') FROM DUAL;
- INSERT INTO MENU_B_USER
- SELECT 'MANAGERS', UPPER('&1') FROM DUAL;
- commit;
- exit;