-- leave subqueries on a single line in order that table prefixes works
INSERT INTO module VALUES ({SGL_NEXT_ID}, 1, 'emailqueue', 'EmailQueue', 'The ''EmailQueue'' module manages a common email queue.', NULL, NULL, 'Peter Termaten', NULL, 'BSD', 'beta');
INSERT INTO permission VALUES ({SGL_NEXT_ID}, 'emailqueuemgr', NULL, (
SELECT max(module_id) FROM module
));
INSERT INTO permission VALUES ({SGL_NEXT_ID}, 'emailqueuemgr_cmd_process', NULL, (
SELECT max(module_id) FROM module
));
Copyright 2K16 - 2K18 Indonesian Hacker Rulez