text
stringlengths
6
9.38M
DROP TABLE IF EXISTS habits; CREATE TABLE habits ( id serial PRIMARY KEY, name varchar(32) NOT NULL UNIQUE, created_on timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP, created_by int NOT NULL, updated_on timestamp, updated_by int );
INSERT INTO bears (name,age,gender,color,temperament,alive) VALUES ('Mr.Chocolate',15,'M','Black','calm',true); INSERT INTO bears (name,age,gender,color,temperament,alive) VALUES ('Rowdy',521,'M','Black','Rowdy',true); INSERT INTO bears (name,age,gender,color,temperament,alive) VALUES ('Tabitha',21,'F','Black','calm',true); INSERT INTO bears (name,age,gender,color,temperament,alive) VALUES ('Sergeant Brown',15,'M','Black','calm',true); INSERT INTO bears (name,age,gender,color,temperament,alive) VALUES ('Melissa',15,'F','Black','calm',true); INSERT INTO bears (name,age,gender,color,temperament,alive) VALUES ('Grinch',141,'M','Green','Angry',true); INSERT INTO bears (name,age,gender,color,temperament,alive) VALUES ('Wendy',141,'F','Brown','calm',true); INSERT INTO bears (name,age,gender,color,temperament,alive) VALUES (NULL,34,'M','Black','dangerous',true);
alter table ctc.it_system_semesters add semester_start_date datetime null alter table ctc.it_system_semesters add semester_end_date datetime null
declare Xml_Dict varchar2(10) := 'XMLSTORE'; Files_Numer number(5,0) := 18000; begin pac_add_customers_data.proc_Read_Bfile(V_Xml_Dict=>Xml_Dict,v_Files_Numer=>Files_Numer); end;
insert into member values (100, 'Amy', 'f',19960507, '01034532584','amy','amy123'); insert into member values (101, 'Bruce', 'm',19970321, '01092847274','bruce','bruce123'); insert into member values (102, 'Crag', 'm',19981013, '01034532583','crag','crag123'); insert into member values (103, 'Katty', 'f',19931116, '01056348900','katty','katty123'); insert into member values (104, 'Grace', 'f',19780930, '01012343848','grace','grace123'); insert into member values (105, 'Kevin', 'm',19780801, '01082736162','kevin','kevin123'); insert into member values (106, 'Connie', 'f',19790101, '01098990011','connie','connie123'); insert into member values (107, 'Sophia', 'f',19990223, '01091726633','sophia','sophia123'); insert into member values (108, 'Olivia', 'f',19940618, '01023634656','olivia','olivia123'); insert into member values (109, 'Noah', 'm',19801217, '01098238495','noah','noah123'); insert into member values (110, 'Lucas', 'm',19551104, '01023005647','lucas','lucas123'); insert into member values (111, 'Mason', 'm',19900706, '01012334723','mason','mason123'); insert into member values (112, 'Caden', 'm',19880302, '01073529399','caden','caden123'); insert into member values (113, 'Logan', 'm',20001223, '01088392038','logan','logan123'); insert into member values (114, 'Emma', 'f',20010719, '01038468900','emma','emma123'); insert into member values (115, 'Mia', 'f',19990206, '01099374625','mia','mia123'); insert into member values (116, 'Isabel', 'm',19690223,'01089362838' ,'isabel','isabel123'); insert into member values (117, 'Riley', 'f',20001108, '01082640173','riley','riley123'); insert into member values (118, 'Jacob', 'm',20031117, '01066452837','jacob','jacob123'); insert into member values (119, 'Chloe', 'f',19980301, '01092737900','chloe','chole123'); INSERT INTO trainer VALUES (1,'Amy','f'); INSERT INTO trainer VALUES (2,'Tom','m'); INSERT INTO trainer VALUES (3,'Jack','m'); INSERT INTO management VALUES (100,2,201210); INSERT INTO management VALUES (100,2,201211); INSERT INTO management VALUES (100,2,201212); INSERT INTO management VALUES (100,2,201213); INSERT INTO management VALUES (100,2,201214); INSERT INTO management VALUES (101,2,201209); INSERT INTO management VALUES (101,2,201211); INSERT INTO management VALUES (101,2,201213); INSERT INTO management VALUES (101,2,201215); INSERT INTO management VALUES (102,1,201203); INSERT INTO management VALUES (102,1,201205); INSERT INTO management VALUES (102,1,201207); INSERT INTO management VALUES (102,1,201209); INSERT INTO management VALUES (102,1,201211); INSERT INTO management VALUES (102,1,201213); INSERT INTO management VALUES (102,1,201215); INSERT INTO management VALUES (103,1,201201); INSERT INTO management VALUES (103,1,201205); INSERT INTO management VALUES (103,1,201209); INSERT INTO management VALUES (104,1,201203); INSERT INTO management VALUES (104,1,201205); INSERT INTO management VALUES (105,3,201210); INSERT INTO management VALUES (106,3,201210); INSERT INTO management VALUES (106,3,201211); INSERT INTO management VALUES (106,3,201214); INSERT INTO management VALUES (107,3,201201); INSERT INTO management VALUES (107,3,201211); INSERT INTO management VALUES (107,2,201213);
CREATE TABLE `XXX_plugin_admin_message` (`plugin_admin_message_id` int(11) NOT NULL auto_increment, PRIMARY KEY (`plugin_admin_message_id`)) ENGINE=MyISAM; ##b_dump## ALTER TABLE `XXX_plugin_admin_message` ADD `plugin_admin_message_email_adressen` TEXT; ##b_dump##
BEGIN external_tables_bl.create_external_tables; END; /
CREATE TABLE [security].[Account] ( [AccountId] SMALLINT NOT NULL IDENTITY (1, 1) , [AccountName] VARCHAR(30) NOT NULL , [Password] VARCHAR(30) NOT NULL , CONSTRAINT PK_Account PRIMARY KEY CLUSTERED ( [AccountId] ) )
CREATE DATABASE agric_hub; \c agric_hub; CREATE TABLE farmers (id serial PRIMARY KEY, name VARCHAR, location VARCHAR, email VARCHAR); CREATE TABLE customers (id serial PRIMARY KEY, name VARCHAR, location VARCHAR, email VARCHAR); CREATE TABLE supplies (id serial PRIMARY KEY, farmerid INTEGER, productid INTEGER, quantity INTEGER, price INTEGER); CREATE TABLE orders (id serial PRIMARY KEY, customerid INTEGER, productid INTEGER, quantity INTEGER, price INTEGER); CREATE TABLE products (id serial PRIMARY KEY, name VARCHAR); CREATE DATABASE agric_hub_test WITH TEMPLATE agric_hub;
-- phpMyAdmin SQL Dump -- version 4.8.0.1 -- https://www.phpmyadmin.net/ -- -- Servidor: 127.0.0.1 -- Tiempo de generación: 12-06-2019 a las 10:03:55 -- Versión del servidor: 10.1.32-MariaDB -- Versión de PHP: 7.0.30 SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; SET AUTOCOMMIT = 0; START TRANSACTION; SET time_zone = "+00:00"; /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; /*!40101 SET NAMES utf8mb4 */; -- -- Base de datos: `mi_db` -- -- -------------------------------------------------------- -- -- Estructura de tabla para la tabla `chistes` -- CREATE TABLE `chistes` ( `id` int(6) NOT NULL, `chiste` varchar(200) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Volcado de datos para la tabla `chistes` -- INSERT INTO `chistes` (`id`, `chiste`) VALUES (1, '¿Qué le menciona una IP a otra? — ¿Qué tramas?'), (2, '¿Qué es un terapeuta? – 1024 Gigapeutas'), (3, '¿Que le habla un bit al otro? Nos vemos en el bus.'), (4, '¿Cuántos programadores hacen falta para cambiar una bombilla? – Ninguno, porque es un problema hardware.'), (5, 'Se abre el telón, aparece un informático y dice: ¡qué habéis tocado que no se cierra el telón!.'), (6, '¿Pero qué haces tirando esos portátiles al río? – ! pero mira como beben los PC,s en el rió!.'), (7, 'Error 0094782: No se detecta ningún teclado pulse una tecla para continuar.'), (8, 'Están 1023 gigabytes en una fiesta, llegan 1048576 más y dicen: ¿Nos hacemos un peta?'), (9, '¿Qué le dice un .GIF a un .JPEG? -Anímate viejo.'), (10, 'No te despedirán del trabajo, si nunca comentas tu código y además eres el único que sabe cómo funciona.'), (11, 'Dos programadores java charlando: «la excepción confirma la regla» «pues si hay una excepción, la capturamos».'), (12, 'La barriga de un programador es directamente proporcional a la cantidad de información que maneja.'), (13, 'Dios es real, a no ser que lo declares como integer.'), (14, 'Dos programadores dialogando sobre sus relaciones con su pareja: Yo tengo un vínculo muy fuerte con mi mujer. Entonces, tienes un hipervínculo?.'), (15, 'Eres un fanático de la computación, ¿cierto?. - Si... mouse o menos.'), (16, 'Intenté enamorar a una programadora, pero no se de Java. - ¿Has probado com Pilar?'), (17, '¿Qué son 8 bocabits? Un bocabyte.'), (18, 'Doctor, doctor, creo que estoy perdiendo la vista, últimamente no distingo los captchas...'), (19, '¿Sabes cuál es el virus mas extendido del mundo?.\r\nEl Sistema Windows.'), (20, '¿QuiénSabeComoArreglarLaBarraEspaciadora?.'); -- -- Índices para tablas volcadas -- -- -- Indices de la tabla `chistes` -- ALTER TABLE `chistes` ADD PRIMARY KEY (`id`); -- -- AUTO_INCREMENT de las tablas volcadas -- -- -- AUTO_INCREMENT de la tabla `chistes` -- ALTER TABLE `chistes` MODIFY `id` int(6) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=21; COMMIT; /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
-- Table: public."HOBBIES" DROP TABLE IF EXISTS public.hobbies CASCADE; CREATE TABLE public.hobbies ( user_id integer NOT NULL, hobby character varying(256) COLLATE pg_catalog."default" NOT NULL, CONSTRAINT user_id FOREIGN KEY (user_id) REFERENCES public.users (id) MATCH SIMPLE ON UPDATE NO ACTION ON DELETE CASCADE ) TABLESPACE pg_default; ALTER TABLE public.hobbies OWNER to me;
DROP TABLE IF EXISTS `booking`; CREATE TABLE IF NOT EXISTS `booking` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `bind` char(50) DEFAULT NULL, `entry` timestamp NULL DEFAULT CURRENT_TIMESTAMP, `author` char(50) DEFAULT 'APP', `status` char(50) DEFAULT 'PENDING', `suite` char(100) DEFAULT NULL, `refid` char(100) DEFAULT NULL, `type` char(100) DEFAULT NULL, `name` char(100) DEFAULT NULL, `email` char(100) DEFAULT NULL, `phone` char(100) DEFAULT NULL, `address` char(100) DEFAULT NULL, `sex` char(100) DEFAULT NULL, `summary` char(200) DEFAULT NULL, `amount` bigint(20) DEFAULT '0', `schedule` datetime DEFAULT NULL, PRIMARY KEY (`id`) USING BTREE, UNIQUE KEY `bind` (`bind`) USING BTREE, KEY `status` (`status`) USING BTREE, KEY `author` (`author`) USING BTREE, KEY `entry` (`entry`) USING BTREE, KEY `title` (`refid`) USING BTREE, KEY `type` (`type`), KEY `suite` (`suite`) USING BTREE ) ENGINE=InnoDB AUTO_INCREMENT=8 DEFAULT CHARSET=latin1 ROW_FORMAT=DYNAMIC; REPLACE INTO `booking` (`id`, `bind`, `entry`, `author`, `status`, `suite`, `refid`, `type`, `name`, `email`, `phone`, `address`, `sex`, `summary`, `amount`, `schedule`) VALUES (1, '476159302832742', '2020-06-24 20:52:07', 'APP', 'PENDING', NULL, '2151', 'SALON', 'Jerry Markus', '', '', '', '', 'Hair Cut', 0, '2020-06-26 09:45:00'), (2, '525159345419957', '2020-06-29 19:09:59', 'APP', 'PENDING', NULL, '1120', 'SALON', 'Samson Emah', '', '', '', '', '', 0, '2020-10-12 09:45:30'), (3, '301159345425314', '2020-06-29 19:10:53', 'APP', 'PENDING', NULL, '3586', 'CLEANING', 'Kingston Larel', '', '', '', '', '', 0, '2020-10-12 09:45:30'), (4, '585159345462292', '2020-06-29 19:17:02', 'APP', 'PENDING', NULL, '5386', 'CLEANING', 'Derik Leventis', 'derik@leventis.co', '09077886251', '', '', 'Cleaning at my apartment', 0, '2020-06-19 09:48:00'), (5, '569159345750752', '2020-06-29 20:05:07', 'APP', 'PENDING', 'Double', '9330', 'ROOM', 'Vincent Marley', 'vincent@marley.com', '09077886253', '', '', 'I need a double for 2 nights', 0, '2020-07-12 10:23:00'), (6, '626159345848987', '2020-06-29 20:21:29', 'APP', 'PENDING', '', '7314', 'ROOM', 'Lion King', 'lion@king.com', '07037841671', '', '', '', 0, '2020-07-02 02:35:00'), (7, '892159345866611', '2020-06-29 20:24:26', 'APP', 'PENDING', 'Executive', '6026', 'ROOM', 'Cresta Juin', '', '', '', '', 'Best of it all', 0, '2020-07-05 09:45:30'); DROP TABLE IF EXISTS `room`; CREATE TABLE IF NOT EXISTS `room` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `bind` char(50) DEFAULT NULL, `entry` timestamp NULL DEFAULT CURRENT_TIMESTAMP, `author` char(50) DEFAULT 'APP', `status` char(50) DEFAULT 'AVAILABLE', `suite` char(100) DEFAULT NULL, `title` char(100) DEFAULT NULL, PRIMARY KEY (`id`), UNIQUE KEY `bind` (`bind`) USING BTREE, UNIQUE KEY `title` (`title`) USING BTREE, KEY `status` (`status`) USING BTREE, KEY `author` (`author`) USING BTREE, KEY `entry` (`entry`) USING BTREE, KEY `suite` (`suite`) ) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=latin1 ROW_FORMAT=DYNAMIC; REPLACE INTO `room` (`id`, `bind`, `entry`, `author`, `status`, `suite`, `title`) VALUES (1, '973159301914232', '2020-06-24 18:19:02', 'APP', 'AVAILABLE', '442159301116415', '202'), (2, '638159302092748', '2020-06-24 18:48:47', 'APP', 'AVAILABLE', '442159301116415', '201'), (3, '556159302093725', '2020-06-24 18:48:57', 'APP', 'AVAILABLE', '442159301116415', '204'), (4, '425159302094494', '2020-06-24 18:49:04', 'APP', 'AVAILABLE', '442159301116415', '207'); DROP TABLE IF EXISTS `suite`; CREATE TABLE IF NOT EXISTS `suite` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `bind` char(50) DEFAULT NULL, `entry` timestamp NULL DEFAULT CURRENT_TIMESTAMP, `author` char(50) DEFAULT 'APP', `status` char(50) DEFAULT 'AVAILABLE', `title` char(100) DEFAULT NULL, `price` bigint(20) DEFAULT '0', `stock` tinyint(5) DEFAULT '0', PRIMARY KEY (`id`), UNIQUE KEY `bind` (`bind`) USING BTREE, UNIQUE KEY `title` (`title`), KEY `status` (`status`), KEY `author` (`author`), KEY `entry` (`entry`) ) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=latin1 ROW_FORMAT=DYNAMIC; REPLACE INTO `suite` (`id`, `bind`, `entry`, `author`, `status`, `title`, `price`, `stock`) VALUES (1, '904159301114463', '2020-06-24 16:05:44', 'APP', 'AVAILABLE', 'Standard', 10000, 0), (2, '442159301116415', '2020-06-24 16:06:04', 'APP', 'AVAILABLE', 'Double', 16000, 4), (3, '790159301645356', '2020-06-24 17:34:13', 'APP', 'AVAILABLE', 'Executive', 31500, 0), (4, '611159346444569', '2020-06-29 22:00:45', 'APP', 'AVAILABLE', 'Single', 8000, 5); DROP TABLE IF EXISTS `user`; CREATE TABLE IF NOT EXISTS `user` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `bind` char(50) DEFAULT NULL, `author` char(50) DEFAULT 'APP', `status` char(50) DEFAULT 'ACTIVE', `entry` timestamp NULL DEFAULT CURRENT_TIMESTAMP, `session` char(100) DEFAULT NULL, `email` char(100) DEFAULT NULL, `phone` char(100) DEFAULT NULL, `username` char(100) DEFAULT NULL, `password` char(100) DEFAULT NULL, `name` char(100) DEFAULT NULL, `type` char(100) DEFAULT NULL, `office` char(100) DEFAULT NULL, `address` char(100) DEFAULT NULL, `sex` char(100) DEFAULT NULL, `birth` date DEFAULT NULL, PRIMARY KEY (`id`), UNIQUE KEY `bind` (`bind`), UNIQUE KEY `email` (`email`), UNIQUE KEY `username` (`username`), UNIQUE KEY `phone` (`phone`), KEY `type` (`type`), KEY `office` (`office`) ) ENGINE=InnoDB AUTO_INCREMENT=21 DEFAULT CHARSET=latin1; REPLACE INTO `user` (`id`, `bind`, `author`, `status`, `entry`, `session`, `email`, `phone`, `username`, `password`, `name`, `type`, `office`, `address`, `sex`, `birth`) VALUES (1, '246368795', 'SELF', 'active', '2020-06-21 22:31:40', NULL, 'odao@vae.com', '09097996048', 'odao', 'onguy', 'ODAO', 'ADMIN', 'ADMIN', NULL, NULL, NULL), (2, '1457580891', 'oAPP', 'active', '2020-06-21 23:23:30', NULL, 'salon@guy.com', '09097996043', 'salon', 'SalonGuy', 'Salon Guy', 'STAFF', 'SALON', NULL, NULL, NULL), (3, '1809771323', 'oAPP', 'active', '2020-06-21 23:26:24', NULL, 'clean@guy.com', '09097996045', 'clean', 'CleanGuy', 'Clean Guy', 'STAFF', 'CLEANING', NULL, NULL, NULL), (4, '448264615', 'oAPP', 'active', '2020-06-21 23:27:40', NULL, 'lounge@guy.com', '09097996047', 'lounge', 'LoungeGuy', 'Lounge Guy', 'STAFF', 'LOUNGE', NULL, NULL, NULL), (5, '946937716', 'oAPP', 'active', '2020-06-21 23:30:30', NULL, 'room@guy.com', '09097996078', 'room', 'RoomGuy', 'Room Guy', 'STAFF', 'ROOM', NULL, NULL, NULL), (6, NULL, 'APP', 'ACTIVE', '2020-06-24 14:27:18', NULL, 'odao@vae24.com', '09097996061', NULL, NULL, 'ODAO VAE', NULL, NULL, NULL, 'male', NULL), (7, NULL, 'APP', 'ACTIVE', '2020-06-24 14:28:13', NULL, 'odao@vae24.co', '09097996051', NULL, NULL, 'ODAO VAE', NULL, NULL, NULL, 'male', NULL), (8, NULL, 'APP', 'ACTIVE', '2020-06-24 14:28:31', NULL, 'odao@vae24.org', '09057996051', NULL, NULL, 'ODAO VAE', NULL, NULL, NULL, 'male', NULL), (10, '159300579486392', 'APP', 'ACTIVE', '2020-06-24 14:36:34', NULL, 'odao@vae24.co.uk', '09057996054', NULL, NULL, 'ODAO VAE', NULL, NULL, NULL, 'male', NULL), (17, '213159300650793', 'APP', 'ACTIVE', '2020-06-24 14:48:27', NULL, 'odao@vae24.ng', '09037996054', NULL, NULL, 'ODAO VAE', NULL, NULL, NULL, 'male', NULL), (18, '502159346846425', 'APP', 'ACTIVE', '2020-06-29 23:07:44', NULL, 'gerrad@merry.com', '', 'gerrad', 'ger203', 'Gerradine Merry', 'staff', 'LOUNGE', NULL, NULL, NULL); DROP TABLE IF EXISTS `_table`; CREATE TABLE IF NOT EXISTS `_table` ( `id` int(11) NOT NULL AUTO_INCREMENT, `bind` char(50) DEFAULT NULL, `author` char(50) DEFAULT 'oAPP', `status` char(20) DEFAULT NULL, `entry` timestamp NULL DEFAULT CURRENT_TIMESTAMP, `Column 5` varchar(100) DEFAULT NULL, PRIMARY KEY (`id`) USING BTREE, UNIQUE KEY `bind` (`bind`) USING BTREE ) ENGINE=InnoDB DEFAULT CHARSET=latin1 ROW_FORMAT=DYNAMIC;
mysql –u<username> -p
/** Payment table **/ CREATE TABLE `payment` ( `id` int(11) unsigned NOT NULL AUTO_INCREMENT, `payment_amount_ex_vat` double(5,2) unsigned zerofill NOT NULL COMMENT 'total payment excluding vat in GBP', `vat_amount` double(5,2) unsigned zerofill NOT NULL COMMENT 'total vat', `gratuity_amount` double(5,2) unsigned NOT NULL DEFAULT '0.00' COMMENT 'tip in GBP', `table_id` int(11) unsigned NOT NULL DEFAULT '1' COMMENT 'table number', `branch_id` int(11) unsigned NOT NULL COMMENT 'restaurant location id', `payment_vendor_id` varchar(55) NOT NULL DEFAULT '' COMMENT 'payment reference', `employee_id` int(11) unsigned NOT NULL COMMENT 'served by', `order_id` int(11) unsigned NOT NULL COMMENT 'order number', `payment_taken_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' COMMENT 'payment transaction timestamp', `terminal_id` int(11) unsigned NOT NULL COMMENT 'payment terminal used', `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00', `card_type_id` int(11) unsigned NOT NULL COMMENT 'from card_types table', PRIMARY KEY (`id`), KEY `table_id` (`table_id`), KEY `branch_id` (`branch_id`), KEY `payment_vendor_id` (`payment_vendor_id`), KEY `employee_id` (`employee_id`), KEY `order_id` (`order_id`), KEY `terminal_id` (`terminal_id`), KEY `card_type_id` (`card_type_id`) ) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=latin1; /** Payment Type table **/ CREATE TABLE `payment_type` ( `id` int(11) unsigned NOT NULL AUTO_INCREMENT, `description` varchar(25) NOT NULL DEFAULT '', PRIMARY KEY (`id`) ) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=latin1; /** Order header table **/ CREATE TABLE `order_header` ( `id` int(11) unsigned NOT NULL AUTO_INCREMENT, `transaction_reference` VARCHAR(45) NULL DEFAULT NULL, `contact_name` VARCHAR(45) NULL DEFAULT NULL, `telephone` VARCHAR(45) NULL DEFAULT NULL, `order_date` TIMESTAMP NULL DEFAULT NULL, `address_status` VARCHAR(45) NULL DEFAULT NULL, `currency` VARCHAR(45) NULL DEFAULT NULL, `special_instructions` TEXT NULL, `order_received` TIMESTAMP NULL DEFAULT NULL, `order_status_id` INT(11) NOT NULL, `branch_id` INT(3) NULL DEFAULT NULL, PRIMARY KEY (`id`), INDEX `transaction_reference` (`transaction_reference`), INDEX `fk_order_header_order_status1_idx` (`order_status_id`), INDEX `branch_id` (`branch_id`) ) COLLATE='latin1_swedish_ci' ENGINE=InnoDB AUTO_INCREMENT=1; /** Branch/Location table */ CREATE TABLE `branch` ( `id` int(11) unsigned NOT NULL AUTO_INCREMENT, `name` VARCHAR(50) NOT NULL, `address1` VARCHAR(60) NOT NULL, `address2` VARCHAR(60) NOT NULL, `Address3` VARCHAR(60) NOT NULL, `town` VARCHAR(30) NOT NULL, `county` VARCHAR(30) NOT NULL, `postcode` VARCHAR(8) NOT NULL, `telephone` VARCHAR(20) NOT NULL, `fax` VARCHAR(20) NOT NULL, `manager_id` SMALLINT(5) UNSIGNED NOT NULL, `assistant_manager_id` SMALLINT(5) UNSIGNED NOT NULL, `latitude` DOUBLE(9,6) NULL DEFAULT NULL, `longitude` DOUBLE(9,6) NULL DEFAULT NULL, `email` VARCHAR(255) NOT NULL, `established` ENUM('Y','N') NOT NULL DEFAULT 'N', PRIMARY KEY (`id`) ) COMMENT='List of Restaurant branches' COLLATE='latin1_swedish_ci' ENGINE=InnoDB ; /** Employees table */ CREATE TABLE `employees` ( `id` int(11) unsigned NOT NULL AUTO_INCREMENT, `created_at` TIMESTAMP NULL DEFAULT NULL, `updated_at` TIMESTAMP NULL DEFAULT NULL, `start_date` TIMESTAMP NULL DEFAULT NULL, `title` VARCHAR(10) NOT NULL, `first_name` VARCHAR(50) NOT NULL, `middle_name` VARCHAR(50) NOT NULL, `last_name` VARCHAR(50) NOT NULL, `dob` DATE NULL DEFAULT NULL, `address1` VARCHAR(50) NULL DEFAULT NULL, `address2` VARCHAR(50) NULL DEFAULT NULL, `address3` VARCHAR(50) NULL DEFAULT NULL, `address4` VARCHAR(50) NULL DEFAULT NULL, `postcode` VARCHAR(20) NULL DEFAULT NULL, `tel` VARCHAR(30) NULL DEFAULT NULL, `mobile` VARCHAR(30) NULL DEFAULT NULL, `contract_type` CHAR(3) NULL DEFAULT NULL, `branch_id` SMALLINT(6) NOT NULL, `job_title` VARCHAR(40) NULL DEFAULT NULL, `job_description` VARCHAR(50) NULL DEFAULT NULL, `leaving_date` DATE NULL DEFAULT NULL, `reason_for_leaving` MEDIUMTEXT NULL, `contract_end_date` DATE NULL DEFAULT '0000-00-00', PRIMARY KEY (`id`), INDEX `branch` (`branch_id`) ) COLLATE='latin1_swedish_ci' ENGINE=InnoDB AUTO_INCREMENT=1 ; /** Order Line table */ CREATE TABLE `order_line` ( `id` int(11) unsigned NOT NULL AUTO_INCREMENT, `order_header_id` INT(11) NOT NULL, `product_id` INT(10) UNSIGNED NOT NULL, `qty` SMALLINT(6) NOT NULL, `title` VARCHAR(45) NOT NULL, `price` DOUBLE(4,2) NOT NULL, `vat_total` DOUBLE(4,2) NOT NULL, `notes` TEXT NULL, PRIMARY KEY (`id`), INDEX `fk_e_order_line_order_header1_idx` (`order_header_id`), INDEX `fk_e_order_line_product1_idx` (`product_id`) ) COLLATE='latin1_swedish_ci' ENGINE=InnoDB AUTO_INCREMENT=1 ;
/* create or replace package pack2 is procedure p2(x in software.DEV_D%type); function f2(y in studies.PNAME%type)return studies.SPLACE%type; end; */ /* create or replace package body pack2 is procedure p2(x in software.DEV_D%type) as cursor s is select*from software where DEV_D=x; t s%rowtype; begin open s; loop fetch s into t; exit when s%notfound; dbms_output.put_line(t.TITLE); end loop; close s; end p2; function f2(y in studies.PNAME%type)return studies.SPLACE%type as r studies.SPLACE%type; begin select SPLACE into r from studies where PNAME=r; return r; end f2; end; */ --EXP-28(***S.KAARTHIKEYA PAVANA KUMAAR -19BQ1A05L5) declare a programmer.pname%type:='Anand'; b software.title%type:='Read Me'; r software.pname%type; begin pack1.p1(a); r:=pack1.f1(b); dbms_output.put_line('pname of given project:'||r); end;
--Fast Method select y.* from ( select extractValue(x.xml, '/*/messageData/uhUuid') uhuuid, x.* from uh_message_queue_t x ) y where y.uhuuid = '15736882'; -- Slow method select * from uh_message_queue_t x where x.xml.getClobVal() like '%15736882%';
-- -- PostgreSQL database dump -- -- Dumped from database version 12.3 -- Dumped by pg_dump version 12.3 SET statement_timeout = 0; SET lock_timeout = 0; SET idle_in_transaction_session_timeout = 0; SET client_encoding = 'UTF8'; SET standard_conforming_strings = on; SELECT pg_catalog.set_config('search_path', '', false); SET check_function_bodies = false; SET xmloption = content; SET client_min_messages = warning; SET row_security = off; -- -- Name: pgcrypto; Type: EXTENSION; Schema: -; Owner: - -- CREATE EXTENSION IF NOT EXISTS pgcrypto WITH SCHEMA public; -- -- Name: EXTENSION pgcrypto; Type: COMMENT; Schema: -; Owner: -- COMMENT ON EXTENSION pgcrypto IS 'cryptographic functions'; SET default_tablespace = ''; SET default_table_access_method = heap; -- -- Name: device_log; Type: TABLE; Schema: public; Owner: postgres -- CREATE TABLE public.device_log ( "deviceId" uuid NOT NULL, "time" timestamp without time zone DEFAULT now() NOT NULL, content jsonb NOT NULL ); ALTER TABLE public.device_log OWNER TO postgres; -- -- Name: tracking_device; Type: TABLE; Schema: public; Owner: postgres -- CREATE TABLE public.tracking_device ( "deviceId" uuid DEFAULT public.gen_random_uuid() NOT NULL, owner uuid NOT NULL ); ALTER TABLE public.tracking_device OWNER TO postgres; -- -- Name: user; Type: TABLE; Schema: public; Owner: postgres -- CREATE TABLE public."user" ( "userId" uuid DEFAULT public.gen_random_uuid() NOT NULL, lastname text NOT NULL, firstname text NOT NULL, phone text, email text, address text, password text NOT NULL ); ALTER TABLE public."user" OWNER TO postgres; -- -- Name: device_log device_log_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres -- ALTER TABLE ONLY public.device_log ADD CONSTRAINT device_log_pkey PRIMARY KEY ("deviceId"); -- -- Name: tracking_device tracking_device_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres -- ALTER TABLE ONLY public.tracking_device ADD CONSTRAINT tracking_device_pkey PRIMARY KEY ("deviceId"); -- -- PostgreSQL database dump complete --
'ELIMINAR BASE DE DATOS' DROP DATABASE inventario; 'CREAR BASE DE DATOS' CREATE DATABASE inventario; 'SELECCIONAR BASE DE DATOS' USE inventario; 'CREAR TABLA DE INVENTARIO' CREATE TABLE IF NOT EXISTS productos ( codigo_producto BIGINT(11) NOT NULL AUTO_INCREMENT, nombre_producto VARCHAR(45) NOT NULL, descripcion VARCHAR(200) NOT NULL, fecha_creacion DATE NOT NULL, cantidad BIGINT NOT NULL, PRIMARY KEY (codigo_producto) ); 'CREAR TABLA USUARIOS' CREATE TABLE IF NOT EXISTS usuarios ( codigo_usuario BIGINT(11) NOT NULL AUTO_INCREMENT, cedula VARCHAR(45) NOT NULL, nombre VARCHAR(200) NOT NULL, alias VARCHAR(200) NOT NULL, correo VARCHAR(200) NOT NULL, clave VARCHAR(200) NOT NULL, fecha_creacion DATE NOT NULL, PRIMARY KEY (codigo_usuario) ); 'USUARIO ADMINISTRADOR' INSERT INTO USUARIOS (cedula, nombre, alias, correo, clave, fecha_creacion) VALUES ('1','administrador','admin','admin@admin.com','admin',NOW()); 'PRECIO' ALTER TABLE productos ADD precio DECIMAL NULL
-- Find the names of all “sales representatives” who work in London. SELECT FirstName, LastName FROM Employees WHERE CITY="London" AND Title="Sales Representative" -- Find the name of the female "sales representative" who work in London and report to the Sales Manager Mr. Steven Buchanan. (Please do not enter any criterion under the "ReportsTo" field when answering this query.) SELECT coalesce(e.FirstName,' ') || " " || coalesce(e.LastName,' ') AS Employee, coalesce(m.FirstName,' ') || " " || coalesce(m.LastName,' ') AS Manager FROM Employees e INNER JOIN Employees m ON e.ReportsTo = m.EmployeeID WHERE e.City="London" AND e.Title="Sales Representative" AND (e.TitleOfCourtesy="Ms." OR e.TitleOfCourtesy="Mrs.") -- Find the names and addresses of all the suppliers which can provide “tofu”. (Note: You should be able to find two companies.) SELECT CompanyName, Address FROM Suppliers INNER JOIN Products ON Suppliers.SupplierID = Products.SupplierID AND Products.ProductName LIKE "%tofu%" -- List the sales for orders shipped to France. SELECT o.OrderID, (od.Quantity * od.UnitPrice * (1-od.Discount)) AS Sales FROM Orders o INNER JOIN OrderDetails od ON o.OrderID = od.OrderID WHERE o.ShipCountry="France" -- Find the products on order from companies based in the UK. SELECT p.ProductName AS ProductOnOrder, s.CompanyName AS Company FROM Products p INNER JOIN Suppliers s ON p.SupplierID = s.SupplierID WHERE p.UnitsOnOrder > 0 AND s.Country = "UK" -- List all the orders taken by the sales representative Anne Dodsworth from the companies based in London along with the unit price and quantity of each order. SELECT coalesce(e.FirstName,' ') || " " || coalesce(e.LastName,' ') AS Employee, o.OrderID, o.OrderDate, s.CompanyName, od.UnitPrice, od.Quantity FROM Orders o INNER JOIN Employees e ON e.EmployeeID = o.EmployeeID INNER JOIN OrderDetails od ON od.OrderID = o.OrderID INNER JOIN Products p ON od.ProductID = p.ProductID INNER JOIN Suppliers s ON p.SupplierID = s.SupplierID WHERE e.FirstName="Anne" AND e.LastName="Dodsworth" AND s.City="London"
CREATE TABLE personas ( id VARCHAR(255) PRIMARY KEY, nombre VARCHAR(255) NOT NULL, apellido VARCHAR(255) NOT NULL, edad INT NOT NULL );
drop table if exists posts; create table posts ( id integer primary key autoincrement, author varchar(40) not null, created date not null, title varchar(140), message text, comments int default 0 ); /* Column names changed to avoid MySQL reserved words. */ insert into posts(author, created, title, message, comments) values ('John', '2016-01-01', "My title", "My message", 0); insert into posts(author, created, title, message, comments) values ('John', '2016-01-01', "My title", "My message", 0); insert into posts(author, created, title, message, comments) values ('John', '2016-01-01', "My title", "My message", 0); insert into posts(author, created, title, message, comments) values ('John', '2016-01-01', "My title", "My message", 0); insert into posts(author, created, title, message, comments) values ('John', '2016-01-01', "My title", "My message", 0); insert into posts(author, created, title, message, comments) values ('John', '2016-01-01', "My title", "My message", 0);
-- phpMyAdmin SQL Dump -- version 4.5.2 -- http://www.phpmyadmin.net -- -- Host: localhost -- Czas generowania: 26 Lut 2016, 23:52 -- Wersja serwera: 5.6.22-log -- Wersja PHP: 5.6.4 SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; SET time_zone = "+00:00"; /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; /*!40101 SET NAMES utf8mb4 */; -- -- Baza danych: `zad8` -- -- -------------------------------------------------------- -- -- Struktura tabeli dla tabeli `dostawa` -- CREATE TABLE `1_dostawa` ( `idds` int(11) NOT NULL, `godz` time DEFAULT NULL, `data` date DEFAULT NULL, `idp` int(11) DEFAULT NULL, `idd` int(11) DEFAULT NULL, `idt` int(11) DEFAULT NULL, `ilosc` int(11) DEFAULT NULL ) ENGINE=MyISAM DEFAULT CHARSET=utf8; -- -- Zrzut danych tabeli `dostawa` -- INSERT INTO `1_dostawa` (`idds`, `godz`, `data`, `idp`, `idd`, `idt`, `ilosc`) VALUES (1, 0x31323a34343a3132, 0x323031352d31322d3034, 1, 1, 1, 11), (2, 0x30393a33333a3534, 0x323031352d31322d3035, 2, 2, 2, 12), (6, 0x30393a32313a3030, 0x323031362d30322d3235, 2, 2, 3, 45); -- -------------------------------------------------------- -- -- Struktura tabeli dla tabeli `dostawca` -- CREATE TABLE `1_dostawca` ( `idd` int(11) NOT NULL, `nazwa` varchar(255) DEFAULT NULL ) ENGINE=MyISAM DEFAULT CHARSET=utf8; -- -- Zrzut danych tabeli `dostawca` -- INSERT INTO `1_dostawca` (`idd`, `nazwa`) VALUES (1, 'Dostawca2'), (2, 'Dostawca2'), (3, 'Dostawca2'), (4, 'Dostawca2'); -- -------------------------------------------------------- -- -- Struktura tabeli dla tabeli `historia_dostaw` -- CREATE TABLE `1_historia_dostaw` ( `idds` int(11) NOT NULL, `godz` time DEFAULT NULL, `data` date DEFAULT NULL, `idp` int(11) DEFAULT NULL, `idd` int(11) DEFAULT NULL, `idt` int(11) DEFAULT NULL, `ilosc` int(11) DEFAULT NULL ) ENGINE=MyISAM DEFAULT CHARSET=utf8; -- -- Zrzut danych tabeli `historia_dostaw` -- INSERT INTO `1_historia_dostaw` (`idds`, `godz`, `data`, `idp`, `idd`, `idt`, `ilosc`) VALUES (4, 0x30373a34353a3433, 0x323031352d31322d3037, 4, 4, 4, 14); -- -------------------------------------------------------- -- -- Struktura tabeli dla tabeli `historia_sprzedazy` -- CREATE TABLE `1_historia_sprzedazy` ( `ids` int(11) NOT NULL, `godz` time DEFAULT NULL, `data` date DEFAULT NULL, `idp` int(11) DEFAULT NULL, `idk` int(11) DEFAULT NULL, `idt` int(11) DEFAULT NULL, `ilosc` int(11) DEFAULT NULL ) ENGINE=MyISAM DEFAULT CHARSET=utf8; -- -- Zrzut danych tabeli `historia_sprzedazy` -- INSERT INTO `1_historia_sprzedazy` (`ids`, `godz`, `data`, `idp`, `idk`, `idt`, `ilosc`) VALUES (5, 0x31363a33373a3030, 0x323031362d30322d3232, 2, 4, 4, 25), (1, 0x31333a33343a3132, 0x323031352d31322d3038, 1, 1, 4, 6); -- -------------------------------------------------------- -- -- Struktura tabeli dla tabeli `klient` -- CREATE TABLE `1_klient` ( `idk` int(11) NOT NULL, `nazwisko` varchar(255) DEFAULT NULL ) ENGINE=MyISAM DEFAULT CHARSET=utf8; -- -- Zrzut danych tabeli `klient` -- INSERT INTO `1_klient` (`idk`, `nazwisko`) VALUES (1, 'Klient1'), (2, 'Klient2'), (4, 'Klient4'); -- -------------------------------------------------------- -- -- Struktura tabeli dla tabeli `pracownik` -- CREATE TABLE `1_pracownik` ( `idp` int(11) NOT NULL, `nazwisko` varchar(255) DEFAULT NULL ) ENGINE=MyISAM DEFAULT CHARSET=utf8; -- -- Zrzut danych tabeli `pracownik` -- INSERT INTO `1_pracownik` (`idp`, `nazwisko`) VALUES (1, 'Pracownik3'), (2, 'Pracownik3'), (3, 'Pracownik3'), (4, 'Pracownik3'), (5, 'Pracownik3'); -- -------------------------------------------------------- -- -- Struktura tabeli dla tabeli `sprzedaz` -- CREATE TABLE `1_sprzedaz` ( `ids` int(11) NOT NULL, `godz` time DEFAULT NULL, `data` date DEFAULT NULL, `idp` int(11) DEFAULT NULL, `idk` int(11) DEFAULT NULL, `idt` int(11) DEFAULT NULL, `ilosc` int(11) DEFAULT NULL ) ENGINE=MyISAM DEFAULT CHARSET=utf8; -- -- Zrzut danych tabeli `sprzedaz` -- INSERT INTO `1_sprzedaz` (`ids`, `godz`, `data`, `idp`, `idk`, `idt`, `ilosc`) VALUES (6, 0x30393a32303a3030, 0x323031362d30322d3235, 3, 2, 2, 10), (2, 0x31303a32333a3534, 0x323031352d31322d3039, 2, 2, 3, 5); -- -------------------------------------------------------- -- -- Struktura tabeli dla tabeli `towar` -- CREATE TABLE `1_towar` ( `idt` int(11) NOT NULL, `nazwa` varchar(255) DEFAULT NULL, `ilosc` int(11) DEFAULT NULL, `cena_zakupu` int(11) DEFAULT NULL, `cena_sprzedazy` int(11) DEFAULT NULL ) ENGINE=MyISAM DEFAULT CHARSET=utf8; -- -- Zrzut danych tabeli `towar` -- INSERT INTO `1_towar` (`idt`, `nazwa`, `ilosc`, `cena_zakupu`, `cena_sprzedazy`) VALUES (1, 'Towar1', 0, 400, 500), (2, 'Towar2', 0, 300, 400), (3, 'Towar3', 0, 200, 300), (4, 'Towar4', 0, 100, 200); -- -- Indeksy dla zrzutów tabel -- -- -- Indexes for table `dostawa` -- ALTER TABLE `1_dostawa` ADD PRIMARY KEY (`idds`), ADD KEY `idp` (`idp`), ADD KEY `idd` (`idd`), ADD KEY `idt` (`idt`); -- -- Indexes for table `dostawca` -- ALTER TABLE `1_dostawca` ADD PRIMARY KEY (`idd`); -- -- Indexes for table `historia_dostaw` -- ALTER TABLE `1_historia_dostaw` ADD PRIMARY KEY (`idds`), ADD KEY `idp` (`idp`), ADD KEY `idd` (`idd`), ADD KEY `idt` (`idt`); -- -- Indexes for table `historia_sprzedazy` -- ALTER TABLE `1_historia_sprzedazy` ADD PRIMARY KEY (`ids`), ADD KEY `idp` (`idp`), ADD KEY `idk` (`idk`), ADD KEY `idt` (`idt`); -- -- Indexes for table `klient` -- ALTER TABLE `1_klient` ADD PRIMARY KEY (`idk`); -- -- Indexes for table `pracownik` -- ALTER TABLE `1_pracownik` ADD PRIMARY KEY (`idp`); -- -- Indexes for table `sprzedaz` -- ALTER TABLE `1_sprzedaz` ADD PRIMARY KEY (`ids`), ADD KEY `idp` (`idp`), ADD KEY `idk` (`idk`), ADD KEY `idt` (`idt`); -- -- Indexes for table `towar` -- ALTER TABLE `1_towar` ADD PRIMARY KEY (`idt`); -- -- AUTO_INCREMENT for dumped tables -- -- -- AUTO_INCREMENT dla tabeli `dostawa` -- ALTER TABLE `1_dostawa` MODIFY `idds` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=7; -- -- AUTO_INCREMENT dla tabeli `dostawca` -- ALTER TABLE `1_dostawca` MODIFY `idd` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=6; -- -- AUTO_INCREMENT dla tabeli `historia_dostaw` -- ALTER TABLE `1_historia_dostaw` MODIFY `idds` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5; -- -- AUTO_INCREMENT dla tabeli `historia_sprzedazy` -- ALTER TABLE `1_historia_sprzedazy` MODIFY `ids` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=6; -- -- AUTO_INCREMENT dla tabeli `klient` -- ALTER TABLE `1_klient` MODIFY `idk` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=6; -- -- AUTO_INCREMENT dla tabeli `pracownik` -- ALTER TABLE `1_pracownik` MODIFY `idp` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=7; -- -- AUTO_INCREMENT dla tabeli `sprzedaz` -- ALTER TABLE `1_sprzedaz` MODIFY `ids` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=7; -- -- AUTO_INCREMENT dla tabeli `towar` -- ALTER TABLE `1_towar` MODIFY `idt` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=6; /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
CREATE TABLE IF NOT EXISTS `funcionario` ( `id` int(11) NOT NULL AUTO_INCREMENT, `name` varchar(100) NOT NULL, `address` varchar(255) NOT NULL, `salary` int(10) NOT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=4 ; -- -- Dumping data for table `employees` -- INSERT INTO `funcionario` (`id`, `name`, `address`, `salary`) VALUES (1, 'Rodrigo Fujioka', 'Rua X, 67, Japan', 1000), (2, 'Oda Nobunaga ', 'Oda, Japan', 1500), (3, 'Hornigold', '25, Ilhas do caribe, Nassau', 4000);
-- 228136 "Family notified of transfer" -- 225410 "Acute rehab" -- 225411 "Patient on vent" -- 225413 "Skilled nursing facility" -- 225414 "Home without services" -- 225415 "Home with services" -- 225416 "Long term care custodial non-Medicare certified" -- 225417 "Assisted living" -- 225418 "VA hospital" -- 225419 "Hospice inpatient" -- 225420 "Hospice home"
select date_trunc('day',occurred_at) as day, count(*) AS metric from benn.fake_fact_events where occurred_at < '2014-06-01' group by 1 order by 1
-- update `hosts` h set h.`host_name` = replace(h.`host_name`, 'centos', '') -- UPDATE `hosts` h SET h.`host_name` = REPLACE(h.`host_name`, 'centos', '') SELECT CONCAT('basic.internal.hadoop.', REPLACE(h.`ipv6`, '.', '-'), '.scloud.letv.com') FROM `hosts` h; UPDATE `hosts` h SET h.`host_name` = CONCAT('basic.internal.hadoop.', REPLACE(h.`ipv6`, '.', '-'), '.scloud.letv.com'), h.`public_host_name` = h.`host_name`
/* Formatted on 21/07/2014 18:34:18 (QP5 v5.227.12220.39754) */ CREATE OR REPLACE FORCE VIEW MCRE_OWN.V_MCRE0_APP_PCR_SC_SB_AGGR ( COD_ABI_ISTITUTO, COD_NDG, VAL_TOT_UTI_CASSA, VAL_TOT_UTI_FIRMA, VAL_TOT_ACC_CASSA, VAL_TOT_ACC_FIRMA, VAL_TOT_GAR, VAL_TOT_DETT_UTI_CASSA_BT, VAL_TOT_DETT_UTI_CASSA_MLT, VAL_TOT_DETT_UTI_SMOBILIZZO, VAL_TOT_DETT_UTI_FIRMA, VAL_TOT_DETT_ACC_CASSA_BT, VAL_TOT_DETT_ACC_CASSA_MLT, VAL_TOT_DETT_ACC_SMOBILIZZO, VAL_TOT_DETT_ACC_FIRMA, DTA_RIFERIMENTO ) AS SELECT -- V1 02/12/2010 VG: Congelata cod_abi_istituto, cod_ndg, SUM ( CASE WHEN cl.cod_classe_appl_cf = 'CA' THEN pcr.val_imp_uti_cli ELSE 0 END) val_tot_uti_cassa, SUM ( CASE WHEN cl.cod_classe_appl_cf = 'FI' THEN pcr.val_imp_uti_cli ELSE 0 END) val_tot_uti_firma, SUM ( CASE WHEN cl.cod_classe_appl_cf = 'CA' THEN pcr.val_imp_acc_cli ELSE 0 END) val_tot_acc_cassa, SUM ( CASE WHEN cl.cod_classe_appl_cf = 'FI' THEN pcr.val_imp_acc_cli ELSE 0 END) val_tot_acc_firma, MAX (val_imp_gar_tot) val_tot_gar, --stesso valore su tutte le Forme Tecniche SUM ( CASE WHEN cl.cod_classe_appl_dett = 'CB' THEN pcr.val_imp_uti_cli ELSE 0 END) val_tot_dett_uti_cassa_bt, SUM ( CASE WHEN cl.cod_classe_appl_dett = 'CM' THEN pcr.val_imp_uti_cli ELSE 0 END) val_tot_dett_uti_cassa_mlt, SUM ( CASE WHEN cl.cod_classe_appl_dett = 'SM' THEN pcr.val_imp_uti_cli ELSE 0 END) val_tot_dett_uti_smobilizzo, SUM ( CASE WHEN cl.cod_classe_appl_dett = 'FI' THEN pcr.val_imp_uti_cli ELSE 0 END) val_tot_dett_uti_firma, SUM ( CASE WHEN cl.cod_classe_appl_dett = 'CB' THEN pcr.val_imp_acc_cli ELSE 0 END) val_tot_dett_acc_cassa_bt, SUM ( CASE WHEN cl.cod_classe_appl_dett = 'CM' THEN pcr.val_imp_acc_cli ELSE 0 END) val_tot_dett_acc_cassa_mlt, SUM ( CASE WHEN cl.cod_classe_appl_dett = 'SM' THEN pcr.val_imp_acc_cli ELSE 0 END) val_tot_dett_acc_smobilizzo, SUM ( CASE WHEN cl.cod_classe_appl_dett = 'FI' THEN pcr.val_imp_acc_cli ELSE 0 END) val_tot_dett_acc_firma, pcr.dta_riferimento --SUM (val_imp_gar_tot) val_tot_gar --------------- FROM t_mcre0_app_pcr_sc_sb pcr INNER JOIN t_mcre0_app_natura_ftecnica cl ON (pcr.cod_forma_tecnica = cl.cod_ftecnica) WHERE pcr.id_dper = (SELECT a.idper FROM v_mcre0_ultima_acquisizione a WHERE a.cod_file = 'PCR_SC_SB') GROUP BY pcr.cod_abi_istituto, pcr.cod_ndg, pcr.dta_riferimento;
-- -- Script was generated by Devart dbForge Studio 2019 for MySQL, Version 8.2.23.0 -- Product home page: http://www.devart.com/dbforge/mysql/studio -- Script date 26.08.2019 1:41:35 -- Server version: 8.0.17 -- Client version: 4.1 -- -- -- Disable foreign keys -- /*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */; -- -- Set SQL mode -- /*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */; -- -- Set default database -- USE students; -- -- Drop table `marks` -- DROP TABLE IF EXISTS marks; -- -- Drop table `student` -- DROP TABLE IF EXISTS student; -- -- Set default database -- USE students; -- -- Create table `student` -- CREATE TABLE student ( student_id INT(11) NOT NULL AUTO_INCREMENT, name VARCHAR(45) DEFAULT NULL, `group` VARCHAR(45) DEFAULT NULL, sex VARCHAR(1) DEFAULT NULL, PRIMARY KEY (student_id) ) ENGINE = INNODB, CHARACTER SET utf8mb4, COLLATE utf8mb4_0900_ai_ci; -- -- Create table `marks` -- CREATE TABLE marks ( mark_id INT(11) NOT NULL AUTO_INCREMENT, subject VARCHAR(45) DEFAULT NULL, mark VARCHAR(45) DEFAULT NULL, student_id INT(11) DEFAULT NULL, PRIMARY KEY (mark_id) ) ENGINE = INNODB, CHARACTER SET utf8mb4, COLLATE utf8mb4_0900_ai_ci; -- -- Create foreign key -- ALTER TABLE marks ADD CONSTRAINT FK_marks_student_id FOREIGN KEY (student_id) REFERENCES student(student_id); -- -- Dumping data for table student -- INSERT INTO student VALUES (1, 'Ivanov', 'first\r\n', 'm'), (2, 'Petrov', 'first', 'm'), (3, 'Sergeev', 'first', 'm'), (4, 'Savina', 'first', 'f'), (5, 'Sidorova', 'first', 'f'), (6, 'Damorov', 'second', 'm'), (7, 'Ramadzhanov', 'second', 'm'), (8, 'Nazarov', 'second', 'm'), (9, 'Damirov', 'second', 'm'), (10, 'Svetikova', 'second', 'f'); -- -- Dumping data for table marks -- INSERT INTO marks VALUES (1, 'java', '3', 1), (2, 'math', '5', 1), (3, 'gaming', '5', 1), (4, 'gym', '4', 1), (5, 'java', '2', 2), (6, 'math', '5', 2), (7, 'gaming', '2', 2), (8, 'gym', '3', 2), (9, 'java', '2', 3), (10, 'math', '5', 3), (11, 'gaming', '3', 3), (12, 'gym', '4', 3), (13, 'java', '3', 4), (14, 'math', '4', 4), (15, 'gaming', '5', 4), (16, 'gym', '5', 4), (17, 'java', '2', 5), (18, 'math', '5', 5), (19, 'gaming', '3', 5), (20, 'gym', '3', 5), (21, 'java', '2', 6), (22, 'math', '2', 6), (23, 'gaming', '2', 6), (24, 'gym', '2', 6), (25, 'java', '4', 7), (26, 'math', '3', 7), (27, 'gaming', '5', 7), (28, 'gym', '2', 7), (29, 'java', '2', 8), (30, 'math', '2', 8), (31, 'gaming', '3', 8), (32, 'gym', '2', 8), (33, 'java', '4', 9), (34, 'math', '4', 9), (35, 'gaming', '5', 9), (36, 'gym', '2', 9), (37, 'java', '3', 10), (38, 'math', '5', 10), (39, 'gaming', '3', 10), (40, 'gym', '5', 10); -- -- Restore previous SQL mode -- /*!40101 SET SQL_MODE=@OLD_SQL_MODE */; -- -- Enable foreign keys -- /*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
-- Drop Table drop table building; drop table photo; drop table photographer; -- Create Table CREATE TABLE building ( id VARCHAR2(100) PRIMARY KEY, name VARCHAR2(100), vertices NUMBER, shape SDO_GEOMETRY ); CREATE TABLE photo ( photoID VARCHAR2(100) PRIMARY KEY, photographerID VARCHAR2(100), shape SDO_GEOMETRY ); CREATE TABLE photographer( photographerID VARCHAR2(100) PRIMARY KEY, shape SDO_GEOMETRY ); -- update the METADATA VIEW -- -- insert into user_sdo_geom_metadata -- (TABLE_NAME,COLUMN_NAME,DIMINFO,SRID) -- values ( -- 'photo', -- 'shape', -- SDO_DIM_ARRAY ( -- 20 x 20 grid -- SDO_DIM_ELEMENT('X', 0, 20, 0.005), -- SDO_DIM_ELEMENT('Y', 0, 20, 0.005) -- ), -- NULL -- SRID -- ); -- insert into user_sdo_geom_metadata -- (TABLE_NAME,COLUMN_NAME,DIMINFO,SRID) -- values ( -- 'building', -- 'shape', -- SDO_DIM_ARRAY ( -- 20 x 20 grid -- SDO_DIM_ELEMENT('X', 0, 20, 0.005), -- SDO_DIM_ELEMENT('Y', 0, 20, 0.005) -- ), -- NULL -- SRID -- ); -- create INDEXES -- create index photo_idx on photo(shape) indextype is MDSYS.SPATIAL_INDEX; create index building_idx on building (shape) indextype is MDSYS.SPATIAL_INDEX; create index photographer_idx on photographer (shape) indextype is MDSYS.SPATIAL_INDEX; -- insert into photo values ('Photo241',' P48',SDO_GEOMETRY(2003,NULL,NULL,SDO_ELEM_INFO_ARRAY(1,1003,1),SDO_ORDINATE_ARRAY(566,244))) -- Insert data test -- insert into building values ( -- 'b1', -- 'ONE', -- 4, -- SDO_GEOMETRY( -- 2003, -- NULL, -- NULL, -- SDO_ELEM_INFO_ARRAY(1,1003,1), -- SDO_ORDINATE_ARRAY(226, 150, 254, 164, 240, 191, 212, 176) -- ) -- ); --@/home/ychen5/h3/createdb.sql
CREATE VIEW VW_MI_NB_PENDENCY (POLICY_NO, SOURCE, LOCATION, BUSINESS, PLAN_CODE, ADVISOR_NAME, FIRM_NAME, OWNER, LIFE_ASSURED, POLICY_STATUS, START_TIME, UPLOAD_TIME, PROPOSAL_SIGN_DATE, PROPOSAL_RECEIVE_DATE, LAST_ACTIVITY, LAST_USER, USER_ACTION_DATE, NTU_DATE, RESUME_DATE, REASON, PEND_PERIOD, AGEING, NO, PROPOSAL_NUMBER, PRODUCT_NAME, STATUS_UW, PENDING_CODE_STATUSR_OR_W, SUM_ASSURED, TOTAL_PREMIUM, AGENT_NUMBER, AGENT_NAME, DISTRIBUTION_CHANNEL, STATUS, REMAIN_TIME, EXC_PARAM_REGION, EXC_PARAM_PERIOD) AS SELECT p."NUMBER" AS POLICY_NO, w.SOURCE AS SOURCE, p.REGION_CODE AS LOCATION, w.LOB AS BUSINESS, 'N/A' AS PLAN_CODE, 'N/A' AS ADVISOR_NAME, c.AGENTNAME AS FIRM_NAME, c.PROPOSALNAME AS OWNER, u.LIFEGIVENNAME AS LIFE_ASSURED, c.CONTRACTSTATUS AS POLICY_STATUS, w.DATE_CREATED AS START_TIME, w.DATE_CREATED AS UPLOAD_TIME, c.PROPOSALSIGNEDDATE AS PROPOSAL_SIGN_DATE, c.PROPOSALRECEIVEDDATE AS PROPOSAL_RECEIVE_DATE, v.TASK_NAME AS LAST_ACTIVITY, v.MODIFIED_BY AS LAST_USER, v.DATE_MODIFIED AS USER_ACTION_DATE, v.NTU_DATE AS NTU_DATE, 'N/A' AS RESUME_DATE, '' AS REASON, 'CALCULATED_FIELD' AS PEND_PERIOD, 'CALCULATED_FIELD' AS AGEING, 'N/A' AS NO, c1.APPLICATIONNO AS PROPOSAL_NUMBER, 'N/A' AS PRODUCT_NAME, v.STATUS AS STATUS_UW, 'N/A' AS PENDING_CODE_STATUSR_OR_W, u.SUMASSURED AS SUM_ASSURED, 'N/A' AS TOTAL_PREMIUM, c.COMMISSIONAGENTNO AS AGENT_NUMBER, c.AGENTNAME AS AGENT_NAME, 'N/A' AS DISTRIBUTION_CHANNEL, w.STATUS AS STATUS, 'N/A' AS REMAIN_TIME, p.REGION_CODE AS EXC_PARAM_REGION, v.DATE_CREATED AS EXC_PARAM_PERIOD FROM CMDEV.PLANS p LEFT JOIN CMDEV.WORKITEMS w ON p."NUMBER" = w.PLAN_ID LEFT JOIN CMDEV.VW_QUEUES_TOP v ON w.ID = v.WORKITEM_ID LEFT JOIN ODSDEV.CONTRACT@ABC_LINK c ON p."NUMBER" = c.POLICYNO LEFT JOIN ODSDEV.CONTRACTSTATUS@ABC_LINK c1 ON c.POLICYNO = c1.POLICYNO LEFT JOIN ODSDEV.UWWORKSHEET@ABC_LINK u ON c1.APPLICATIONNO = u.RECEIPT WHERE w.PROCESS_CODE IN ('NBMP', 'NBALT', 'NBRP', 'NBACK', 'NBWD', 'NBRFD', 'NBROPN', 'NBRR') AND w.STATUS != 'Completed';
/* ---------------------------- -- Tienda de Indumentaria--- ---------------------------- ========= INDEXES ============= */ use db_indumentaria; -- ============== INDICES CLIENTES ============== -- Indice Clientes create index INDEX_clientesApellidoNombre on clientes(apellido,nombre); -- Consulta Indice Clientes show index from clientes; -- Eliminacion Indice Clientes -- drop index INDEX_clientesApellidoNombre on clientes;
INSERT IGNORE INTO concept (document, id, name, description) VALUES (1, 'CM_DiscoveryCode', 'Discovery code', 'Discovery (core) coding scheme '); SELECT @scm := dbid FROM concept WHERE id = 'CM_DiscoveryCode'; INSERT IGNORE INTO concept (document, id, scheme, code, name, description) VALUES -- GENERAL/GLOBAL -- (1, 'CM_Org_BHRUT', @scm, 'CM_Org_BHRUT', 'BHRUT', 'Barking, Havering and Redbridge Univerity Trust'), (1, 'CM_Sys_Medway', @scm, 'CM_Sys_Medway', 'Medway', 'Medway patient administration system'), (1, 'DM_AppointmentType', @scm, 'DM_AppointmentType', 'Appointment type', 'The type of the appointment'), -- Property Only Added 26/8/22 (1, 'DM_ReferringConsultant', @scm, 'DM_ReferringConsultant', 'Referring Consultant', 'The consultant referring the patient to the encounter'), -- Property Only Added 26/8/22 -- MORBIDITY -- (1, 'DM_CauseOfDeath', @scm, 'DM_CauseOfDeath', 'Cause of death - I(a)', 'Disease or condition leading directly to death - MCCD I(a)'), (1, 'DM_CauseOfDeath1b', @scm, 'DM_CauseOfDeath1b', 'Cause of death - I(b)', 'Other disease or condition, if any, leading to I(a) - MCCD I(b)'), (1, 'DM_CauseOfDeath1c', @scm, 'DM_CauseOfDeath1c', 'Cause of death - I(c)', 'Other disease or condition, if any, leading to I(b) - MCCD I(c)'), (1, 'DM_CauseOfDeath2', @scm, 'DM_CauseOfDeath2', 'Contributing to death - II', 'Other significant condition contributing to death but not related to the disease or condition causing it - MCCD II'), (1, 'DM_InfectionStatus', @scm, 'DM_InfectionStatus', 'Infection status', 'Infection status (in cases of repatriation request for example)'), -- ******************** Spells ******************** (1, 'DM_AdmissionWardCode', @scm, 'DM_AdmissionWardCode', 'Admission ward code', 'Ward code where the patient was admitted'), -- Property Only Added 6/6/22 (1, 'DM_DischargeWardCode', @scm, 'DM_DischargeWardCode', 'Discharge ward code', 'Ward code the patient was discharged from'), -- Property Only Added 6/6/22 -- ******************** Episodes ******************** (1, 'DM_EpisodeStartWard', @scm, 'DM_EpisodeStartWard', 'Episode start ward', 'Ward code of the patient at the start of the episode'), -- Property Only Added 6/6/22 (1, 'DM_EpisodeEndWard', @scm, 'DM_EpisodeEndWard', 'Episode end ward', 'Ward code of the patient at the end of the episode') -- Property Only Added 6/6/22 ; -- Context maps INSERT INTO map_context_meta (provider, `system`, `schema`, `table`, `column`, node) VALUES -- ******************** Morbidity ******************** ('CM_Org_BHRUT', 'CM_Sys_Medway', 'MedwayBI', 'PMI', 'CAUSEOFDEATH', '/BHRUT/MDWY/MDWYBI/PMI/CS_DTH'), ('CM_Org_BHRUT', 'CM_Sys_Medway', 'MedwayBI', 'PMI', 'CAUSEOFDEATH 1B', '/BHRUT/MDWY/MDWYBI/PMI/CS_DTH_1B'), ('CM_Org_BHRUT', 'CM_Sys_Medway', 'MedwayBI', 'PMI', 'CAUSEOFDEATH 1c', '/BHRUT/MDWY/MDWYBI/PMI/CS_DTH_1C'), ('CM_Org_BHRUT', 'CM_Sys_Medway', 'MedwayBI', 'PMI', 'CAUSEOFDEATH 2', '/BHRUT/MDWY/MDWYBI/PMI/CS_DTH_2'), ('CM_Org_BHRUT', 'CM_Sys_Medway', 'MedwayBI', 'PMI', 'INFECTION_STATUS', '/BHRUT/MDWY/MDWYBI/PMI/INFCTN_STTS'), -- ******************** Spells ******************** ('CM_Org_BHRUT', 'CM_Sys_Medway', 'MedwayBI', 'Spells', 'patient_class', '/CDS/INPTNT/PTNT_CLSSFCTN'), -- NHS DD ('CM_Org_BHRUT', 'CM_Sys_Medway', 'MedwayBI', 'Spells', 'admission_source_code', '/CDS/INPTNT/ADMSSN_SRC'), -- NHS DD ('CM_Org_BHRUT', 'CM_Sys_Medway', 'MedwayBI', 'Spells', 'admission_method_code', '/CDS/INPTNT/ADMSSN_MTHD'), -- NHS DD ('CM_Org_BHRUT', 'CM_Sys_Medway', 'MedwayBI', 'Spells', 'discharge_method_code', '/CDS/INPTNT/DSCHRG_MTHD'), -- NHS DD ('CM_Org_BHRUT', 'CM_Sys_Medway', 'MedwayBI', 'Spells', 'discharge_destination_code', '/CDS/INPTNT/DSCHRG_DSTNTN'), -- NHS DD ('CM_Org_BHRUT', 'CM_Sys_Medway', 'MedwayBI', 'Spells', 'ADMISSION_WARD_CODE', '/BHRUT/MDWY/MDWYBI/SPLLS/ADMSSN_WRD_CD'), -- Property Only - Added 6/6/22 ('CM_Org_BHRUT', 'CM_Sys_Medway', 'MedwayBI', 'Spells', 'DISCHARGE_WARD_CODE', '/BHRUT/MDWY/MDWYBI/SPLLS/DSCHRG_WRD_CD'), -- Property Only - Added 6/6/22 ('CM_Org_BHRUT', 'CM_Sys_Medway', 'MedwayBI', 'Spells', 'ADMISSION_SPECIALTY_CODE', '/CDS/INPTNT/MN_SPCLTY'), -- NHS DD - Added 26/8/22 -- ******************** Episodes ******************** ('CM_Org_BHRUT', 'CM_Sys_Medway', 'MedwayBI', 'Episodes', 'administrative_category_code', '/CDS/INPTNT/ADMNSTRV_CTGRY'), -- NHS DD ('CM_Org_BHRUT', 'CM_Sys_Medway', 'MedwayBI', 'Episodes', 'EPISODE_START_WARD_CODE', '/BHRUT/MDWY/MDWYBI/EPSDS/EPSD_STRT_WRD'), -- Property Only Added 6/6/22 ('CM_Org_BHRUT', 'CM_Sys_Medway', 'MedwayBI', 'Episodes', 'EPISODE_END_WARD_CODE', '/BHRUT/MDWY/MDWYBI/EPSDS/EPSD_END_WRD'), -- Property Only Added 6/6/22 ('CM_Org_BHRUT', 'CM_Sys_Medway', 'MedwayBI', 'Episodes', 'EPISODE_SPECIALTY_CODE', '/CDS/INPTNT/MN_SPCLTY'), -- NHS DD - Added 26/8/22 -- ******************** Outpatients ******************** ('CM_Org_BHRUT', 'CM_Sys_Medway', 'MedwayBI', 'Outpatients', 'admin_category_code', '/CDS/INPTNT/ADMNSTRV_CTGRY'), -- NHS DD ('CM_Org_BHRUT', 'CM_Sys_Medway', 'MedwayBI', 'Outpatients', 'appointment_status_code', '/CDS/OUTPTNT/APPT_ATTNDD'), -- NHS DD ('CM_Org_BHRUT', 'CM_Sys_Medway', 'MedwayBI', 'Outpatients', 'SPECIALTY_CODE', '/CDS/INPTNT/MN_SPCLTY'), -- NHS DD - Added 26/8/22 -- ******************** Accident & Emergency ******************** ('CM_Org_BHRUT', 'CM_Sys_Medway', 'MedwayBI', 'AandeAttendances', 'arrival_mode', '/BHRUT/MDWY/MDWYBI/EMGCY/ARRVL_MD'), -- Property Only Added 14/6/22 ('CM_Org_BHRUT', 'CM_Sys_Medway', 'MedwayBI', 'AandeAttendances', 'attendance_type', '/BHRUT/MDWY/MDWYBI/EMGCY/ATTNDNC_CTGRY'), -- Property Only Added 14/6/22 ('CM_Org_BHRUT', 'CM_Sys_Medway', 'MedwayBI', 'AandeAttendances', 'referral_source', '/BHRUT/MDWY/MDWYBI/EMGCY/RFRRL_SRC'), -- Property Only Added 14/6/22 ('CM_Org_BHRUT', 'CM_Sys_Medway', 'MedwayBI', 'AandeAttendances', 'recorded_outcome', '/BHRUT/MDWY/MDWYBI/EMGCY/RCRDD_OTCM'), -- Property Only Added 14/6/22 ('CM_Org_BHRUT', 'CM_Sys_Medway', 'MedwayBI', 'AandeAttendances', 'discharge_destination', '/BHRUT/MDWY/MDWYBI/EMGCY/DSCHRG_DSTNTN') -- Property Only Added 14/6/22 ; -- Node maps INSERT INTO map_node_meta (node, concept) VALUES ('/BHRUT/MDWY/MDWYBI/PMI/CS_DTH', 'DM_CauseOfDeath'), ('/BHRUT/MDWY/MDWYBI/PMI/CS_DTH_1B', 'DM_CauseOfDeath1b'), ('/BHRUT/MDWY/MDWYBI/PMI/CS_DTH_1C', 'DM_CauseOfDeath1c'), ('/BHRUT/MDWY/MDWYBI/PMI/CS_DTH_2', 'DM_CauseOfDeath2'), ('/BHRUT/MDWY/MDWYBI/PMI/INFCTN_STTS', 'DM_InfectionStatus'), ('/BHRUT/MDWY/MDWYBI/SPLLS/ADMSSN_WRD_CD', 'DM_AdmissionWardCode'), -- Property Only Added 6/6/22 ('/BHRUT/MDWY/MDWYBI/SPLLS/DSCHRG_WRD_CD', 'DM_DischargeWardCode'), -- Property Only Added 6/6/22 ('/BHRUT/MDWY/MDWYBI/EPSDS/EPSD_STRT_WRD', 'DM_EpisodeStartWard'), -- Property Only Added 6/6/22 ('/BHRUT/MDWY/MDWYBI/EPSDS/EPSD_END_WRD', 'DM_EpisodeEndWard'), -- Property Only Added 6/6/22 ('/BHRUT/MDWY/MDWYBI/EMGCY/ARRVL_MD', 'DM_arrivalMode'), -- Property Only Added 14/6/22 ('/BHRUT/MDWY/MDWYBI/EMGCY/ATTNDNC_CTGRY', 'DM_aeAttendanceCategory'), -- Property Only Added 14/6/22 ('/BHRUT/MDWY/MDWYBI/EMGCY/RFRRL_SRC', 'DM_referralSource'), -- Property Only Added 14/6/22 ('/BHRUT/MDWY/MDWYBI/EMGCY/RCRDD_OTCM', 'DM_hasAttendanceOutcome'), -- Property Only Added 14/6/22 ('/BHRUT/MDWY/MDWYBI/EMGCY/DSCHRG_DSTNTN', 'DM_hasDischargeDestination') -- Property Only Added 14/6/22 ;
alter table Sys_CustomerCredit add C_CustName varChar(50), C_CashBalance Decimal(15,5), C_BillBalance3M Decimal(15,5), C_BillBalance6M Decimal(15,5), C_PrestigeQuota Decimal(15,5), C_TemporBalance Decimal(15,5), C_TemporAmount Decimal(15,5), C_WarningAmount Decimal(15,5), C_TemporTakeEffect Decimal(15,5), C_FailureDate DateTime, DataAreaID varChar(3), C_LSCreditNum varChar(20), C_PrestigeStatus char(1)
--EXEC sprocSuperHeroGet 1 SELECT * FROM SuperPets p JOIN SuperHeroToPets sp ON sp.SuperPetID = p.SuperPetID WHERE p.SuperHeroID = 1 CREATE TABLE SuperHeroToPets ( SuperHeroPetID int IDENTITY(1,1) PRIMARY KEY ,SuperHeroID int NOT NULL ,SuperPetID int NOT NULL ) INSERT INTO SuperHeroToPets (SuperHeroID,SuperPetID) VALUES (1, 1), (2, 2), (3, 3), (3, 4), (1, 5), (2, 6) CREATE TABLE Roles( RoleID int IDENTITY(1,1) PRIMARY KEY ,Name nvarchar(53) NOT NULL ,SuperHeroAdd bit NOT NULL ,SuperHeroEdit bit NOT NULL ,SuperHeroDelete bit NOT NULL ,SuperPetAdd bit NOT NULL ,SuperPetEdit bit NOT NULL ,SuperPetDelete bit NOT NULL ) SET INSERT_IDENTITY ON INSERT INTO Roles (RoleID ,Name ,SuperHeroAdd ,SuperHeroEdit ,SuperHeroDelete ,SuperPetAdd ,SuperPetEdit ,SuperPetDelete) VALUES (1, 'Anonymous',0,0,0,0,0,0) ,(2, 'Data Entry',1,0,0,1,0,0) ,(3, 'Admin',1,1,1,1,1,1) ,(4, 'Power User',1,1,0,1,1,0) SET INSERT_IDENTITY OFF CREATE TABLE Users( UserID int IDENTITY(1,1) PRIMARY KEY ,UserName nvarchar(50) NOT NULL ,RoleID nvarchar(50) NOT NULL ,Salt nvarchar(50) NOT NULL ,Password nvarchar(50) NOT NULL ) INSERT INTO Users(UserName,ROleID,Salt,Password) VALUES ("bob",3,'NU7OqacPNlFCzwfgytskAg==','HbfdqFOoL2qXmOs2QVcC0DwyAHk4GAGzzWlhR/BilPo=') ,("Smidt",2)
CREATE TABLE t_email_queue ( id INT NOT NULL AUTO_INCREMENT, recipient VARCHAR(255) NOT NULL, subject VARCHAR(255) NOT NULL, text TEXT NOT NULL, sent DATETIME, PRIMARY KEY(id) );
select pc.id, pc.reg_number || ' (' || p.last_name || ' ' || p.name || ' ' || p.middle_name || ')' as caption from person p join mis_patient_card pc on p.id = pc.person_id and pc.record_state <> 4 where p.record_state <> 4
-- phpMyAdmin SQL Dump -- version 4.6.6deb4 -- https://www.phpmyadmin.net/ -- -- Host: localhost:3306 -- Tempo de geração: 14/05/2019 às 14:59 -- Versão do servidor: 10.1.38-MariaDB-0+deb9u1 -- Versão do PHP: 7.0.33-0+deb9u3 SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; SET time_zone = "+00:00"; /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; /*!40101 SET NAMES utf8mb4 */; -- -- Banco de dados: `db_farmacia` -- -- -------------------------------------------------------- -- -- Estrutura para tabela `cliente` -- CREATE TABLE `cliente` ( `id` int(11) NOT NULL, `nome` varchar(45) NOT NULL, `sobrenome` varchar(45) NOT NULL, `cpf` varchar(45) NOT NULL, `sexo` varchar(45) NOT NULL, `estado` varchar(45) NOT NULL, `cidade` varchar(45) NOT NULL, `rua` varchar(45) NOT NULL, `tel_celular` varchar(45) NOT NULL, `tel_fixo` varchar(45) DEFAULT NULL, `tel_recado` varchar(45) DEFAULT NULL, `email` varchar(45) DEFAULT NULL, `casa` int(11) DEFAULT '0', `apto` int(11) DEFAULT '0', `foto` varchar(255) DEFAULT NULL, `user` varchar(45) NOT NULL, `senha` varchar(45) NOT NULL, `status` tinyint(1) NOT NULL DEFAULT '1' ) ENGINE=InnoDB DEFAULT CHARSET=utf8; -- -- Fazendo dump de dados para tabela `cliente` -- INSERT INTO `cliente` (`id`, `nome`, `sobrenome`, `cpf`, `sexo`, `estado`, `cidade`, `rua`, `tel_celular`, `tel_fixo`, `tel_recado`, `email`, `casa`, `apto`, `foto`, `user`, `senha`, `status`) VALUES (3, 'douglas', 'silva', '121212', 'Masculino', 'DF', 'Brasília', 'rua 02', '12', '12', '12', '12@etb.com', 12, 0, 'Logo ETB.jpg', 'douglas', '123', 1), (4, 'Victor', 'Manuel', '202020', 'Masculino', 'DF', 'Br', 'Rua 03', '121212', '12121212', '21212', 'etb@etb.com', 12, 0, '01-04-19 Diagramas.asta', 'victor', '123', 1), (5, 'Maria', 'Silva', '1120202', 'Feminino', 'aaaa', 'wwww', 'fsasd', '5555555', '333', '33', 'maria', 1, 2, 'script_db.sql', 'maria', '123', 1), (6, 'João ', 'Vitor', '08288880620', 'Masculino', 'Decadente', 'Taguatinga', '15', '6455455555', '974946141984', '5956232', '6164196wdytwegdiw@gmail.com', 22, 1, 'Koala.jpg', 'joao', 'joao', 1); -- -------------------------------------------------------- -- -- Estrutura para tabela `compra` -- CREATE TABLE `compra` ( `id` int(11) NOT NULL, `data_compra` date NOT NULL, `data_pagamento` date DEFAULT NULL, `data_entrega` date DEFAULT NULL, `usuario_id` int(11) NOT NULL, `fornecedor_id` int(11) DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8; -- -------------------------------------------------------- -- -- Estrutura para tabela `fornecedor` -- CREATE TABLE `fornecedor` ( `id` int(11) NOT NULL, `nome` varchar(45) NOT NULL, `cnpj` varchar(45) NOT NULL, `localizacao` varchar(255) NOT NULL, `logo` varchar(255) DEFAULT NULL, `user` varchar(45) NOT NULL, `senha` varchar(45) NOT NULL, `status` tinyint(1) NOT NULL DEFAULT '1' ) ENGINE=InnoDB DEFAULT CHARSET=utf8; -- -- Fazendo dump de dados para tabela `fornecedor` -- INSERT INTO `fornecedor` (`id`, `nome`, `cnpj`, `localizacao`, `logo`, `user`, `senha`, `status`) VALUES (1, 'douglas', '1212', 'dsds', 'sds', 'sd', 'sd', 1), (3, 'dfhfc', 'fgnjhcfg', 'fgtvh', 'xdfgh', 'admin', 'admin', 1), (4, 'Vítão', 'o + foda', 'minha casa', '+ venenos', 'victor', 'victor', 1); -- -------------------------------------------------------- -- -- Estrutura para tabela `item_compra` -- CREATE TABLE `item_compra` ( `id` bigint(20) NOT NULL, `qtd` double NOT NULL, `valor` double NOT NULL, `medicamento_id` int(11) NOT NULL, `compra_id` int(11) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8; -- -------------------------------------------------------- -- -- Estrutura para tabela `item_venda` -- CREATE TABLE `item_venda` ( `id` bigint(20) NOT NULL, `qtd` double NOT NULL, `valor` double NOT NULL, `venda_id` bigint(20) NOT NULL, `medicamento_id` int(11) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8; -- -- Fazendo dump de dados para tabela `item_venda` -- INSERT INTO `item_venda` (`id`, `qtd`, `valor`, `venda_id`, `medicamento_id`) VALUES (1, 1, 1.9, 1, 9), (2, 3, 1.67, 2, 6), (3, 1, 3.67, 2, 7), (4, 1, 30, 3, 10), (5, 1, 3.67, 3, 7), (6, 1, 34.99, 3, 13), (7, 20, 1.5, 3, 14), (8, 1, 500, 3, 11), (9, 8, 50, 3, 12); -- -------------------------------------------------------- -- -- Estrutura para tabela `medicamento` -- CREATE TABLE `medicamento` ( `id` int(11) NOT NULL, `nome` varchar(45) NOT NULL, `data_fabricacao` date NOT NULL, `data_validade` date NOT NULL, `indicacao` varchar(45) NOT NULL, `precaucoes` varchar(255) NOT NULL, `lote` int(11) NOT NULL, `obs` varchar(255) DEFAULT NULL, `fornecedor_id` int(11) DEFAULT NULL, `preco` double NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8; -- -- Fazendo dump de dados para tabela `medicamento` -- INSERT INTO `medicamento` (`id`, `nome`, `data_fabricacao`, `data_validade`, `indicacao`, `precaucoes`, `lote`, `obs`, `fornecedor_id`, `preco`) VALUES (5, 'Paracetaloka', '2019-05-01', '2019-05-31', 'Uso Pediátrico', 'Manter fora do alcance de crianças de 0-5', 15, '', 1, 2000), (6, 'Dipinona', '2019-05-13', '2019-05-24', 'Uso Pediátrico', 'Nenhuma', 2, '', 1, 1.67), (7, 'AS', '2019-05-13', '2019-05-15', 'Uso Pediátrico', 'Nenhum', 12, '', 1, 3.67), (8, 'Paracetaloka', '2019-05-04', '2019-05-09', 'Uso Adulto', 'Nenhuma', 4, '', 1, 1.56), (9, 'Anador', '2019-05-04', '2019-05-24', 'Uso Pediátrico', 'Nenhuma', 34, '', 1, 1.9), (10, 'Durateston', '2019-03-04', '2020-05-08', 'Uso Adulto', 'Não usar se não quiser crescer', 65660, 'Fika Grandi pourra', 4, 30), (11, 'GH', '2019-05-17', '2020-05-24', 'Uso Adulto', 'Não usar se não quiser crescer ou tiver pré disposição ao câncer.', 21210, 'Cresce e seka', 4, 500), (12, 'Winstrol', '2019-05-16', '2020-08-15', 'Uso Adulto', 'Magrelo não use', 15421, 'Seca gordura', 4, 50), (13, 'Deca Durabolin', '2019-05-09', '2021-09-12', 'Uso Adulto', 'Causa retenção', 5466, 'Bullking', 4, 34.99), (14, 'Seringa', '2019-05-13', '2022-05-14', 'Uso Adulto', 'Objeto perfurante', 1100, 'Usar com cautela', 4, 1.5); -- -------------------------------------------------------- -- -- Estrutura para tabela `menu` -- CREATE TABLE `menu` ( `id` int(11) NOT NULL, `nome` varchar(45) NOT NULL, `link` varchar(100) NOT NULL, `icone` varchar(100) DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8; -- -- Fazendo dump de dados para tabela `menu` -- INSERT INTO `menu` (`id`, `nome`, `link`, `icone`) VALUES (1, 'Início', 'administracao.jsp', 'fa fa-home'), (2, 'Menus', 'menu.jsp', 'fa fa-list'), (3, 'Usuários', 'usuario.jsp', 'fa fa-users'), (4, 'Perfis', 'perfil.jsp', 'fa fa-user'), (5, 'Clientes', 'cliente.jsp', 'fa fa-user-circle'), (6, 'Fornecedores', 'fornecedor.jsp', 'fa fa-truck'), (7, 'Medicamentos', 'medicamento.jsp', 'fa fa-medkit'), (8, 'Vendas', 'venda.jsp', 'fa fa-dollar'); -- -------------------------------------------------------- -- -- Estrutura para tabela `perfil` -- CREATE TABLE `perfil` ( `id` int(11) NOT NULL, `nome` varchar(45) NOT NULL, `descricao` varchar(45) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8; -- -- Fazendo dump de dados para tabela `perfil` -- INSERT INTO `perfil` (`id`, `nome`, `descricao`) VALUES (1, 'Administrador', 'Admin'), (2, 'Gerente', 'Gerente'), (4, 'Caixa', 'Realiza vendas'), (5, 'Farmacêutico', 'Cuida dos medicamentos'); -- -------------------------------------------------------- -- -- Estrutura para tabela `perfil_menu` -- CREATE TABLE `perfil_menu` ( `menu_id` int(11) NOT NULL, `perfil_id` int(11) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8; -- -- Fazendo dump de dados para tabela `perfil_menu` -- INSERT INTO `perfil_menu` (`menu_id`, `perfil_id`) VALUES (1, 1), (1, 2), (1, 4), (1, 5), (2, 1), (3, 1), (4, 1), (5, 1), (5, 4), (6, 1), (6, 2), (7, 1), (7, 5), (8, 1); -- -------------------------------------------------------- -- -- Estrutura para tabela `usuario` -- CREATE TABLE `usuario` ( `id` int(11) NOT NULL, `nome` varchar(255) NOT NULL, `sobrenome` varchar(255) NOT NULL, `data_nasc` date NOT NULL, `cpf` varchar(45) NOT NULL, `sexo` varchar(45) NOT NULL, `pais` varchar(45) NOT NULL, `estado` varchar(45) NOT NULL, `cidade` varchar(45) NOT NULL, `rua` varchar(45) NOT NULL, `user` varchar(45) NOT NULL, `senha` varchar(45) NOT NULL, `status` tinyint(1) NOT NULL DEFAULT '1', `tel_celular` varchar(45) NOT NULL, `tel_fixo` varchar(45) DEFAULT NULL, `tel_recado` varchar(45) DEFAULT NULL, `email` varchar(45) DEFAULT NULL, `foto` varchar(255) DEFAULT NULL, `apto` int(11) DEFAULT '0', `casa` int(11) DEFAULT '0', `perfil_id` int(11) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8; -- -- Fazendo dump de dados para tabela `usuario` -- INSERT INTO `usuario` (`id`, `nome`, `sobrenome`, `data_nasc`, `cpf`, `sexo`, `pais`, `estado`, `cidade`, `rua`, `user`, `senha`, `status`, `tel_celular`, `tel_fixo`, `tel_recado`, `email`, `foto`, `apto`, `casa`, `perfil_id`) VALUES (1, 'Douglas', 'Silva', '2000-02-02', '123', 'Masculino', 'BR', 'DF', 'Brasília', 'Rua 01', 'admin', 'admin', 1, '1212', '1212', '1212', '1212', '1212', 1212, 1212, 1), (2, 'Wesley', 'Martins', '2019-04-01', '1212', 'Masculino', 'BR', 'DF', 'MER.mwb.bak', 'Rua 02', 'wesley.martins', '123', 1, '1212', '1212', '1212', '121212', 'MER.mwb.bak', 0, 12, 2), (3, 'Victor', 'Gostosão', '2001-03-04', '08286644410', 'Masculino', 'Brasil', 'Safadão', 'Taguatinga', '19', 'victor', 'victor', 1, '(61)99823-2034', '(61)3333-2298', '(61)99823-2034', 'victormrp.pereira@gmail.com', 'Jellyfish.jpg', 17, 26, 2); -- -------------------------------------------------------- -- -- Estrutura para tabela `venda` -- CREATE TABLE `venda` ( `id` bigint(20) NOT NULL, `data_venda` date NOT NULL, `data_pagamento` date DEFAULT NULL, `data_entrega` date DEFAULT NULL, `usuario_id` int(11) NOT NULL, `cliente_id` int(11) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8; -- -- Fazendo dump de dados para tabela `venda` -- INSERT INTO `venda` (`id`, `data_venda`, `data_pagamento`, `data_entrega`, `usuario_id`, `cliente_id`) VALUES (1, '2019-05-13', '2019-05-13', NULL, 1, 3), (2, '2019-05-13', '2019-05-13', '2019-05-13', 1, 5), (3, '2019-05-13', NULL, NULL, 1, 4); -- -- Índices de tabelas apagadas -- -- -- Índices de tabela `cliente` -- ALTER TABLE `cliente` ADD PRIMARY KEY (`id`); -- -- Índices de tabela `compra` -- ALTER TABLE `compra` ADD PRIMARY KEY (`id`), ADD KEY `fk_compra_usuario1_idx` (`usuario_id`), ADD KEY `fk_compra_fornecedor1_idx` (`fornecedor_id`); -- -- Índices de tabela `fornecedor` -- ALTER TABLE `fornecedor` ADD PRIMARY KEY (`id`); -- -- Índices de tabela `item_compra` -- ALTER TABLE `item_compra` ADD PRIMARY KEY (`id`), ADD KEY `fk_item_compra_medicamento1_idx` (`medicamento_id`), ADD KEY `fk_item_compra_compra1_idx` (`compra_id`); -- -- Índices de tabela `item_venda` -- ALTER TABLE `item_venda` ADD PRIMARY KEY (`id`), ADD KEY `fk_item_venda_venda1_idx` (`venda_id`), ADD KEY `fk_item_venda_medicamento1_idx` (`medicamento_id`); -- -- Índices de tabela `medicamento` -- ALTER TABLE `medicamento` ADD PRIMARY KEY (`id`), ADD KEY `fk_Medicamento_Fornecedor1_idx` (`fornecedor_id`); -- -- Índices de tabela `menu` -- ALTER TABLE `menu` ADD PRIMARY KEY (`id`); -- -- Índices de tabela `perfil` -- ALTER TABLE `perfil` ADD PRIMARY KEY (`id`); -- -- Índices de tabela `perfil_menu` -- ALTER TABLE `perfil_menu` ADD PRIMARY KEY (`menu_id`,`perfil_id`), ADD KEY `fk_Menu_has_Perfil_Perfil1_idx` (`perfil_id`), ADD KEY `fk_Menu_has_Perfil_Menu1_idx` (`menu_id`); -- -- Índices de tabela `usuario` -- ALTER TABLE `usuario` ADD PRIMARY KEY (`id`), ADD KEY `fk_Usuario_Perfil1_idx` (`perfil_id`); -- -- Índices de tabela `venda` -- ALTER TABLE `venda` ADD PRIMARY KEY (`id`), ADD KEY `fk_venda_usuario1_idx` (`usuario_id`), ADD KEY `fk_venda_cliente1_idx` (`cliente_id`); -- -- AUTO_INCREMENT de tabelas apagadas -- -- -- AUTO_INCREMENT de tabela `cliente` -- ALTER TABLE `cliente` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=7; -- -- AUTO_INCREMENT de tabela `compra` -- ALTER TABLE `compra` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT; -- -- AUTO_INCREMENT de tabela `fornecedor` -- ALTER TABLE `fornecedor` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5; -- -- AUTO_INCREMENT de tabela `item_compra` -- ALTER TABLE `item_compra` MODIFY `id` bigint(20) NOT NULL AUTO_INCREMENT; -- -- AUTO_INCREMENT de tabela `item_venda` -- ALTER TABLE `item_venda` MODIFY `id` bigint(20) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=10; -- -- AUTO_INCREMENT de tabela `medicamento` -- ALTER TABLE `medicamento` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=15; -- -- AUTO_INCREMENT de tabela `menu` -- ALTER TABLE `menu` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=9; -- -- AUTO_INCREMENT de tabela `perfil` -- ALTER TABLE `perfil` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=6; -- -- AUTO_INCREMENT de tabela `usuario` -- ALTER TABLE `usuario` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4; -- -- AUTO_INCREMENT de tabela `venda` -- ALTER TABLE `venda` MODIFY `id` bigint(20) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4; -- -- Restrições para dumps de tabelas -- -- -- Restrições para tabelas `compra` -- ALTER TABLE `compra` ADD CONSTRAINT `fk_compra_fornecedor1` FOREIGN KEY (`fornecedor_id`) REFERENCES `fornecedor` (`id`) ON DELETE NO ACTION ON UPDATE NO ACTION, ADD CONSTRAINT `fk_compra_usuario1` FOREIGN KEY (`usuario_id`) REFERENCES `usuario` (`id`) ON DELETE NO ACTION ON UPDATE NO ACTION; -- -- Restrições para tabelas `item_compra` -- ALTER TABLE `item_compra` ADD CONSTRAINT `fk_item_compra_compra1` FOREIGN KEY (`compra_id`) REFERENCES `compra` (`id`) ON DELETE NO ACTION ON UPDATE NO ACTION, ADD CONSTRAINT `fk_item_compra_medicamento1` FOREIGN KEY (`medicamento_id`) REFERENCES `medicamento` (`id`) ON DELETE NO ACTION ON UPDATE NO ACTION; -- -- Restrições para tabelas `item_venda` -- ALTER TABLE `item_venda` ADD CONSTRAINT `fk_item_venda_medicamento1` FOREIGN KEY (`medicamento_id`) REFERENCES `medicamento` (`id`) ON DELETE NO ACTION ON UPDATE NO ACTION, ADD CONSTRAINT `fk_item_venda_venda1` FOREIGN KEY (`venda_id`) REFERENCES `venda` (`id`) ON DELETE NO ACTION ON UPDATE NO ACTION; -- -- Restrições para tabelas `medicamento` -- ALTER TABLE `medicamento` ADD CONSTRAINT `fk_Medicamento_Fornecedor1` FOREIGN KEY (`fornecedor_id`) REFERENCES `fornecedor` (`id`); -- -- Restrições para tabelas `perfil_menu` -- ALTER TABLE `perfil_menu` ADD CONSTRAINT `fk_Menu_has_Perfil_Menu1` FOREIGN KEY (`menu_id`) REFERENCES `menu` (`id`), ADD CONSTRAINT `fk_Menu_has_Perfil_Perfil1` FOREIGN KEY (`perfil_id`) REFERENCES `perfil` (`id`); -- -- Restrições para tabelas `usuario` -- ALTER TABLE `usuario` ADD CONSTRAINT `fk_Usuario_Perfil1` FOREIGN KEY (`perfil_id`) REFERENCES `perfil` (`id`); -- -- Restrições para tabelas `venda` -- ALTER TABLE `venda` ADD CONSTRAINT `fk_venda_cliente1` FOREIGN KEY (`cliente_id`) REFERENCES `cliente` (`id`) ON DELETE NO ACTION ON UPDATE NO ACTION, ADD CONSTRAINT `fk_venda_usuario1` FOREIGN KEY (`usuario_id`) REFERENCES `usuario` (`id`) ON DELETE NO ACTION ON UPDATE NO ACTION; /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
USE lab_mysql; SELECT * FROM car; DELETE FROM car WHERE manufacturer = 'Volvo' AND car_ID = 6 ;
-- MySQL dump 10.13 Distrib 5.7.27, for Win64 (x86_64) -- -- Host: 127.0.0.1 Database: dbcad -- ------------------------------------------------------ -- Server version 5.5.5-10.4.6-MariaDB /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; /*!40101 SET NAMES utf8 */; /*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */; /*!40103 SET TIME_ZONE='+00:00' */; /*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */; /*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */; /*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */; /*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */; -- -- Table structure for table `tb_clientes` -- DROP TABLE IF EXISTS `tb_clientes`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `tb_clientes` ( `id_cliente` int(11) NOT NULL AUTO_INCREMENT, `nome_cliente` varchar(30) NOT NULL, `end_cliente` varchar(100) DEFAULT NULL, `fone_cliente` varchar(50) NOT NULL, `email_cliente` varchar(50) DEFAULT NULL, `cidade` varchar(30) DEFAULT NULL, `estado` varchar(20) DEFAULT NULL, `uf` varchar(2) DEFAULT NULL, `cep` varchar(10) DEFAULT NULL, PRIMARY KEY (`id_cliente`) ) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=latin1; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `tb_clientes` -- LOCK TABLES `tb_clientes` WRITE; /*!40000 ALTER TABLE `tb_clientes` DISABLE KEYS */; INSERT INTO `tb_clientes` VALUES (1,'Débora Frere','Rue des Cascade','555-22','deborafreiresoares@outlook.com','Versalhes','Paris','PR','3030'),(2,'Rick Debois Ecre','Rue des Roses','555-21','rick_boybeau@outlook.com','Versalhes','Paris','PR','30'); /*!40000 ALTER TABLE `tb_clientes` ENABLE KEYS */; UNLOCK TABLES; /*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */; /*!40101 SET SQL_MODE=@OLD_SQL_MODE */; /*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */; /*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */; /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; /*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */; -- Dump completed on 2019-09-25 13:05:09
-----------------------------------BRANDS------------------------------ INSERT INTO ACTIVITY_TYPE VALUES('A04', 'JOIN', 'N'); INSERT INTO ACTIVITY_TYPE VALUES('A05', 'REDEEM', 'N'); INSERT INTO USERS VALUES('Brand01', '123456', 'BRAND'); INSERT INTO BRAND VALUES('Brand01', 'Brand X', '503 Rolling Creek Dr Austin, AR', TO_DATE('01-APR-2021','DD-MON-YY')); INSERT INTO TIER VALUES('Bronze', 'Brand01', 1, 0, 1); INSERT INTO TIER VALUES('Silver', 'Brand01', 2, 170, 2); INSERT INTO TIER VALUES('Gold', 'Brand01', 3, 270, 3); INSERT INTO ACTIVITY_TYPE VALUES('A01', 'Purchase', 'Y'); INSERT INTO ACTIVITY_TYPE VALUES('A02', 'Write A Review', 'Y'); INSERT INTO RE_RULES VALUES('RER01', 15, 'A01', 'Brand01', 1); INSERT INTO RE_RULES VALUES('RER02', 10, 'A02', 'Brand01', 1); INSERT INTO REWARD_TYPE VALUES('R01', 'Gift Card'); INSERT INTO REWARD_TYPE VALUES('R02', 'Free Product'); INSERT INTO RR_RULES VALUES('RRR01', 80, 'R01', 'Brand01', 1); INSERT INTO RR_RULES VALUES('RRR02', 70, 'R02', 'Brand01', 1); INSERT INTO REWARD VALUES('Reward01', 'R01', null, 40, 'Brand01'); INSERT INTO REWARD VALUES('Reward02', 'R02', null, 25, 'Brand01'); INSERT INTO LP_ACT_CATEGORY VALUES('Brand01', 'A01'); INSERT INTO LP_ACT_CATEGORY VALUES('Brand01', 'A02'); INSERT INTO USERS VALUES('Brand02', '123456', 'BRAND'); INSERT INTO BRAND VALUES('Brand02', 'Brand Y', '939 Orange Ave Coronado, CA', TO_DATE('25-MAR-2021','DD-MON-YY')); INSERT INTO TIER VALUES('Special', 'Brand02', 1, 0, 1); INSERT INTO TIER VALUES('Premium', 'Brand02', 2, 210, 2); INSERT INTO ACTIVITY_TYPE VALUES('A03', 'Refer A Friend' , 'Y'); INSERT INTO RE_RULES VALUES('RER03', 40, 'A01', 'Brand02', 1); INSERT INTO RE_RULES VALUES('RER04', 30, 'A03', 'Brand02', 1); INSERT INTO RR_RULES VALUES('RRR03', 120, 'R01', 'Brand02', 1); INSERT INTO RR_RULES VALUES('RRR04', 90, 'R02', 'Brand02', 1); INSERT INTO REWARD VALUES('Reward03', 'R01', null, 30, 'Brand02'); INSERT INTO REWARD VALUES('Reward04', 'R02', null, 50, 'Brand02'); INSERT INTO LP_ACT_CATEGORY VALUES('Brand02', 'A01'); INSERT INTO LP_ACT_CATEGORY VALUES('Brand02', 'A03'); INSERT INTO USERS VALUES('Brand03', '123456', 'BRAND'); INSERT INTO BRAND VALUES('Brand03', 'Brand Z', '20 Roszel Rd Princeton, NJ', TO_DATE('08-MAY-2021','DD-MON-YY')); INSERT INTO RE_RULES VALUES('RER05', 10, 'A03', 'Brand03', 1); INSERT INTO RR_RULES VALUES('RRR05',100, 'R01', 'Brand03', 1); INSERT INTO REWARD VALUES('Reward05', 'R01', null, 25, 'Brand03'); INSERT INTO LP_ACT_CATEGORY VALUES('Brand03', 'A03'); -----------------------------------CUSTOMERS------------------------------ INSERT INTO USERS VALUES('C0001', '123456', 'CUSTOMER'); INSERT INTO CUSTOMER VALUES('C0001', 'Peter Parker', '8636368778', '20 Ingram Street, NY'); INSERT INTO USERS VALUES('C0002', '123456', 'CUSTOMER'); INSERT INTO CUSTOMER VALUES('C0002', 'Steve Rogers', '8972468552', '569 Leaman Place, NY'); INSERT INTO USERS VALUES('C0003', '123456', 'CUSTOMER'); INSERT INTO CUSTOMER VALUES('C0003', 'Diana Prince', '8547963210', '1700 Broadway St, NY'); INSERT INTO USERS VALUES('C0004', '123456', 'CUSTOMER'); INSERT INTO CUSTOMER VALUES('C0004', 'Billy Batson', '8974562583', '5015 Broad St, Philadelphia, PA'); INSERT INTO USERS VALUES('C0005', '123456', 'CUSTOMER'); INSERT INTO CUSTOMER VALUES('C0005', 'Tony Stark', '8731596464', '10880 Malibu Point, CA'); INSERT INTO WALLET VALUES (6020, 'Brand01', 'C0001', 0, 'Bronze', 80); INSERT INTO WALLET VALUES (6030, 'Brand02', 'C0001', 0, 'Premium', 210); INSERT INTO WALLET VALUES (6040, 'Brand01', 'C0002', 0, 'Bronze', 70); INSERT INTO WALLET VALUES (6050, 'Brand03', 'C0003', 40, null, null); INSERT INTO WALLET VALUES (6051, 'Brand02', 'C0003', 40, 'Premium', 220); INSERT INTO WALLET VALUES (6060, 'Brand01', 'C0005', 20, 'Silver', 170); INSERT INTO WALLET VALUES (6061, 'Brand02', 'C0005', 40, 'Special', 160); INSERT INTO WALLET VALUES (6070, 'Brand03', 'C0005', 50, null, null); INSERT INTO WALLET_GIFTCARD VALUES(6020); INSERT INTO WALLET_GIFTCARD VALUES(6030); INSERT INTO WALLET_GIFTCARD VALUES(6060); INSERT INTO WALLET_GIFTCARD VALUES(6061); UPDATE REWARD SET QUANTITY=QUANTITY-2 WHERE BRAND_ID='Brand01' AND REWARD_CATEGORY_CODE='R01'; UPDATE REWARD SET QUANTITY=QUANTITY-2 WHERE BRAND_ID='Brand02' AND REWARD_CATEGORY_CODE='R01'; UPDATE REWARD SET QUANTITY=QUANTITY-3 WHERE BRAND_ID='Brand02' AND REWARD_CATEGORY_CODE='R02'; UPDATE REWARD SET QUANTITY=QUANTITY-2 WHERE BRAND_ID='Brand01' AND REWARD_CATEGORY_CODE='R02';
# Superadmin : recupere les cadeaux et achats du client SELECT `pk_token`, `quantite_token`, `expire_token`, `date_token`, `expired_token`, `used_token` AS `used`, `cadeau_token`, `fk_produit`, `fk_combo` FROM `token` WHERE `fk_client` = :client ORDER BY `cadeau_token` ASC, `paid_token` ASC, `fk_combo` DESC, `expired_token` ASC, `used` DESC, `fk_produit` ASC, `date_token` ASC ;
use kangvahealth if not exists(select 1 from ph_family where familyno='630121100010000002') begin INSERT INTO ph_family ([dutydoc] ,[hosid] ,[name] ,[pycode] ,[wbcode] ,[address] ,[tel] ,familyno ) VALUES('测试人员', '0001001', '测试' , 'CS','IY', '大通回族土族自治县桥头镇人民路南居委会', '', '630121100010000002') end
-- ************************************************************************************ -- -- EXERCICES -- -- ************************************************************************************ -- ************************************************************************ -- PROCEDURES -- ************************************************************************ -- ****************************************************************** -- 1. Créer une procédure qui affiche en une fois les nombres impairs -- ****************************************************************** USE World; DROP PROCEDURE IF EXISTS ShowImpair; DELIMITER | CREATE PROCEDURE ShowImpair() BEGIN DECLARE _i INT; DECLARE _txt VARCHAR(100) DEFAULT ''; SET _i = 1; WHILE (_i <= 20) DO if (_i % 2) THEN SET _txt = CONCAT(_txt, ' ', _i); END IF; SET _i = _i +1; end while; SELECT _txt AS Impair; end | DELIMITER ; CALL ShowImpair(); -- ****************************************************************** -- 2. Créer une procédure qui affiche les noms et prénoms dont la clé est impaire. -- ****************************************************************** USE World; DROP PROCEDURE IF EXISTS ShowNameImpair; DELIMITER | CREATE PROCEDURE ShowNameImpair() BEGIN SELECT id_pers, nom_pers, prenom_pers FROM World.personne WHERE id_pers % 2; end | DELIMITER ; CALL ShowNameImpair(); -- ****************************************************************** -- 3. Créer une procédure qui prendra l'ID d'une voiture en paramètre (Table Voitures) -- o Si KM <= 50 : Neuf -- o Si KM <= 3000 : Rodé -- o Si KM <= 4000 : Fiable -- o Si KM > 4000 : A remplacer -- ****************************************************************** USE locavoit; DROP PROCEDURE IF EXISTS ShowCar; DELIMITER | CREATE PROCEDURE ShowCar(IN _idVoit VARCHAR(9)) BEGIN DECLARE _nbrResult INT(255); DECLARE _KM INT(10); DECLARE _txt VARCHAR(64) DEFAULT ''; SET _nbrResult = (SELECT COUNT(*) FROM locavoit.voitures WHERE idVoit = _idVoit); SET _KM = (SELECT kmVoit FROM locavoit.voitures WHERE idVoit = _idVoit); IF (_nbrResult < 1) THEN SELECT 'Aucun résultat trouvé'; ELSE CASE WHEN _KM <= 50 THEN SET _txt = 'Neuf'; WHEN _KM <= 3000 THEN SET _txt = 'Rodé'; WHEN _KM <= 4000 THEN SET _txt = 'Fiable'; ELSE SET _txt = 'A remplacer'; END CASE; SELECT idVoit, modVoit, catVoit, kmVoit, _txt FROM locavoit.voitures WHERE idVoit = _idVoit; END IF; end | DELIMITER ; set @idVoit1 = '1-AAA001'; set @idVoit2 = '1-AAA003'; CALL ShowCar(@idVoit2); -- ****************************************************************** -- 4. Créer une procédure stockée qui prendra en paramètres le nombre maximum de participants -- et qui affichera "Complet" si le nombre d'inscrit est atteint. -- ****************************************************************** USE ecole; DROP PROCEDURE IF EXISTS nbrParticipants; DELIMITER | CREATE PROCEDURE nbrParticipants(IN _nbrMax INT) BEGIN SELECT COUNT(FK_Pers), FK_Cours, (CASE WHEN COUNT(FK_Pers) = _nbrMax THEN 'Nombre Maximum atteint' WHEN COUNT(FK_Pers) >= _nbrMax THEN 'Nombre Maximum dépassé' ELSE 'Nombre Maximum non atteint' END) AS nbr, (IF(_nbrMax > COUNT(FK_Pers), _nbrMax - COUNT(FK_Pers), 0)) As Reste FROM ecole.t_inscription GROUPE GROUP BY FK_Cours ORDER BY nbr ASC; END | DELIMITER ; SET @nbrMax = 20; CALL nbrParticipants(@nbrMax); -- ****************************************************************** -- 5. Création d’une procédure qui contrôlera qu’aucun prof n’est étudiant dans la section -- ****************************************************************** -- ****************************************************************** -- 6. Est-il possible qu'il y ait un juron a la page 58 du "Le Lotus Bleu" (A04) -- ****************************************************************** -- ****************************************************************** -- Extra 7. Certains albums n'auraient pas été écrit par Hergé. -- Ils ne devraient donc pas se trouver dans la DB. -- Pour ne pas supprimer les enregistrements, il est demadé de -- - Ajouter un champ booléen "Doute" dans les tables Pays et Albums -- - Créer une procédure qui prendra le titre de l'album concerné en paramètre IN. -- Elle "flaguera" le titre dans la table album ainsi que tous les pays visités -- durant ces aventures -- ****************************************************************** -- ****************************************************************** -- Extra 8. DB dog_racing -- Ajouter un champ "Prix" à la table Resultat -- Créer une procédure qui mettra à jour le champ "Prix" -- (1er => 500, 2eme => 250, 3eme => 50) -- ****************************************************************** -- ****************************************************************** -- Extra 9. DB dog_racing -- Créer une procédure qui prendra le nom d'un chien -- ainsi que le nom d'une course en IN. -- La procédure renverra dans un paramètre OUT le montant du prix gagné -- ****************************************************************** -- ****************************************************************** -- Extra 10. DB dog_racing -- Créer une procédure qui prendra le nom de 2 chiens en IN. -- La procédure renverra dans un paramètre OUT le montant total gagné par ces 2 chiens -- ****************************************************************** -- ****************************************************************** -- DB Ecole -- 1. Créez une procédure stockée qui renvoie 3 paramètres. -- * Le nombre de Femme -- * Le nombre d'Homme -- * Un commentaire donnant la situation ("H majoritaire", "F majoritaire", "Egalite") -- ****************************************************************** USE ecole; DROP PROCEDURE IF EXISTS NbrFH; DELIMITER | CREATE PROCEDURE NbrFH() BEGIN DECLARE _nbrF INT; DECLARE _nbrH INT; SET _nbrF = (SELECT COUNT(PK_Pers) FROM ecole.t_pers WHERE Sexe = 'F' GROUP BY Sexe); SET _nbrH = (SELECT COUNT(PK_Pers) FROM ecole.t_pers WHERE Sexe = 'M' GROUP BY Sexe); CASE WHEN _nbrF > _nbrH THEN SELECT 'Femme majoritaire' AS Majoritaire, CONCAT('Homme : ', _nbrH, ' < ', 'Femme : ', _nbrF ) as Nombre; WHEN _nbrF < _nbrH THEN SELECT 'Homme majoritaire' AS Majoritaire, CONCAT('Homme : ', _nbrH, ' > ', 'Femme : ', _nbrF ) as Nombre; ELSE SELECT 'Egalite' AS Majoritaire, CONCAT('Homme : ', _nbrH, ' = ', 'Femme : ', _nbrF ) as Nombre; END CASE; end | DELIMITER ; CALL NbrFH(); -- **************************************************************** -- DB Tintin -- 2. Créez une procédure stockée qui prendra en paramètre le titre d'un album et un numéro de page. -- La procédure renverra dans une variable le nombre de jurons écrits à cette page. -- Appelez ensuite cette procédure en lui passant les paramètres nécessaires. -- **************************************************************** USE tintin; DROP PROCEDURE IF EXISTS NbrJurons; DELIMITER | CREATE PROCEDURE NbrJurons(IN _titreAlb VARCHAR(255), IN _numPage INT(3), OUT _nbrJuron INT) BEGIN SELECT COUNT(tintin.juron_album.idJur) INTO _nbrJuron FROM tintin.juron_album INNER JOIN album ON tintin.juron_album.idAlb = tintin.album.idAlb WHERE tintin.juron_album.numPage = _numPage AND tintin.album.titreAlb = _titreAlb GROUP BY tintin.album.idAlb; end | DELIMITER ; SET @titreAlb = 'TINTIN AU CONGO'; SET @numPage = 5; CALL NbrJurons(@titreAlb, @numPage, @nbrJuron); SELECT CONCAT('l Album ', @titreAlb , ' page ', @numPage, ' contient ', @nbrJuron, ' juron(s)'); -- **************************************************************** -- DB Tintin -- 3. Créez une procédure stockée qui vous donnera le nombre de pays fréquentés, le nombre de personnages intervenant -- et le nombre de jurons écrits dans l'album dont le titre est passé en paramètre. -- **************************************************************** -- **************************************************************** -- DB Tintin -- 4. Tous les albums ont un pays commun non-renseigné dans la DB. -- Mettez en place une procédure stockée qui : -- * Ajoute le pays "Wallonie" ("WAL") dans la table PAYS. -- * Ajoute ensuite ce pays à chaque album. -- **************************************************************** -- **************************************************************** -- DB Tintin -- 5. Les pays "Egypte", "Nepal" et "Perou" sont infectés par le COVID-19 -- * Ajouter un champ booléen à la table "Personnage" -- * Flaguer tous les personnages ayant voyagé dans ces pays -- **************************************************************** -- ************************************************************************ -- TRIGGER -- ************************************************************************ -- **************************************************************** -- DB Monde -- 6. Mettre en place un trigger qui, lors d'un encodage, veillera a ce que le nom -- complet ainsi que la premiere lettre du prenom soient mis en majuscule -- **************************************************************** USE World; DROP TRIGGER IF EXISTS before_insert_MajusculePers; DELIMITER | CREATE TRIGGER before_insert_MajusculePers BEFORE INSERT ON World.personne FOR EACH ROW BEGIN SET NEW.nom_pers = UCASE(nom_pers); SET NEW.prenom_pers = CONCAT(UPPER(LEFT(NEW.prenom_pers,1)),LOWER(SUBSTRING(NEW.prenom_pers,2))); END | DELIMITER ;
/* create table product ( id uuid not null constraint product_pk primary key, name varchar not null, short_description varchar not null, description varchar not null, price integer, image varchar not null, available boolean not null, amount integer not null ); alter table product owner to postgres; create unique index product_id_uindex on product (id); create table users ( id serial constraint users_pk primary key, email varchar not null, password varchar not null, name varchar not null, phone varchar not null, active boolean not null, role varchar not null ); alter table users owner to postgres; create unique index users_id_uindex on users (id); create table authorities ( id integer not null constraint authorities_pk primary key ); alter table authorities owner to postgres; create table refresh_tokens ( id serial constraint refresh_tokens_pk primary key, issued_at timestamp not null, expire_at timestamp not null, user_id integer constraint refresh_tokens_users_id_fk references users on update restrict on delete cascade, next integer constraint refresh_tokens_refresh_tokens_id_fk references refresh_tokens on update restrict on delete cascade ); alter table refresh_tokens owner to postgres; create unique index refresh_tokens_id_uindex on refresh_tokens (id); create table user_authorities ( id serial constraint user_authorities_pk primary key, user_id integer constraint user_authorities_users_id_fk references users on update restrict on delete cascade, authority_id integer constraint user_authorities_authorities_id_fk references authorities on update restrict on delete cascade ); alter table user_authorities owner to postgres; create unique index user_authorities_id_uindex on user_authorities (id); create unique index user_authorities_id_uindex_2 on user_authorities (id); create table "order" ( id serial constraint order_pk primary key, buyer_email varchar, buyer_name varchar, buyer_phone varchar, amount integer, status boolean, create_time timestamp, update_time timestamp ); alter table "order" owner to postgres; create table product_in_order ( id serial constraint product_in_order_pk primary key, order_id integer constraint product_in_order_order_id_fk references "order" on update restrict on delete cascade constraint product_in_order_order_id_fk_2 references "order" on update restrict on delete cascade, product_id integer, product_name varchar, product_description varchar, product_price integer, count integer, cart_id integer ); alter table product_in_order owner to postgres; create unique index product_in_order_id_uindex on product_in_order (id); create unique index order_id_uindex on "order" (id); create table cart ( id serial constraint cart_pk primary key, user_id integer constraint cart_users_id_fk references users on update restrict on delete cascade ); alter table cart owner to postgres; create unique index cart_id_uindex on cart (id); */ INSERT INTO users values (1, 'elena@gmail.com', 'ElenaOneLove', 'elenaAdmin', '0951672965', true, 'ROLE_ADMIN'); insert into users values (111111, 'client1@gmail.com', 'passwordClient1', 'client1', '0990540364', true, 'ROLE_CLIENT'); insert into users values (111112, 'client2@gmail.com', 'passwordClient2', 'client2', '0994030564', true, 'ROLE_CLIENT'); insert into users values (111113, 'client3@gmail.com', 'passwordClient3', 'client3', '0955903640', true, 'ROLE_CLIENT'); insert into users values (111114, 'client4@gmail.com', 'passwordClient4', 'client4', '0990365904', true, 'ROLE_CLIENT'); INSERT into "order" values (55511, 'client1@gmail.com', 'client1', '0990540364', 2, 'true', '2021-09-11 12:52:20.439', '2021-09-11 13:52:20.439'); INSERT into "order" values (55512, 'client1@gmail.com', 'client1', '0990540364', 4, 'true', '2021-09-11 12:52:20.439', '2021-09-11 13:52:20.439'); INSERT into "order" values (55513, 'client3@gmail.com', 'client3', '0955903640', 2, 'true', '2021-09-11 12:52:20.439', '2021-09-11 13:52:20.439'); INSERT into "order" values (55514, 'client1@gmail.com', 'client4', '0990540364', 2, 'true', '2021-09-11 12:52:20.439', '2021-09-11 13:52:20.439'); INSERT into "order" values (55515, 'client1@gmail.com', 'client2', '0990540364', 2, 'true', '2021-09-11 12:52:20.439', '2021-09-11 13:52:20.439'); INSERT into "order" values (555116, 'client1@gmail.com', 'client2', '0990540364', 2, 'true', '2021-09-11 12:52:20.439', '2021-09-11 13:52:20.439');
-- +migrate up CREATE TABLE [employee] ( id INT PRIMARY KEY IDENTITY, name VARCHAR(256), last_name VARCHAR(256) ) INSERT INTO [employee] (name, last_name) VALUES ('Carlos', 'Chilet') INSERT INTO [employee] (name, last_name) VALUES ('Victor', 'Mora') -- +migrate down DROP TABLE [employee]
-- CREATE TABLE 권한이 없어서 오류 발생 -- 3. 계정에서 테이블을 생성할 수 있는 CRATE TABLE 권한 부여받기 CREATE TABLE TEST( TID NUMBER ); -- 본인이 소유하고 있는 테이블들은 바로 조작이 가능하다. SELECT * FROM TEST; INSERT INTO TEST VALUES(1); -- 다른 계정의 테이블에 접근할 수 있는 권한이 없기 때문에 오류가 발생한다. -- 5. KH.EMPLOYEE 테이블을 조회할 수 있는 권한 부여받기 SELECT * FROM KH.EMPLOYEE; -- 6. KH.DEPARTMENT 테이블을 조회할 수 있는 권한 부여받기 SELECT * FROM KH.DEPARTMENT; -- 7. KH.DEPARTMENT 테이블에 데이터를 삽입할 수 있는 권한 부여받기 INSERT INTO KH.DEPARTMENT VALUES('D0', '개발부', 'L2'); ROLLBACK; SELECT * FROM KH.LOCATION; SELECT * FROM STUDENT.TB_CLASS;
-- correct 'FullName' for properties -- exclude property from export UPDATE "FileProperty" SET "FullName" = 'former_reference_department' WHERE "Name" = 'former_reference_department'; UPDATE "FileProperty" SET "FullName" = 'creating_body' WHERE "Name" = 'creating_body'; UPDATE "FileProperty" SET "FullName" = 'clientside_original_filepath' WHERE "Name" = 'ClientSideOriginalFilepath'; UPDATE "FileProperty" SET "AllowExport" = 'false' WHERE "Name" = 'creating_body'; COMMIT;
SELECT nick, regdate FROM community_users3 WHERE nick LIKE '' UNION ALL SELECT nick, password_plaintext FROM community_users3;--
INSERT INTO Isiku_seisundi_liik (isiku_seisundi_liik_kood, nimetus) VALUES (1, 'Elus'); INSERT INTO Isiku_seisundi_liik (isiku_seisundi_liik_kood, nimetus) VALUES (2, 'Surnud'); INSERT INTO Kliendi_seisundi_liik (kliendi_seisundi_liik_kood, nimetus) VALUES (1, 'Aktiivne'); INSERT INTO Kliendi_seisundi_liik (kliendi_seisundi_liik_kood, nimetus) VALUES (2, 'Mitteaktiivne'); INSERT INTO Laua_seisundi_liik (laua_seisundi_liik_kood, nimetus) VALUES (1, 'Ootel'); INSERT INTO Laua_seisundi_liik (laua_seisundi_liik_kood, nimetus) VALUES (2, 'Aktiivne'); INSERT INTO Laua_seisundi_liik (laua_seisundi_liik_kood, nimetus) VALUES (3, 'Mitteaktiivne'); INSERT INTO Laua_seisundi_liik (laua_seisundi_liik_kood, nimetus) VALUES (4, 'Lõpetatud'); INSERT INTO Laua_brand (laua_brand_kood, nimetus) VALUES (1, 'Butterfly'); INSERT INTO Laua_brand (laua_brand_kood, nimetus) VALUES (2, 'Stiga'); INSERT INTO Laua_kategooria_tyyp (laua_kategooria_tyyp_kood, nimetus) VALUES (1, 'Vanus'); INSERT INTO Laua_kategooria_tyyp (laua_kategooria_tyyp_kood, nimetus) VALUES (2, 'Seisukord'); INSERT INTO Laua_kategooria_tyyp (laua_kategooria_tyyp_kood, nimetus) VALUES (3, 'Kasutusjuht'); INSERT INTO Laua_kategooria (laua_kategooria_kood, nimetus, laua_kategooria_tyyp_kood) VALUES (1, 'Igapäevaseks kasutamiseks', 3); INSERT INTO Laua_kategooria (laua_kategooria_kood, nimetus, laua_kategooria_tyyp_kood) VALUES (2, 'Võistlusteks', 3); INSERT INTO Laua_kategooria (laua_kategooria_kood, nimetus, laua_kategooria_tyyp_kood) VALUES (3, 'Uus', 1); INSERT INTO Laua_kategooria (laua_kategooria_kood, nimetus, laua_kategooria_tyyp_kood) VALUES (4, 'Vana', 1); INSERT INTO Laua_kategooria (laua_kategooria_kood, nimetus, laua_kategooria_tyyp_kood) VALUES (5, 'Heas korras', 2); INSERT INTO Laua_kategooria (laua_kategooria_kood, nimetus, laua_kategooria_tyyp_kood) VALUES (6, 'Vajab lähiajal hooldust', 2); INSERT INTO Amet (amet_kood, nimetus, kirjeldus) VALUES (1, 'Juhataja', 'Vastutab eelarve ja arendustöö eest. Saab vaadata laudade koondaruannet, lõpetada laudu ja vaadata kõiki laudu.'); INSERT INTO Amet (amet_kood, nimetus, kirjeldus) VALUES (2, 'Laudade haldur', 'Tegemist on klienditeenindajaga. Saab laudu registreerida, unustada, aktiveerida, mitteaktiivseks muuta, vaadata.'); INSERT INTO Riik (riik_kood, nimetus) VALUES ('ENG', 'Inglismaa'); INSERT INTO Riik (riik_kood, nimetus) VALUES ('EST', 'Eesti'); INSERT INTO Riik (riik_kood, nimetus) VALUES ('FIN', 'Soome'); INSERT INTO Riik (riik_kood, nimetus) VALUES ('LAT', 'Läti'); INSERT INTO Riik (riik_kood, nimetus) VALUES ('RUS', 'Venemaa'); INSERT INTO Tootaja_seisundi_liik (tootaja_seisundi_liik_kood, nimetus) VALUES (1, 'Tööl'); INSERT INTO Tootaja_seisundi_liik (tootaja_seisundi_liik_kood, nimetus) VALUES (2, 'Puhkusel'); INSERT INTO Tootaja_seisundi_liik (tootaja_seisundi_liik_kood, nimetus) VALUES (3, 'Haiguslehel'); INSERT INTO Tootaja_seisundi_liik (tootaja_seisundi_liik_kood, nimetus) VALUES (4, 'Vallandatud'); INSERT INTO Tootaja_seisundi_liik (tootaja_seisundi_liik_kood, nimetus) VALUES (5, 'Töösuhe peataud'); INSERT INTO Isik (isikukood, riik_kood, e_meil, parool, isiku_seisundi_liik_kood, synni_kp, reg_aeg, eesnimi, perenimi, elukoht) VALUES ('3975163289', 'EST', 'piotr1@gmail.com', 'tere', 1, '1995-04-20 00:00:00', '2019-04-11 16:21:15', 'Peeter', 'Esimene', 'Raja 18'); INSERT INTO Isik (isikukood, riik_kood, e_meil, parool, isiku_seisundi_liik_kood, synni_kp, reg_aeg, eesnimi, perenimi, elukoht) VALUES ('36498152648', 'RUS', 'maie@valdur.ee', 'olen', 1, '1976-09-15 00:00:00', '2019-04-11 16:21:21', 'Maie', 'Valdur', 'Vene 6'); INSERT INTO Isik (isikukood, riik_kood, e_meil, parool, isiku_seisundi_liik_kood, synni_kp, reg_aeg, eesnimi, perenimi, elukoht) VALUES ('46498452648', 'EST', 'maali.m@gmail.com', 'maasikas', 1, '1976-09-15 00:00:00', '2019-04-11 16:21:21', 'Maali', 'Maasikas', 'Vene 8, Tallinn'); INSERT INTO Isik (isikukood, riik_kood, e_meil, parool, isiku_seisundi_liik_kood, synni_kp, reg_aeg, eesnimi, perenimi, elukoht) VALUES ('5656566556', 'LAT', 'sadasd@asdas.ee', 'nõrk', 1, '1959-02-05 00:00:00', '2019-04-18 18:54:27', 'Valdur', 'Teine', 'Paala 3'); INSERT INTO Isik (isikukood, riik_kood, e_meil, parool, isiku_seisundi_liik_kood, synni_kp, reg_aeg, eesnimi, perenimi, elukoht) VALUES ('5996865863', 'EST', 'rambo@mambo.ee', 'parool', 2, '1910-02-05 00:00:00', '2017-04-18 18:54:27', 'Onu', 'Uno', 'Raadi 785'); INSERT INTO Klient (isik_id, on_nous_tylitamisega, kliendi_seisundi_liik_kood) VALUES (1, false, 1); INSERT INTO Tootaja (isik_id, amet_kood, tootaja_seisundi_liik_kood, mentor) VALUES (2, 1, 1, NULL); INSERT INTO Tootaja (isik_id, amet_kood, tootaja_seisundi_liik_kood, mentor) VALUES (3, 1, 1, NULL); INSERT INTO Tootaja (isik_id, amet_kood, tootaja_seisundi_liik_kood, mentor) VALUES (4, 2, 2, 2); INSERT INTO Laud (laua_kood, laua_vorgu_korgus, max_mangijate_arv, registreerija_id, laua_seisundi_liik_kood, laua_brand_kood, reg_aeg, kommentaar) VALUES (1, 153, 2, 2, 4, 1, '2019-03-29 16:16:02', NULL ); INSERT INTO Laud (laua_kood, laua_vorgu_korgus, max_mangijate_arv, registreerija_id, laua_seisundi_liik_kood, laua_brand_kood, reg_aeg, kommentaar) VALUES (2, 153, 2, 2, 1, 1, '2019-03-29 16:24:31', NULL ); INSERT INTO Laud (laua_kood, laua_vorgu_korgus, max_mangijate_arv, registreerija_id, laua_seisundi_liik_kood, laua_brand_kood, reg_aeg, kommentaar) VALUES (3, 153, 2, 2, 2, 1, '2019-03-29 16:26:00', NULL ); INSERT INTO Laud (laua_kood, laua_vorgu_korgus, max_mangijate_arv, registreerija_id, laua_seisundi_liik_kood, laua_brand_kood, reg_aeg, kommentaar) VALUES (4, 76, 4, 3, 2, 2, '2019-04-10 12:01:32', 'See laud läks katki ja tehti ise korda. Ei vasta võistlusnõuetele.' ); INSERT INTO Laua_kategooria_omamine (laua_kood, laua_kategooria_kood) VALUES (1, 1); INSERT INTO Laua_kategooria_omamine (laua_kood, laua_kategooria_kood) VALUES (1, 2); INSERT INTO Laua_kategooria_omamine (laua_kood, laua_kategooria_kood) VALUES (1, 3); INSERT INTO Laua_kategooria_omamine (laua_kood, laua_kategooria_kood) VALUES (1, 5); INSERT INTO Laua_kategooria_omamine (laua_kood, laua_kategooria_kood) VALUES (2, 2); INSERT INTO Laua_kategooria_omamine (laua_kood, laua_kategooria_kood) VALUES (2, 3); INSERT INTO Laua_kategooria_omamine (laua_kood, laua_kategooria_kood) VALUES (2, 5); INSERT INTO Laua_kategooria_omamine (laua_kood, laua_kategooria_kood) VALUES (3, 1); INSERT INTO Laua_kategooria_omamine (laua_kood, laua_kategooria_kood) VALUES (3, 4); INSERT INTO Laua_kategooria_omamine (laua_kood, laua_kategooria_kood) VALUES (3, 6);
CREATE OR REPLACE VIEW DMA AS SELECT TO_NUMBER(SET_DMA( T1.SUBSECTOR_ID )) AS dma_id, T1.SUBSECTOR_ID AS "name", 1 AS expl_id, TO_NUMBER(SET_MACRODMA( T1.SECTOR_ID )) AS macrodma_id, 'Mataró - ' || T1.SUBSECTOR_ID AS descript, 'true' AS undelete, SDO_GEOMETRY(2007, 25831, NULL, T1.SUBSECTOR_GEO.SDO_ELEM_INFO, T1.SUBSECTOR_GEO.SDO_ORDINATES) AS the_geom FROM NS_MATARO.BASE_CL_SUBSECTOR T1 WHERE T1.SUBSECTOR_ID <> '-' UNION ALL SELECT * FROM DMA_0; CREATE OR REPLACE VIEW MACRODMA AS SELECT TO_NUMBER(SET_MACRODMA( T1.SECTOR_ID )) AS macrodma_id, T1.SECTOR_ID AS "name", 1 AS expl_id, 'Mataró - ' || T1.SECTOR_ID AS descript, 'true' AS undelete, SDO_GEOMETRY(2007, 25831, NULL, T1.SECTOR_GEO.SDO_ELEM_INFO, T1.SECTOR_GEO.SDO_ORDINATES) AS the_geom FROM NS_MATARO.BASE_CL_SECTOR T1 UNION ALL SELECT 0, '-', 1, 'Mataró - Altres', 'true', null FROM DUAL ORDER BY 1;
/*With a query involving PWD parcels and census block groups, find the geo_id of the block group that contains Meyerson Hall. ST_MakePoint() and functions like that are not allowed.*/ geo_id text with meyerson as ( select * from pwd_parcel where address = '220-30 S 34TH ST' and owner1 like '%UNIV%' ) select geoid10 as geo_id from census_block_group g join meyerson m on st_contains(ST_Transform(g.geometry, 32129), ST_Transform(m.geometry, 32129)) 421010369001
-- Gradebook table changes between Sakai 2.1.* and 2.2. -- Add grading scale support. create table GB_PROPERTY_T ( ID bigint not null auto_increment, VERSION integer not null, NAME varchar(255) not null unique, VALUE varchar(255), primary key (ID) ); create table GB_GRADING_SCALE_GRADES_T ( GRADING_SCALE_ID bigint not null, LETTER_GRADE varchar(255), GRADE_IDX integer not null, primary key (GRADING_SCALE_ID, GRADE_IDX) ); create table GB_GRADING_SCALE_T ( ID bigint not null auto_increment, OBJECT_TYPE_ID integer not null, VERSION integer not null, SCALE_UID varchar(255) not null unique, NAME varchar(255) not null, UNAVAILABLE bit, primary key (ID) ); create table GB_GRADING_SCALE_PERCENTS_T ( GRADING_SCALE_ID bigint not null, PERCENT double precision, LETTER_GRADE varchar(255) not null, primary key (GRADING_SCALE_ID, LETTER_GRADE) ); alter table GB_GRADE_MAP_T add column (GB_GRADING_SCALE_T bigint); alter table GB_GRADING_SCALE_GRADES_T add index FK5D3F0C955A72817B (GRADING_SCALE_ID), add constraint FK5D3F0C955A72817B foreign key (GRADING_SCALE_ID) references GB_GRADING_SCALE_T (ID); alter table GB_GRADING_SCALE_PERCENTS_T add index FKC98BE4675A72817B (GRADING_SCALE_ID), add constraint FKC98BE4675A72817B foreign key (GRADING_SCALE_ID) references GB_GRADING_SCALE_T (ID); -- Add indexes for improved performance and reduced locking. create index GB_GRADABLE_OBJ_ASN_IDX on GB_GRADABLE_OBJECT_T (OBJECT_TYPE_ID, GRADEBOOK_ID, NAME, REMOVED); create index GB_GRADE_RECORD_O_T_IDX on GB_GRADE_RECORD_T (OBJECT_TYPE_ID); -- This may have already been defined via the 2.1.1 upgrade. create index GB_GRADE_RECORD_STUDENT_ID_IDX on GB_GRADE_RECORD_T (STUDENT_ID);
ALTER TABLE dbo.ClientPersonalMessage ALTER COLUMN ClientId nvarchar(36) NULL
SELECT avg( (YEAR(CURRENT_DATE) - YEAR(birthday)) - (DATE_FORMAT(CURRENT_DATE, '%m%d') < DATE_FORMAT(birthday, '%m%d')) ) AS avg_age FROM profiles p2 ;
UPDATE BURI_JOIN_WAITING SET PROCESS_DATE = CURRENT_TIMESTAMP, ABORT_DATE = CURRENT_TIMESTAMP WHERE PROCESS_DATE > CURRENT_TIMESTAMP AND BRANCH_ID = /*branchId*/1
-- --Referencia con la tabla sub cuenta -- ALTER TABLE co_tmvco ADD FOREIGN KEY (mvco_sbcu) REFERENCES co_tsbcu(sbcu_sbcu) ; -- --Referencia con la tabla tipo documento -- ALTER TABLE co_tmvco ADD FOREIGN KEY (mvco_tido) REFERENCES co_ttido(tido_tido) ;
DROP DATABASE IF EXISTS graphql_demo; CREATE DATABASE graphql_demo; \c graphql_demo; CREATE TABLE posts ( id INTEGER PRIMARY KEY, title TEXT ); CREATE TABLE comments ( id SERIAL PRIMARY KEY, post_id INTEGER, user_id INTEGER, text TEXT ); CREATE TABLE users ( id INTEGER PRIMARY KEY, email TEXT ); INSERT INTO users (id, email) VALUES (1, 'enrico@test.com'), (2, 'joan@test.com'); INSERT INTO posts (id, title) VALUES (1, 'I wanna learn graphql'), (2, 'I wish I had more time'); INSERT INTO comments (post_id, user_id, text) VALUES (1, 2, 'I can teach you GraphQl!'), (1, 2, 'random meaningless comment'), (2, 1, 'you are awesome!'), (2, 2, 'spammy spam spam');
/* ################################################################################ Migration script to create a new curation status - Pending author query Designed for execution with Flyway database migrations tool; this should be automatically run to completely generate the schema that is out-of-the-box compatibile with the GOCI model (see https://github.com/tburdett/goci/tree/2.x-dev/goci-core/goci-model for more). author: Emma Hastings date: Oct 02nd 2015 version: 1.9.9.056 (pre 2.0) ################################################################################ */ -------------------------------------------------------- -- INSERT INTO CURATION_STATUS -------------------------------------------------------- INSERT INTO CURATION_STATUS(ID, SEQNBR, STATUS) VALUES(66, 16, 'Pending author query');
CREATE TABLE `Users` ( `id` int(11) NOT NULL AUTO_INCREMENT, `firstName` varchar(128) NOT NULL DEFAULT '', `lastName` varchar(128) NOT NULL DEFAULT '', `email` varchar(256) NOT NULL DEFAULT '', -- can be blank for cross-posted, since we odn't want to leak emails `password` varchar(128) NOT NULL DEFAULT '', `created` datetime NOT NULL, `status` enum('pending','verified') DEFAULT 'pending', `username` varchar(32) NOT NULL, `updated` datetime NOT NULL DEFAULT '1969-01-01 00:00:00', `lastLogin` datetime NOT NULL DEFAULT '1969-01-01 00:00:00', `platformRole` enum("member", "admin") DEFAULT "member", PRIMARY KEY (`id`), UNIQUE KEY `username` (`username`), UNIQUE KEY `email` (`email`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; CREATE TABLE `Communities` ( `id` int(11) NOT NULL AUTO_INCREMENT, `name` varchar(128) NOT NULL DEFAULT '', `description` varchar(1024) NOT NULL DEFAULT '', `shortCode` varchar(24) NOT NULL DEFAULT '', `joinCode` varchar(24) NOT NULL DEFAULT '', `created` datetime NOT NULL, `privacy` ENUM('private', 'public') NOT NULL DEFAULT 'private', `userSignupStatus` ENUM('none', 'short_code', 'approval_required', 'auto_accept') NOT NULL DEFAULT 'auto_accept', `plan` ENUM('free','basic','pro') NOT NULL DEFAULT 'free', -- the plan for the community, which essentially just places limits on what they can do `planPaidThrough` date NOT NULL DEFAULT '1970-01-01', `planDiscountPercent` int NOT NULL DEFAULT 0, `stripeSubscriptionId` varchar(32) NOT NULL DEFAULT '', PRIMARY KEY (`id`), UNIQUE KEY `shortCode` (`shortCode`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; CREATE TABLE `CommunityPayments` ( `id` int(11) NOT NULL AUTO_INCREMENT, `communityId` int(11) NOT NULL, `paymentDate` date NOT NULL, `status` ENUM('paid','declined') NOT NULL DEFAULT 'paid', `amountDue` int(11) NOT NULL DEFAULT 0, `amountPaid` int(11) NOT NULL DEFAULT 0, `notes` varchar(512) NOT NULL, PRIMARY KEY (`id`), KEY (`communityId`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; CREATE TABLE `CommunityUserLinks` ( `userId` int(11) DEFAULT NULL, `communityId` int(11) DEFAULT NULL, `role` enum('member','admin') NOT NULL DEFAULT 'member', `status` enum('invited','requested','accepted','declined') NOT NULL DEFAULT 'invited', `shortCode` varchar(24) NOT NULL DEFAULT '', -- this is used in the invitation email UNIQUE KEY `user-community` (`userId`,`communityId`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; CREATE TABLE `UserTokens` ( `id` int(11) NOT NULL AUTO_INCREMENT, `token` varchar(64) DEFAULT NULL, `userId` int(11) NOT NULL, `created` datetime NOT NULL, `tokenType` enum('email','password_reset','refresh') NOT NULL DEFAULT 'email', PRIMARY KEY (`id`), KEY `userId` (`userId`), KEY `userId_type` (`userId`, `tokenType`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; CREATE TABLE `PrayerRequests` ( `id` int(11) NOT NULL AUTO_INCREMENT, `title` varchar(256) DEFAULT '', `body` text, `createdBy` int(11) NOT NULL, `privacy` enum('public','private') DEFAULT 'private', `created` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP, `status` enum('pending','answered','not_answered','unknown') DEFAULT 'pending', PRIMARY KEY (`id`), KEY `createdBy` (`createdBy`), KEY `privacy` (`privacy`), KEY `created` (`created`), KEY `createdBy_created` (`createdBy`,`created`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; CREATE TABLE `PrayerRequestCommunityLinks` ( `prayerRequestId` int(11) NOT NULL, `communityId` int(11) NOT NULL, UNIQUE KEY `link` (`prayerRequestId`, `communityId`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; CREATE TABLE `Prayers` ( `prayerRequestId` int(11) NOT NULL, `userId` int(11) NOT NULL, `whenPrayed` dateTime NOT NULL, KEY `request_user` (`prayerRequestId`, `userId`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; CREATE TABLE `PrayerRequestTags` ( `id` int(11) NOT NULL AUTO_INCREMENT, `tag` varchar(32) NOT NULL, PRIMARY KEY (`id`), UNIQUE KEY `tag` (`tag`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; CREATE TABLE `PrayerRequestTagLinks` ( `tagId` int(11) NOT NULL, `prayerRequestId` int(11) NOT NULL, UNIQUE `tagPR` (`tagId`, `prayerRequestId`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; CREATE TABLE `Site` ( `name` varchar(128) NOT NULL DEFAULT 'Pregxas', `description` varchar(1024) NOT NULL DEFAULT '', `secretKey` varchar(32) NOT NULL, `status` enum('pending_setup','active') NOT NULL DEFAULT 'pending_setup', `logoLocation` varchar(256) NOT NULL DEFAULT '' ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; CREATE TABLE `Reports` ( `id` int(11) NOT NULL AUTO_INCREMENT, `requestId` int(11) NOT NULL, `reporterId` int(11) NOT NULL, `reason` enum('offensive','threat','copyright','other') DEFAULT 'other', `reasonText` varchar(2048) NOT NULL DEFAULT '', `reported` datetime NOT NULL, `updated` datetime NOT NULL, `status` enum('open','closed_no_action','closed_deleted','follow_up') NOT NULL DEFAULT 'open', PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; CREATE TABLE `PrayerLists` ( `id` int(11) NOT NULL AUTO_INCREMENT, `userId` int(11) NOT NULL, `title` varchar(256) NOT NULL, `updateFrequency` enum('daily','weekly','never') NOT NULL DEFAULT 'never', `created` datetime NOT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; CREATE TABLE `PrayerRequestPrayerListLinks` ( `prayerRequestId` int(11) NOT NULL, `listId` int(11) NOT NULL, `added` datetime NOT NULL, UNIQUE KEY `request_list` (`prayerRequestId`,`listId`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
/* Copyright 2021 Snowplow Analytics Ltd. All rights reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ CREATE OR REPLACE TABLE {{.scratch_schema}}.mobile_users_lasts{{.entropy}} AS( SELECT a.device_user_id, a.last_screen_view_name, a.last_screen_view_transition_type, a.last_screen_view_type, a.carrier AS last_carrier, a.os_version AS last_os_version FROM {{.scratch_schema}}.mobile_users_sessions_this_run{{.entropy}} a INNER JOIN {{.scratch_schema}}.mobile_users_aggregates{{.entropy}} b ON a.device_user_id = b.device_user_id AND a.end_tstamp = b.end_tstamp );
INSERT INTO anime.dev_user (id, authorities, name, password, username) VALUES (default, 'ROLE_USER,ROLE_ADMIN','André Lucas', '{bcrypt}$2a$10$3WYoUm1SvwGnJOWHlK99m.kXBsSSSGvG7pH8n7OLNa/WBmaBdOXjW', 'andre') INSERT INTO anime.dev_user (id, authorities, name, password, username) VALUES (default, 'ROLE_USER','Dev', '{bcrypt}$2a$10$3WYoUm1SvwGnJOWHlK99m.kXBsSSSGvG7pH8n7OLNa/WBmaBdOXjW', 'dev')
CREATE TABLE IACUC_PROTO_CORRESP_TEMPL ( PROTO_CORRESP_TEMPL_ID NUMBER(12,0) NOT NULL, PROTO_CORRESP_TYPE_CODE VARCHAR2(3) NOT NULL, COMMITTEE_ID VARCHAR2(15) NOT NULL, FILE_NAME VARCHAR2(150) NOT NULL, UPDATE_TIMESTAMP DATE NOT NULL, UPDATE_USER VARCHAR2(60) NOT NULL, VER_NBR NUMBER(8,0) DEFAULT 1 NOT NULL, OBJ_ID VARCHAR2(36) NOT NULL, CORRESPONDENCE_TEMPLATE CLOB NULL ) / ALTER TABLE IACUC_PROTO_CORRESP_TEMPL ADD CONSTRAINT PK_IACUC_PROTO_CORRESP_TEMPL PRIMARY KEY (PROTO_CORRESP_TEMPL_ID) /
 CREATE PROC [ERP].[Usp_Ins_ResumenDiario] --'asd' @Nombre VARCHAR(250) AS BEGIN INSERT INTO [ERP].[ResumenDiario](Nombre,Fecha) VALUES (@Nombre,GETDATE()) END
-- MySQL dump 10.13 Distrib 5.6.23, for Win64 (x86_64) -- -- Host: 127.0.0.1 Database: inikierp -- ------------------------------------------------------ -- Server version 5.6.21 /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; /*!40101 SET NAMES utf8 */; /*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */; /*!40103 SET TIME_ZONE='+00:00' */; /*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */; /*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */; /*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */; /*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */; -- -- Table structure for table `sevenactrrecord` -- DROP TABLE IF EXISTS `sevenactrrecord`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `sevenactrrecord` ( `satrID` int(20) NOT NULL AUTO_INCREMENT COMMENT '主鍵', `sinID` bigint(20) NOT NULL COMMENT '訂單主鍵', `gcCode` varchar(8) NOT NULL COMMENT '配送邊行', `ordCode` varchar(32) NOT NULL COMMENT '訂單編號', `debitDate` date NOT NULL COMMENT '扣帳日期', `AdjDate` date NOT NULL COMMENT '調整日期', `factoryDate` date NOT NULL COMMENT '廠商進貨日', `storeDate` date NOT NULL COMMENT '門市進貨日', `money` decimal(10,0) NOT NULL COMMENT '代收金額', `taxlossMoney` decimal(10,0) NOT NULL COMMENT '應稅應賠金額', `noTaxlossMoney` decimal(10,0) NOT NULL COMMENT '未稅應賠金額', `adjQuantity` decimal(2,0) NOT NULL COMMENT '調整數量', `adjCode` decimal(10,0) NOT NULL COMMENT '應稅應賠金額', `adjMsg` varchar(30) NOT NULL COMMENT '調整原因說明', PRIMARY KEY (`satrID`), KEY `SEVENACTRRECORD` (`satrID`), KEY `sevenActrRecordF` (`sinID`), CONSTRAINT `sevenActrRecordF` FOREIGN KEY (`sinID`) REFERENCES `sevenorderrecord` (`sinID`) ) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `sevenactrrecord` -- LOCK TABLES `sevenactrrecord` WRITE; /*!40000 ALTER TABLE `sevenactrrecord` DISABLE KEYS */; INSERT INTO `sevenactrrecord` VALUES (1,2,'39400002','201303211001','2013-04-30','2013-03-29','2013-03-22','2013-03-23',14,12,0,0,0,'0011400-1B0進貨短少-出貨缺件'); /*!40000 ALTER TABLE `sevenactrrecord` ENABLE KEYS */; UNLOCK TABLES; /*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */; /*!40101 SET SQL_MODE=@OLD_SQL_MODE */; /*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */; /*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */; /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; /*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */; -- Dump completed on 2015-04-21 14:20:33
-- MySQL dump 10.13 Distrib 5.7.16, for osx10.11 (x86_64) -- -- Host: 127.0.0.1 Database: revenue -- ------------------------------------------------------ -- Server version 5.7.16 /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; /*!40101 SET NAMES utf8 */; /*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */; /*!40103 SET TIME_ZONE='+00:00' */; /*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */; /*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */; /*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */; /*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */; -- -- Table structure for table `contracts` -- DROP TABLE IF EXISTS `contracts`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `contracts` ( `ID` int(11) NOT NULL, `revenue` decimal(10,0) DEFAULT NULL, `dateSigned` date DEFAULT NULL, `product_id` int(11) NOT NULL, `modifiedby` varchar(20) NOT NULL, `modified` datetime NOT NULL, `version` int(11) NOT NULL, PRIMARY KEY (`ID`), KEY `FK_CONTRACT_TABLE_PRODUCT_ID` (`product_id`), CONSTRAINT `FK_CONTRACT_TABLE_PRODUCT_ID` FOREIGN KEY (`product_id`) REFERENCES `products` (`ID`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `contracts` -- LOCK TABLES `contracts` WRITE; /*!40000 ALTER TABLE `contracts` DISABLE KEYS */; INSERT INTO `contracts` VALUES (1,5000,'2016-11-29',1,'pyoung','2016-11-28 21:25:26',0),(2,10000,'2016-11-01',3,'pyoung','2016-11-28 21:25:16',0); /*!40000 ALTER TABLE `contracts` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `products` -- DROP TABLE IF EXISTS `products`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `products` ( `ID` int(11) NOT NULL, `type` varchar(20) DEFAULT NULL, `name` varchar(20) DEFAULT NULL, `modifiedby` varchar(20) NOT NULL, `modified` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, `version` int(11) NOT NULL, PRIMARY KEY (`ID`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `products` -- LOCK TABLES `products` WRITE; /*!40000 ALTER TABLE `products` DISABLE KEYS */; INSERT INTO `products` VALUES (1,'Spreadsheet','Excel Sheet 1','pyoung','2016-11-29 02:26:29',0),(2,'Word Processor','Word 1','pyoung','2016-11-29 02:26:29',0),(3,'Database','Access 1','pyoung','2016-11-29 02:26:29',0),(4,'Database','Access 2','pyoung','2016-11-29 02:26:29',0); /*!40000 ALTER TABLE `products` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `revenueRecognitions` -- DROP TABLE IF EXISTS `revenueRecognitions`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `revenueRecognitions` ( `ID` int(11) NOT NULL, `amount` decimal(10,0) DEFAULT NULL, `recognizedOn` date NOT NULL, `contract_id` int(11) NOT NULL, `modifiedby` varchar(20) NOT NULL, `modified` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, `version` int(11) NOT NULL, PRIMARY KEY (`contract_id`,`recognizedOn`), CONSTRAINT `revenueRecognitions_contracts_ID_fk` FOREIGN KEY (`contract_id`) REFERENCES `contracts` (`ID`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `revenueRecognitions` -- LOCK TABLES `revenueRecognitions` WRITE; /*!40000 ALTER TABLE `revenueRecognitions` DISABLE KEYS */; INSERT INTO `revenueRecognitions` VALUES (1,1667,'2016-11-29',1,'pyoung','2016-11-29 02:51:44',0),(2,1667,'2017-01-28',1,'pyoung','2016-11-29 02:51:44',0),(3,1667,'2017-02-27',1,'pyoung','2016-11-29 02:51:44',0),(4,3333,'2016-11-01',2,'pyoung','2016-11-29 02:51:44',0),(5,3333,'2016-12-01',2,'pyoung','2016-11-29 02:51:44',0),(6,3333,'2016-12-31',2,'pyoung','2016-11-29 02:51:44',0); /*!40000 ALTER TABLE `revenueRecognitions` ENABLE KEYS */; UNLOCK TABLES; /*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */; /*!40101 SET SQL_MODE=@OLD_SQL_MODE */; /*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */; /*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */; /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; /*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */; -- Dump completed on 2016-12-01 13:47:33
#HackerRank Top Competitors SELECT sub.hacker_id, hack.name FROM submissions AS sub LEFT JOIN challenges AS cha ON sub.challenge_id = cha.challenge_id LEFT JOIN difficulty AS diff ON cha.difficulty_level = diff.difficulty_level LEFT JOIN hackers AS hack ON sub.hacker_id = hack.hacker_id WHERE sub.score = diff.score GROUP BY sub.hacker_id, hack.name HAVING COUNT(sub.submission_id) > 1 ORDER BY COUNT(sub.submission_id) DESC, hacker_id ASC
DELETE FROM SCORING_CARD_NAME_TEMP WHERE SEQ_NO = /*sessionId*/''
-------------------------------------------------------- -- File created - Sunday-April-21-2019 -------------------------------------------------------- -------------------------------------------------------- -- DDL for View FACTURA_FULL -------------------------------------------------------- CREATE OR REPLACE FORCE EDITIONABLE VIEW "C##HOSPITAL2"."FACTURA_FULL" ("ID_FACTURA", "AUTORIZACION", "COBRO_CLIENTE", "CITA_ID", "FECHA", "NOMBRE", "APELLIDO", "SUBCAT", "CATEGORIA", "COSTO") AS SELECT f.ID_FACTURA, f.AUTORIZACION, f.COBRO_CLIENTE, c.CITA_ID, c.FECHA, c.NOMBRE, c.APELLIDO, c.SUBCAT, c.CATEGORIA, c.Costo FROM facturas f join citas_full c on f.CITA_ID = c.CITA_ID ;
alter table PLACEUR_RATING add constraint FK_PLACEUR_RATING_USER foreign key (USER_ID) references PLACEUR_USER(ID); alter table PLACEUR_RATING add constraint FK_PLACEUR_RATING_PLACE foreign key (PLACE_ID) references PLACEUR_PLACE(ID); create index IDX_PLACEUR_RATING_PLACE on PLACEUR_RATING (PLACE_ID); create index IDX_PLACEUR_RATING_USER on PLACEUR_RATING (USER_ID);
INSERT INTO member (id, membername, username, password, sonof, profilepic, dob, gender, relationship_status, gaon, related_to, emailid, alive, aboutme, lastlogin, joined, approved, tokenforact) VALUES (2, 'Harikar Thakur', '', '', NULL, NULL, NULL, 0, 0, '', NULL, '', 0, '', NULL, NULL, 0, NULL), (17, 'Harigiv Kharajpur', '', '', 16, NULL, NULL, 0, 0, '', NULL, '', 0, '', NULL, NULL, 0, NULL), (11, 'Shri Ram (Barheta)', '', '', 2, NULL, NULL, 0, 0, '', NULL, '', 0, '', NULL, NULL, 0, NULL), (10, 'Balbhadra (Taralahi)', '', '', 2, NULL, NULL, 0, 0, '', NULL, '', 0, '', NULL, NULL, 0, NULL), (16, 'Devki Nandan', '', '', 15, NULL, NULL, 0, 0, '', NULL, '', 0, '', NULL, NULL, 0, NULL), (15, 'Madhusudan (Aahil)', '', '', 2, NULL, NULL, 0, 0, '', NULL, '', 0, '', NULL, NULL, 0, NULL), (18, 'Chiranjiv Ratupur', '', '', 16, NULL, NULL, 0, 0, '', NULL, '', 0, '', NULL, NULL, 0, NULL), (19, 'Hishikesh', '', '', 18, NULL, NULL, 0, 0, '', NULL, '', 0, '', NULL, NULL, 0, NULL), (20, 'Balchand', '', '', 19, NULL, NULL, 0, 0, '', NULL, '', 0, '', NULL, NULL, 0, NULL), (21, 'Balakram', '', '', 19, NULL, NULL, 0, 0, '', NULL, '', 0, '', NULL, NULL, 0, NULL), (65, 'Amitabh Chandan', '', '', 62, NULL, NULL, 0, 0, '', NULL, '', 0, '', NULL, NULL, 0, NULL), (62, 'Kashinath', '', '', 61, NULL, NULL, 0, 0, '', NULL, '', 0, '', NULL, NULL, 0, NULL), (61, 'Baldev', '', '', 58, NULL, NULL, 0, 0, '', NULL, '', 0, '', NULL, NULL, 0, NULL), (60, 'Haridev', '', '', 58, NULL, NULL, 0, 0, '', NULL, '', 0, '', NULL, NULL, 0, NULL), (59, 'Govind', '', '', 58, NULL, NULL, 0, 0, '', NULL, '', 0, '', NULL, NULL, 0, NULL), (58, 'Lalji', '', '', 55, NULL, NULL, 0, 0, '', NULL, '', 0, '', NULL, NULL, 0, NULL), (56, 'Jagannath', '', '', 54, NULL, NULL, 0, 0, '', NULL, '', 0, '', NULL, NULL, 0, NULL), (57, 'Vishvanath', '', '', 54, NULL, NULL, 0, 0, '', NULL, '', 0, '', NULL, NULL, 0, NULL), (55, 'Baidhnath', '', '', 54, NULL, NULL, 0, 0, '', NULL, '', 0, '', NULL, NULL, 0, NULL), (54, 'Kaval Krishna', '', '', 20, NULL, NULL, 0, 0, '', NULL, '', 0, '', NULL, NULL, 0, NULL), (37, 'Paharh Singh', '', '', 19, NULL, NULL, 0, 0, '', NULL, '', 0, '', NULL, NULL, 0, NULL), (38, 'Mangal Singh', '', '', 37, NULL, NULL, 0, 0, '', NULL, '', 0, '', NULL, NULL, 0, NULL), (39, 'Babu Lal', '', '', 38, NULL, NULL, 0, 0, '', NULL, '', 0, '', NULL, NULL, 0, NULL), (40, 'Pashupati', '', '', 39, NULL, NULL, 0, 0, '', NULL, '', 0, '', NULL, NULL, 0, NULL), (41, 'Panchmani', '', '', 39, NULL, NULL, 0, 0, '', NULL, '', 0, '', NULL, NULL, 0, NULL), (42, 'Nilambar', '', '', 40, NULL, NULL, 0, 0, '', NULL, '', 0, '', NULL, NULL, 0, NULL), (43, 'Singheshwar', '', '', 40, NULL, NULL, 0, 0, '', NULL, '', 0, '', NULL, NULL, 0, NULL), (44, 'Vinod', '', '', 43, NULL, NULL, 0, 0, '', NULL, '', 0, '', NULL, NULL, 0, NULL), (45, 'Subodh', '', '', 43, NULL, NULL, 0, 0, '', NULL, '', 0, '', NULL, NULL, 0, NULL), (46, 'Subhal Kishor', '', '', 41, NULL, NULL, 0, 0, '', NULL, '', 0, '', NULL, NULL, 0, NULL), (47, 'Avadh Kishor', '', '', 41, NULL, NULL, 0, 0, '', NULL, '', 0, '', NULL, NULL, 0, NULL), (49, 'Rajeshwar', '', '', 47, NULL, NULL, 0, 0, '', NULL, '', 0, '', NULL, NULL, 0, NULL), (50, 'Arun Kumar', '', '', 49, NULL, NULL, 0, 0, '', NULL, '', 0, '', NULL, NULL, 0, NULL), (64, 'Arvind', '', '', 62, NULL, NULL, 0, 0, '', NULL, '', 0, '', NULL, NULL, 0, NULL), (63, 'Ashok', '', '', 62, NULL, NULL, 0, 0, '', NULL, '', 0, '', NULL, NULL, 0, NULL), (66, 'Rituraj Ranjan', '', '', 62, NULL, NULL, 0, 0, '', NULL, '', 0, '', NULL, NULL, 0, NULL), (67, 'Darbari', '', '', 56, NULL, NULL, 0, 0, '', NULL, '', 0, '', NULL, NULL, 0, NULL), (68, 'Banvari', '', '', 56, NULL, NULL, 0, 0, '', NULL, '', 0, '', NULL, NULL, 0, NULL), (69, 'Balmukund', '', '', 68, NULL, NULL, 0, 0, '', NULL, '', 0, '', NULL, NULL, 0, NULL), (70, 'Damodar', '', '', 69, NULL, NULL, 0, 0, '', NULL, '', 0, '', NULL, NULL, 0, NULL), (71, 'Hari Mukund', '', '', 67, NULL, NULL, 0, 0, '', NULL, '', 0, '', NULL, NULL, 0, NULL), (72, 'Madhav Mukund', '', '', 67, NULL, NULL, 0, 0, '', NULL, '', 0, '', NULL, NULL, 0, NULL), (73, 'Krishna Kumar', '', '', 71, NULL, NULL, 0, 0, '', NULL, '', 0, '', NULL, NULL, 0, NULL), (74, 'Braj Kumar', '', '', 71, NULL, NULL, 0, 0, '', NULL, '', 0, '', NULL, NULL, 0, NULL), (75, 'Jivach', '', '', 71, NULL, NULL, 0, 0, '', NULL, '', 0, '', NULL, NULL, 0, NULL), (76, 'Gunanand', '', '', 74, NULL, NULL, 0, 0, '', NULL, '', 0, '', NULL, NULL, 0, NULL), (77, 'Punyanand', '', '', 74, NULL, NULL, 0, 0, '', NULL, '', 0, '', NULL, NULL, 0, NULL), (78, 'Jagatanand', '', '', 74, NULL, NULL, 0, 0, '', NULL, '', 0, '', NULL, NULL, 0, NULL), (79, 'Neeraj', '', '', 76, NULL, NULL, 0, 0, '', NULL, '', 0, '', NULL, NULL, 0, NULL), (80, 'Dheeraj', '', '', 76, NULL, NULL, 0, 0, '', NULL, '', 0, '', NULL, NULL, 0, NULL), (81, 'Ganshyam', '', '', 75, NULL, NULL, 0, 0, '', NULL, '', 0, '', NULL, NULL, 0, NULL), (82, 'Shyam Kishor', '', '', 75, NULL, NULL, 0, 0, '', NULL, '', 0, '', NULL, NULL, 0, NULL), (83, 'Indra Kumar', '', '', 72, NULL, NULL, 0, 0, '', NULL, '', 0, '', NULL, NULL, 0, NULL), (84, 'Kali Kumar', '', '', 72, NULL, NULL, 0, 0, '', NULL, '', 0, '', NULL, NULL, 0, NULL), (85, 'Sunil Kumar', '', '', 83, NULL, NULL, 0, 0, '', NULL, '', 0, '', NULL, NULL, 0, NULL), (86, 'Subodh Kumar', '', '', 83, NULL, NULL, 0, 0, '', NULL, '', 0, '', NULL, NULL, 0, NULL), (87, 'Shiv Shankar', '', '', 83, NULL, NULL, 0, 0, '', NULL, '', 0, '', NULL, NULL, 0, NULL), (88, 'Sujeet Kumar', '', '', 83, NULL, NULL, 0, 0, '', NULL, '', 0, '', NULL, NULL, 0, NULL), (89, 'Sudhir Kumar', '', '', 84, NULL, NULL, 0, 0, '', NULL, '', 0, '', NULL, NULL, 0, NULL), (90, 'Shri Lal', '', '', 57, NULL, NULL, 0, 0, '', NULL, '', 0, '', NULL, NULL, 0, NULL), (91, 'Sundar Lal', '', '', 57, NULL, NULL, 0, 0, '', NULL, '', 0, '', NULL, NULL, 0, NULL), (92, 'Parmanand', '', '', 90, NULL, NULL, 0, 0, '', NULL, '', 0, '', NULL, NULL, 0, NULL), (93, 'Achyutanand', '', '', 90, NULL, NULL, 0, 0, '', NULL, '', 0, '', NULL, NULL, 0, NULL), (101, 'Brijendra', '', '', 100, NULL, NULL, 0, 0, '', NULL, '', 0, '', NULL, NULL, 0, NULL), (95, 'Dhirendra Lal Das', '', '', 93, NULL, NULL, 0, 0, '', NULL, '', 0, '', NULL, NULL, 0, NULL), (96, 'Upendra Kumar Das', '', '', 93, NULL, NULL, 0, 0, '', NULL, '', 0, '', NULL, NULL, 0, NULL), (97, 'Jitendra Kumar Das', '', '', 93, NULL, NULL, 0, 0, '', NULL, '', 0, '', NULL, NULL, 0, NULL), (100, 'Sachidanand', '', '', 90, NULL, NULL, 0, 0, '', NULL, '', 0, '', NULL, NULL, 0, NULL), (102, 'Ramnarayan', '', '', 101, NULL, NULL, 0, 0, '', NULL, '', 0, '', NULL, NULL, 0, NULL), (103, 'Krishnanarayan', '', '', 101, NULL, NULL, 0, 0, '', NULL, '', 0, '', NULL, NULL, 0, NULL), (104, 'Bachanraj Raman', '', '', 101, NULL, NULL, 0, 0, '', NULL, '', 0, '', NULL, NULL, 0, NULL), (105, 'Yadav Singh', '', '', 19, NULL, NULL, 0, 0, '', NULL, '', 0, '', NULL, NULL, 0, NULL), (106, 'Dev Narayan', '', '', 105, NULL, NULL, 0, 0, '', NULL, '', 0, '', NULL, NULL, 0, NULL), (107, 'Sanphul', '', '', 105, NULL, NULL, 0, 0, '', NULL, '', 0, '', NULL, NULL, 0, NULL), (108, 'Baccha', '', '', 105, NULL, NULL, 0, 0, '', NULL, '', 0, '', NULL, NULL, 0, NULL), (109, 'Sabur', '', '', 105, NULL, NULL, 0, 0, '', NULL, '', 0, '', NULL, NULL, 0, NULL), (110, 'Radhe Krishna', '', '', 108, NULL, NULL, 0, 0, '', NULL, '', 0, '', NULL, NULL, 0, NULL), (111, 'Nikah', '', '', 108, NULL, NULL, 0, 0, '', NULL, '', 0, '', NULL, NULL, 0, NULL), (112, 'Gauri Das', '', '', 111, NULL, NULL, 0, 0, '', NULL, '', 0, '', NULL, NULL, 0, NULL), (186, 'Prabhash', '', '', 185, NULL, NULL, 0, 0, '', NULL, '', 0, '', NULL, NULL, 0, NULL), (185, 'Rajeshwar', '', '', 184, NULL, NULL, 0, 0, '', NULL, '', 0, '', NULL, NULL, 0, NULL), (184, 'Baldev', '', '', 117, NULL, NULL, 0, 0, '', NULL, '', 0, '', NULL, NULL, 0, NULL), (117, 'HiraLal', '', '', 112, NULL, NULL, 0, 0, '', NULL, '', 0, '', NULL, NULL, 0, NULL), (118, 'Motilal', '', '', 112, NULL, NULL, 0, 0, '', NULL, '', 0, '', NULL, NULL, 0, NULL), (119, 'Manohar Lal', '', '', 112, NULL, NULL, 0, 0, '', NULL, '', 0, '', NULL, NULL, 0, NULL), (120, 'Shyam Lal', '', '', 109, NULL, NULL, 0, 0, '', NULL, '', 0, '', NULL, NULL, 0, NULL), (121, 'Nanu', '', '', 109, NULL, NULL, 0, 0, '', NULL, '', 0, '', NULL, NULL, 0, NULL), (122, 'Hemkar', '', '', 109, NULL, NULL, 0, 0, '', NULL, '', 0, '', NULL, NULL, 0, NULL), (123, 'Fekan', '', '', 121, NULL, NULL, 0, 0, '', NULL, '', 0, '', NULL, NULL, 0, NULL), (124, 'Bihari', '', '', 121, NULL, NULL, 0, 0, '', NULL, '', 0, '', NULL, NULL, 0, NULL), (125, 'Bhishan', '', '', 121, NULL, NULL, 0, 0, '', NULL, '', 0, '', NULL, NULL, 0, NULL), (126, 'Mahadev', '', '', 124, NULL, NULL, 0, 0, '', NULL, '', 0, '', NULL, NULL, 0, NULL), (127, 'Jagdish', '', '', 126, NULL, NULL, 0, 0, '', NULL, '', 0, '', NULL, NULL, 0, NULL), (128, 'Vishva Mohan', '', '', 127, NULL, NULL, 0, 0, '', NULL, '', 0, '', NULL, NULL, 0, NULL), (129, 'Lalit Mohan', '', '', 127, NULL, NULL, 0, 0, '', NULL, '', 0, '', NULL, NULL, 0, NULL), (130, 'Munna', '', '', 125, NULL, NULL, 0, 0, '', NULL, '', 0, '', NULL, NULL, 0, NULL), (131, 'Boua', '', '', 125, NULL, NULL, 0, 0, '', NULL, '', 0, '', NULL, NULL, 0, NULL), (132, 'Pitambar', '', '', 125, NULL, NULL, 0, 0, '', NULL, '', 0, '', NULL, NULL, 0, NULL), (133, 'Ajab Lal', '', '', 132, NULL, NULL, 0, 0, '', NULL, '', 0, '', NULL, NULL, 0, NULL), (134, 'Neva Lal', '', '', 132, NULL, NULL, 0, 0, '', NULL, '', 0, '', NULL, NULL, 0, NULL), (135, 'Shayam Lal', '', '', 132, NULL, NULL, 0, 0, '', NULL, '', 0, '', NULL, NULL, 0, NULL), (136, 'Indramani', '', '', 122, NULL, NULL, 0, 0, '', NULL, '', 0, '', NULL, NULL, 0, NULL), (137, 'Bhola', '', '', 136, NULL, NULL, 0, 0, '', NULL, '', 0, '', NULL, NULL, 0, NULL), (138, 'Bhuvneshwar', '', '', 137, NULL, NULL, 0, 0, '', NULL, '', 0, '', NULL, NULL, 0, NULL), (139, 'Jata Shankar', '', '', 138, NULL, NULL, 0, 0, '', NULL, '', 0, '', NULL, NULL, 0, NULL), (140, 'Shiv Shankar', '', '', 138, NULL, NULL, 0, 0, '', NULL, '', 0, '', NULL, NULL, 0, NULL), (141, 'Chandra Mohan', '', '', 138, NULL, NULL, 0, 0, '', NULL, '', 0, '', NULL, NULL, 0, NULL), (142, 'Vinod', '', '', 138, NULL, NULL, 0, 0, '', NULL, '', 0, '', NULL, NULL, 0, NULL), (143, 'Baleshwar', '', '', 47, NULL, NULL, 0, 0, '', NULL, '', 0, '', NULL, NULL, 0, NULL), (144, 'Parmeshwar', '', '', 47, NULL, NULL, 0, 0, '', NULL, '', 0, '', NULL, NULL, 0, NULL), (145, 'Sureshwar', '', '', 47, NULL, NULL, 0, 0, '', NULL, '', 0, '', NULL, NULL, 0, NULL), (146, 'Bhairav Lal', '', '', 143, NULL, NULL, 0, 0, '', NULL, '', 0, '', NULL, NULL, 0, NULL), (147, 'Amar Kumar Lal', '', '', 143, NULL, NULL, 0, 0, '', NULL, '', 0, '', NULL, NULL, 0, NULL), (148, 'Murlidhar', '', '', 146, NULL, NULL, 0, 0, '', NULL, '', 0, '', NULL, NULL, 0, NULL), (149, 'Pankaj', '', '', 145, NULL, NULL, 0, 0, '', NULL, '', 0, '', NULL, NULL, 0, NULL), (150, 'Chandan', '', '', 145, NULL, NULL, 0, 0, '', NULL, '', 0, '', NULL, NULL, 0, NULL), (151, 'Sukhdev', '', '', 41, NULL, NULL, 0, 0, '', NULL, '', 0, '', NULL, NULL, 0, NULL), (152, 'Kapleshwar', '', '', 151, NULL, NULL, 0, 0, '', NULL, '', 0, '', NULL, NULL, 0, NULL), (153, 'Jageshwar', '', '', 151, NULL, NULL, 0, 0, '', NULL, '', 0, '', NULL, NULL, 0, NULL), (154, 'Satish Kumar Das', '', '', 152, NULL, NULL, 0, 0, '', NULL, '', 0, '', NULL, NULL, 0, NULL), (155, 'Ashok Kumar', '', '', 152, NULL, NULL, 0, 0, '', NULL, '', 0, '', NULL, NULL, 0, NULL), (156, 'Madhav', '', '', 155, NULL, NULL, 0, 0, '', NULL, '', 0, '', NULL, NULL, 0, NULL), (157, 'Govind', '', '', 155, NULL, NULL, 0, 0, '', NULL, '', 0, '', NULL, NULL, 0, NULL), (158, 'Vimal Kumar', '', '', 153, NULL, NULL, 0, 0, '', NULL, '', 0, '', NULL, NULL, 0, NULL), (159, 'Bajrang Lal', '', '', 153, NULL, NULL, 0, 0, '', NULL, '', 0, '', NULL, NULL, 0, NULL), (160, 'Thakur Singh', '', '', 20, NULL, NULL, 0, 0, '', NULL, '', 0, '', NULL, NULL, 0, NULL), (161, 'Rang Lal', '', '', 160, NULL, NULL, 0, 0, '', NULL, '', 0, '', NULL, NULL, 0, NULL), (162, 'Amrit Lal', '', '', 160, NULL, NULL, 0, 0, '', NULL, '', 0, '', NULL, NULL, 0, NULL), (163, 'Shankar Das', '', '', 162, NULL, NULL, 0, 0, '', NULL, '', 0, '', NULL, NULL, 0, NULL), (164, 'Bhagvat', '', '', 163, NULL, NULL, 0, 0, '', NULL, '', 0, '', NULL, NULL, 0, NULL), (165, 'Shiv Narayan', '', '', 164, NULL, NULL, 0, 0, '', NULL, '', 0, '', NULL, NULL, 0, NULL), (166, 'Laxmi Narayan', '', '', 164, NULL, NULL, 0, 0, '', NULL, '', 0, '', NULL, NULL, 0, NULL), (167, 'Dayanand', '', '', 165, NULL, NULL, 0, 0, '', NULL, '', 0, '', NULL, NULL, 0, NULL), (168, 'Khelanand', '', '', 165, NULL, NULL, 0, 0, '', NULL, '', 0, '', NULL, NULL, 0, NULL), (169, 'Manoj', '', '', 167, NULL, NULL, 0, 0, '', NULL, '', 0, '', NULL, NULL, 0, NULL), (170, 'Mukesh', '', '', 167, NULL, NULL, 0, 0, '', NULL, '', 0, '', NULL, NULL, 0, NULL), (171, 'Kamlesh', '', '', 167, NULL, NULL, 0, 0, '', NULL, '', 0, '', NULL, NULL, 0, NULL), (172, 'Chatur Bhuj', '', '', 20, NULL, NULL, 0, 0, '', NULL, '', 0, '', NULL, NULL, 0, NULL), (173, 'Jay Ram', '', '', 172, NULL, NULL, 0, 0, '', NULL, '', 0, '', NULL, NULL, 0, NULL), (174, 'Sita Ram', '', '', 172, NULL, NULL, 0, 0, '', NULL, '', 0, '', NULL, NULL, 0, NULL), (175, 'Manohar', '', '', 174, NULL, NULL, 0, 0, '', NULL, '', 0, '', NULL, NULL, 0, NULL), (176, 'Murlidhar', '', '', 175, NULL, NULL, 0, 0, '', NULL, '', 0, '', NULL, NULL, 0, NULL), (177, 'Praveen Prakash', '', '', 96, NULL, NULL, 0, 0, '', NULL, '', 0, '', NULL, NULL, 0, NULL), (178, 'Piyush Prakash', '', '', 96, NULL, NULL, 0, 0, '', NULL, '', 0, '', NULL, NULL, 0, NULL), (180, 'Prabhat Prakash', '', '', 95, NULL, NULL, 0, 0, '', NULL, '', 0, '', NULL, NULL, 0, NULL), (181, 'Mrityunjay', '', '', 89, NULL, NULL, 0, 0, '', NULL, '', 0, '', NULL, NULL, 0, NULL), (187, 'Subhash', '', '', 185, NULL, NULL, 0, 0, '', NULL, '', 0, '', NULL, NULL, 0, NULL), (188, 'BankeLal', '', '', 118, NULL, NULL, 0, 0, '', NULL, '', 0, '', NULL, NULL, 0, NULL), (189, 'Rasdhari', '', '', 118, NULL, NULL, 0, 0, '', NULL, '', 0, '', NULL, NULL, 0, NULL), (190, 'Kumar Rameshwar', '', '', 188, NULL, NULL, 0, 0, '', NULL, '', 0, '', NULL, NULL, 0, NULL), (191, 'Kumar Dineshwar', '', '', 188, NULL, NULL, 0, 0, '', NULL, '', 0, '', NULL, NULL, 0, NULL), (192, 'Kumar Umeshwar', '', '', 188, NULL, NULL, 0, 0, '', NULL, '', 0, '', NULL, NULL, 0, NULL), (193, 'Kumar Rajendra (Lalit)', '', '', 190, NULL, NULL, 0, 0, '', NULL, '', 0, '', NULL, NULL, 0, NULL), (194, 'Jitendra', '', '', 190, NULL, NULL, 0, 0, '', NULL, '', 0, '', NULL, NULL, 0, NULL), (195, 'Narendra (Shambu)', '', '', 190, NULL, NULL, 0, 0, '', NULL, '', 0, '', NULL, NULL, 0, NULL), (196, 'Rupak', '', '', 190, NULL, NULL, 0, 0, '', NULL, '', 0, '', NULL, NULL, 0, NULL), (197, 'Shailesh', '', '', 190, NULL, NULL, 0, 0, '', NULL, '', 0, '', NULL, NULL, 0, NULL), (198, 'Deepak', '', '', 191, NULL, NULL, 0, 0, '', NULL, '', 0, '', NULL, NULL, 0, NULL), (199, 'Bhagwan', '', '', 191, NULL, NULL, 0, 0, '', NULL, '', 0, '', NULL, NULL, 0, NULL), (200, 'Naveen', '', '', 191, NULL, NULL, 0, 0, '', NULL, '', 0, '', NULL, NULL, 0, NULL), (201, 'Golu', '', '', 191, NULL, NULL, 0, 0, '', NULL, '', 0, '', NULL, NULL, 0, NULL), (202, 'Piyush', '', '', 192, NULL, NULL, 0, 0, '', NULL, '', 0, '', NULL, NULL, 0, NULL), (203, 'Babbu', '', '', 192, NULL, NULL, 0, 0, '', NULL, '', 0, '', NULL, NULL, 0, NULL), (204, 'Nishu', '', '', 192, NULL, NULL, 0, 0, '', NULL, '', 0, '', NULL, NULL, 0, NULL), (205, 'Satdev', '', '', 118, NULL, NULL, 0, 0, '', NULL, '', 0, '', NULL, NULL, 0, NULL), (206, 'Kailash Bihari', '', '', 205, NULL, NULL, 0, 0, '', NULL, '', 0, '', NULL, NULL, 0, NULL), (207, 'Bijiyanand', '', '', 205, NULL, NULL, 0, 0, '', NULL, '', 0, '', NULL, NULL, 0, NULL), (208, 'Vinod Bihari', '', '', 205, NULL, NULL, 0, 0, '', NULL, '', 0, '', NULL, NULL, 0, NULL), (209, 'Saket Saurav (Murari)', '', '', 206, NULL, NULL, 0, 0, '', NULL, '', 0, '', NULL, NULL, 0, NULL), (210, 'Shishir Saurav (Rajan)', '', '', 207, NULL, NULL, 0, 0, '', NULL, '', 0, '', NULL, NULL, 0, NULL), (211, 'Jivach Lal', '', '', 119, NULL, NULL, 0, 0, '', NULL, '', 0, '', NULL, NULL, 0, NULL), (212, 'Devnarayan', '', '', 211, NULL, NULL, 0, 0, '', NULL, '', 0, '', NULL, NULL, 0, NULL), (213, 'Harnarayan', '', '', 211, NULL, NULL, 0, 0, '', NULL, '', 0, '', NULL, NULL, 0, NULL), (214, 'Sarvnarayan', '', '', 212, NULL, NULL, 0, 0, '', NULL, '', 0, '', NULL, NULL, 0, NULL), (215, 'Dharnarayan', '', '', 212, NULL, NULL, 0, 0, '', NULL, '', 0, '', NULL, NULL, 0, NULL), (216, 'Kharagnarayan', '', '', 212, NULL, NULL, 0, 0, '', NULL, '', 0, '', NULL, NULL, 0, NULL), (217, 'Shivnarayan', '', '', 212, NULL, NULL, 0, 0, '', NULL, '', 0, '', NULL, NULL, 0, NULL), (218, 'Yognarayan (Laxman)', '', '', 213, NULL, NULL, 0, 0, '', NULL, '', 0, '', NULL, NULL, 0, NULL), (219, 'Bharat Narayan (Bhawnath)', '', '', 213, NULL, NULL, 0, 0, '', NULL, '', 0, '', NULL, NULL, 0, NULL), (220, 'Kanahiya', '', '', 213, NULL, NULL, 0, 0, '', NULL, '', 0, '', NULL, NULL, 0, NULL), (221, 'Sambhav', '', '', 87, NULL, NULL, 0, 0, '', NULL, '', 0, '', NULL, NULL, 0, NULL), (222, 'Shardul Samrat Vikram (Harshit)', '', '', 86, NULL, NULL, 0, 0, '', NULL, '', 0, '', NULL, NULL, 0, NULL), (223, 'Sushant', '', '', 85, NULL, NULL, 0, 0, '', NULL, '', 0, '', NULL, NULL, 0, NULL), (224, 'Chunnu', '', '', 75, NULL, NULL, 0, 0, '', NULL, '', 0, '', NULL, NULL, 0, NULL), (233, 'Siddharth Saurav (Mantun)', '', '', 208, NULL, NULL, 0, 0, '', NULL, '', 0, '', NULL, NULL, 0, NULL), (235, 'Krishna Bihari', '', '', 189, NULL, NULL, 0, 0, '', NULL, '', 0, '', NULL, NULL, 0, NULL), (236, 'Ram Bihari', '', '', 189, NULL, NULL, 0, 0, '', NULL, '', 0, '', NULL, NULL, 0, NULL), (237, 'Maheshwar', '', '', 189, NULL, NULL, 0, 0, '', NULL, '', 0, '', NULL, NULL, 0, NULL), (238, 'Dev Kumar', '', '', 235, NULL, NULL, 0, 0, '', NULL, '', 0, '', NULL, NULL, 0, NULL), (239, 'Sitaram', '', '', 235, NULL, NULL, 0, 0, '', NULL, '', 0, '', NULL, NULL, 0, NULL), (240, 'Chandra Mohan', '', '', 235, NULL, NULL, 0, 0, '', NULL, '', 0, '', NULL, NULL, 0, NULL), (241, 'Chote', '', '', 235, NULL, NULL, 0, 0, '', NULL, '', 0, '', NULL, NULL, 0, NULL), (242, 'Pappu', '', '', 235, NULL, NULL, 0, 0, '', NULL, '', 0, '', NULL, NULL, 0, NULL), (243, 'Munna', '', '', 236, NULL, NULL, 0, 0, '', NULL, '', 0, '', NULL, NULL, 0, NULL), (244, 'Bachun', '', '', 237, NULL, NULL, 0, 0, '', NULL, '', 0, '', NULL, NULL, 0, NULL), (245, 'Sanjay', '', '', 237, NULL, NULL, 0, 0, '', NULL, '', 0, '', NULL, NULL, 0, NULL), (249, 'Pramod', '', '', 140, NULL, NULL, 0, 0, '', NULL, '', 0, '', NULL, NULL, 0, NULL), (247, 'Manoj', '', '', 140, NULL, NULL, 0, 0, '', NULL, '', 0, '', NULL, NULL, 0, NULL), (250, 'Awdhesh Kumar', '', '', 139, NULL, NULL, 0, 0, '', NULL, '', 0, '', NULL, NULL, 0, NULL), (251, 'Mithilesh Kumar', '', '', 139, NULL, NULL, 0, 0, '', NULL, '', 0, '', NULL, NULL, 0, NULL), (252, ' Mr. Rajesh Kumar', '', '', 139, NULL, NULL, 0, 0, '', NULL, '', 0, '', NULL, NULL, 0, NULL), (253, 'Mr. Dipesh Kumar', '', '', 139, NULL, NULL, 0, 0, '', NULL, '', 0, '', NULL, NULL, 0, NULL), (254, ' Mr. Bhupesh Kumar', '', '', 139, NULL, NULL, 0, 0, '', NULL, '', 0, '', NULL, NULL, 0, NULL); (255, 'Harsh', '', '' , 77, NULL, NULL, 0, 0, '', NULL, '', 0, '', NULL, NULL, 0, NULL); (256, 'Harsh', '', '', 78, NULL, NULL, 0, 0, '', NULL, '', 0, '', NULL, NULL, 0, NULL); (257, 'Bullu ji', '', '', 84, NULL, NULL, 0, 0, '', NULL, '', 0, '', NULL, NULL, 0, NULL); (258, 'Tej Das', '', '', 64, NULL, NULL, 0, 0, '', NULL, '', 0, '', NULL, NULL, 0, NULL); (259, 'Girdhar', '', '', 147, NULL, NULL, 0, 0, '', NULL, '', 0, '', NULL, NULL, 0, NULL); (260, 'Kaushal Kishor', '', '', 144, NULL, NULL, 0, 0, '', NULL, '', 0, '', NULL, NULL, 0, NULL); (261, 'Sonu', '', '', 144, NULL, NULL, 0, 0, '', NULL, '', 0, '', NULL, NULL, 0, NULL); (262, 'Lala', '', '', 239, NULL, NULL, 0, 0, '', NULL, '', 0, '', NULL, NULL, 0, NULL); (263, 'Deepak', '', '' , 238, NULL, NULL, 0, 0, '', NULL, '', 0, '', NULL, NULL, 0, NULL); (264, 'Mithelesh', '', '', 238, NULL, NULL, 0, 0, '', NULL, '', 0, '', NULL, NULL, 0, NULL); (265, 'Tinku', '', '', 238, NULL, NULL, 0, 0, '', NULL, '', 0, '', NULL, NULL, 0, NULL); (266, 'Tinku', '', '', 215, NULL, NULL, 0, 0, '', NULL, '', 0, '', NULL, NULL, 0, NULL); (267, 'Pintu', '', '', 215, NULL, NULL, 0, 0, '', NULL, '', 0, '', NULL, NULL, 0, NULL); (268, 'Chintu', '', '', 218, NULL, NULL, 0, 0, '', NULL, '', 0, '', NULL, NULL, 0, NULL); (269, 'Munna', '', '', 128, NULL, NULL, 0, 0, '', NULL, '', 0, '', NULL, NULL, 0, NULL); (270, 'Manish', '','', 128, NULL, NULL, 0, 0, '', NULL, '', 0, '', NULL, NULL, 0, NULL); (271, 'Sandeep', '', '', 141, NULL, NULL, 0, 0, '', NULL, '', 0, '', NULL, NULL, 0, NULL); (272, 'Sanjay', '', '', 141, NULL, NULL, 0, 0, '', NULL, '', 0, '', NULL, NULL, 0, NULL);
SELECT cohorts.name AS cohort, SUM(completed_at - started_at) AS total_duration FROM assistance_requests JOIN students ON student_id=students.id JOIN cohorts ON cohort_id=cohorts.id GROUP BY cohorts.name ORDER BY total_duration;
INSERT INTO person VALUES ('d5979da4-f764-4787-af29-90fab3fce2bf', 'first_name', 'last_name'); INSERT INTO person VALUES ('021560c4-a340-408a-ae54-ef90d665345e', 'first_name', 'last_name'); INSERT INTO person VALUES ('77a5271e-59c4-41e2-a478-09002080fea1', 'first_name', 'last_name'); INSERT INTO person VALUES ('da54d34a-b5a1-41b7-b6d0-c431efddd17d', 'first_name', 'last_name'); INSERT INTO person VALUES ('ed6bfa0c-0831-494a-892b-6ce5b92a16e7', 'first_name', 'last_name'); INSERT INTO person VALUES ('1a913647-edec-4925-a697-82b043c4eae5', 'first_name', 'last_name'); INSERT INTO person VALUES ('34328117-4751-4403-8313-c5ce681bfb79', 'first_name', 'last_name'); INSERT INTO person VALUES ('4c80a287-62b9-4bd4-856b-51d432126834', 'first_name', 'last_name'); INSERT INTO person VALUES ('bf9df808-50cf-4749-a104-fa4791859679', 'first_name', 'last_name'); INSERT INTO person VALUES ('bcf3fa3f-ac33-4123-99b5-ec4444b8d23f', 'first_name', 'last_name'); INSERT INTO person VALUES ('28223d82-ea7f-4fa9-a1b6-82bc9fd29671', 'first_name', 'last_name'); INSERT INTO person VALUES ('f41a55ab-dfb6-4cf2-8e54-933fba011faf', 'first_name', 'last_name'); INSERT INTO person VALUES ('4459284d-ea7d-4e11-a26b-bf32f91d4989', 'first_name', 'last_name'); INSERT INTO person VALUES ('0e120bb1-269a-4230-afd5-ea274f3d7c88', 'first_name', 'last_name'); INSERT INTO person VALUES ('c247f73f-7c10-4c28-8b29-de1861d26948', 'first_name', 'last_name'); INSERT INTO person VALUES ('2b60708f-9335-4334-8b1b-f1fdc8de09c2', 'first_name', 'last_name'); INSERT INTO person VALUES ('b83f96ff-f305-4b4e-be1a-d04c74c7dd86', 'first_name', 'last_name'); INSERT INTO person VALUES ('d22c7420-40ad-4e39-bc01-724bba194bda', 'first_name', 'last_name'); INSERT INTO person VALUES ('af9a14a0-4e04-4c26-86b4-afcaa72df821', 'first_name', 'last_name'); INSERT INTO person VALUES ('b0de506f-092f-4559-b509-b95d231c9829', 'first_name', 'last_name'); INSERT INTO person VALUES ('8533e39e-0a38-4eca-a6ae-a7fff542feb2', 'first_name', 'last_name'); INSERT INTO person VALUES ('529bce34-1ff8-4fc0-8088-ea3bd7a0a94f', 'first_name', 'last_name'); INSERT INTO person VALUES ('9d82011b-0f45-47b7-a2d4-8281c67a5e2a', 'first_name', 'last_name'); INSERT INTO person VALUES ('ccd03894-e3e2-4650-adc6-7c9c7e18fd1c', 'first_name', 'last_name'); INSERT INTO person VALUES ('01afde4b-b9f6-4308-a65d-deff04a843ff', 'first_name', 'last_name'); INSERT INTO person VALUES ('0bc001a4-cc52-4e15-b9ba-3a468857d5d0', 'first_name', 'last_name'); INSERT INTO person VALUES ('70f88fc6-39f6-4515-b4ee-f2d5cdbc52fb', 'first_name', 'last_name'); INSERT INTO person VALUES ('47424b12-b2fa-4ce0-b9ee-23afd807748b', 'first_name', 'last_name'); INSERT INTO person VALUES ('4c8abeb3-f3b4-4234-8d83-0b1954fa8953', 'first_name', 'last_name'); INSERT INTO person VALUES ('0e422195-17c2-473c-abc7-b68596979e84', 'first_name', 'last_name'); INSERT INTO person VALUES ('c6a5907a-452f-4103-9def-99aec980a7f8', 'first_name', 'last_name'); INSERT INTO person VALUES ('2f5cf426-5cf0-4623-9679-615edc3f3eb5', 'first_name', 'last_name'); INSERT INTO person VALUES ('9b16f209-beea-4bac-bf02-b27138f0d70e', 'first_name', 'last_name'); INSERT INTO person VALUES ('91b9c5e4-f1ee-40b7-a582-dde8ed6a0e22', 'first_name', 'last_name'); INSERT INTO person VALUES ('920c2255-006d-4199-9efd-bcb118d83429', 'first_name', 'last_name'); INSERT INTO person VALUES ('c722660b-bbd8-485d-8524-8bba6bf311de', 'first_name', 'last_name'); INSERT INTO person VALUES ('eacb7c2d-e38a-4ced-a8f0-80b6534304ad', 'first_name', 'last_name'); INSERT INTO person VALUES ('e59b8dea-b682-48d5-9fe6-e6650520f216', 'first_name', 'last_name'); INSERT INTO person VALUES ('b621c6ce-bb80-4e8a-a25c-76b02ba27395', 'first_name', 'last_name'); INSERT INTO person VALUES ('762727a0-d3c0-49f1-9139-f3230fa0672e', 'first_name', 'last_name'); INSERT INTO person VALUES ('587115c5-547e-49a2-a194-b897c0cbb134', 'first_name', 'last_name'); INSERT INTO person VALUES ('92b00242-2fe2-49cc-8ec1-c7a42d9071d9', 'first_name', 'last_name'); INSERT INTO person VALUES ('96bc1f35-b6e5-420b-9930-803a3511fa86', 'first_name', 'last_name'); INSERT INTO person VALUES ('88bfbe5b-20c3-44d1-9474-edb56f08109b', 'first_name', 'last_name'); INSERT INTO person VALUES ('025650db-5249-4378-9d58-25558d3b6e82', 'first_name', 'last_name'); INSERT INTO person VALUES ('d59ac7bb-0127-49b6-b2f6-a5c1c936bffc', 'first_name', 'last_name'); INSERT INTO person VALUES ('63026c7c-c89d-46c4-bc7b-08f9d610f3da', 'first_name', 'last_name'); INSERT INTO person VALUES ('292b17cd-aec6-4592-a520-fbbcf01c6268', 'first_name', 'last_name'); INSERT INTO person VALUES ('f8c914e4-6ca4-45e0-b369-8ab7c8810315', 'first_name', 'last_name'); INSERT INTO person VALUES ('5f0fb31b-0ec9-4950-8790-dd3c300c5bf8', 'first_name', 'last_name'); INSERT INTO person VALUES ('bbf841d1-6f35-4287-a9e1-2114594332d6', 'first_name', 'last_name'); INSERT INTO person VALUES ('fa8c1e60-82ba-48fa-a6a0-177af4a77963', 'first_name', 'last_name'); INSERT INTO person VALUES ('4fe5e3c4-74da-4058-8231-ab469844af64', 'first_name', 'last_name'); INSERT INTO person VALUES ('d1e73df5-080a-4c95-b4df-3a5082700203', 'first_name', 'last_name'); INSERT INTO person VALUES ('f6dd604a-351c-4bab-8b61-506e06462c94', 'first_name', 'last_name'); INSERT INTO person VALUES ('0a040d81-f329-4f8b-8ba2-bf545f10f5e0', 'first_name', 'last_name'); INSERT INTO person VALUES ('77195a65-8793-44a7-8cf8-ddaec58b6eb4', 'first_name', 'last_name'); INSERT INTO person VALUES ('a68fba88-1889-4cf6-8f0e-129b942a2209', 'first_name', 'last_name'); INSERT INTO person VALUES ('c4f5f66e-88ef-4201-88e3-60eb68e8a6e9', 'first_name', 'last_name'); INSERT INTO person VALUES ('9608aa53-fcb0-4ca3-8f3c-40593ef68370', 'first_name', 'last_name'); INSERT INTO person VALUES ('3eafe702-fa78-49c8-b4bb-d3da177a9b84', 'first_name', 'last_name'); INSERT INTO person VALUES ('36abe66a-94a9-4a1e-bb91-b57ec73902cc', 'first_name', 'last_name'); INSERT INTO person VALUES ('b6af117c-a84d-4fd1-a566-41550e7cdb8e', 'first_name', 'last_name'); INSERT INTO person VALUES ('c52723ce-a037-4d76-8b3c-d63f8a794120', 'first_name', 'last_name'); INSERT INTO person VALUES ('c3e280e1-dc25-4d8b-830e-392a8461a8a4', 'first_name', 'last_name'); INSERT INTO person VALUES ('4825ed97-78b1-4711-9c35-c483e9bc41ba', 'first_name', 'last_name'); INSERT INTO person VALUES ('7475d1ad-5c00-4372-aa76-0c11c0da169d', 'first_name', 'last_name'); INSERT INTO person VALUES ('22f101f0-18e2-4886-a904-8802bb625d79', 'first_name', 'last_name'); INSERT INTO person VALUES ('42725649-abd1-4d79-81d7-7c438f5d13b4', 'first_name', 'last_name'); INSERT INTO person VALUES ('2e85e62f-2b82-4c82-9281-b480755042fa', 'first_name', 'last_name'); INSERT INTO person VALUES ('499c445c-b1b1-44c8-8985-bc1a3f3db0cc', 'first_name', 'last_name'); INSERT INTO person VALUES ('42fc7fac-1270-451f-91f4-99f26962def6', 'first_name', 'last_name'); INSERT INTO person VALUES ('4a5c58ba-617b-44be-8116-a5d07e80c457', 'first_name', 'last_name'); INSERT INTO person VALUES ('6f7620b4-d0b9-4906-b729-f7398dc25ce7', 'first_name', 'last_name'); INSERT INTO person VALUES ('14f6047a-ea00-4ba4-9fc0-f2a1332de25d', 'first_name', 'last_name'); INSERT INTO person VALUES ('857c78cb-434b-495f-a5b4-a86cee8cbbe6', 'first_name', 'last_name'); INSERT INTO person VALUES ('bd7293c5-1348-483a-a0a2-62d562334554', 'first_name', 'last_name'); INSERT INTO person VALUES ('5d5a3fd6-5d45-444d-a52e-f6478ef327a6', 'first_name', 'last_name'); INSERT INTO person VALUES ('9952da84-b74c-4428-88ce-f364359eb6c1', 'first_name', 'last_name'); INSERT INTO person VALUES ('fae33640-1113-4125-8efa-8d5f3cd14aed', 'first_name', 'last_name'); INSERT INTO person VALUES ('26a4728b-0499-4c78-b87c-2b1073401709', 'first_name', 'last_name'); INSERT INTO person VALUES ('454a4166-e338-4858-8d93-cf515a55f1c4', 'first_name', 'last_name'); INSERT INTO person VALUES ('e5cdcc98-654c-4568-9a1c-12421ad1c971', 'first_name', 'last_name'); INSERT INTO person VALUES ('0c2cff03-52e5-4242-a0b9-c66c46ced0ae', 'first_name', 'last_name'); INSERT INTO person VALUES ('9714a696-7bee-46e4-953c-5fa99c0810a7', 'first_name', 'last_name'); INSERT INTO person VALUES ('1ef95e89-5337-4cc0-8246-4b9775151ee3', 'first_name', 'last_name'); INSERT INTO person VALUES ('5ca3c16e-834e-4af7-ac56-54e4b18e1b74', 'first_name', 'last_name'); INSERT INTO person VALUES ('3941aa3b-5da2-4106-a177-8406747c4b28', 'first_name', 'last_name'); INSERT INTO person VALUES ('7394823d-b9d9-4435-932e-f7e372a7afc6', 'first_name', 'last_name'); INSERT INTO person VALUES ('49efd954-48d2-4db1-96fe-d60977fae5d2', 'first_name', 'last_name'); INSERT INTO person VALUES ('3338b6df-ae56-4517-a454-3ef59f68b28d', 'first_name', 'last_name'); INSERT INTO person VALUES ('fa785563-c514-4043-bd5d-8a8d6b5564b0', 'first_name', 'last_name'); INSERT INTO person VALUES ('2e83c761-2606-4d1f-afe8-70fd1aa3b319', 'first_name', 'last_name'); INSERT INTO person VALUES ('f318dbe5-b302-42e9-bcc3-3d7678f3eb31', 'first_name', 'last_name'); INSERT INTO person VALUES ('0da3bb3c-894c-4410-b537-381172aaa48e', 'first_name', 'last_name'); INSERT INTO person VALUES ('bf87e363-a88c-430e-b54c-85020f723795', 'first_name', 'last_name'); INSERT INTO person VALUES ('29c121be-a1fe-4723-80a4-b5857cc8f2af', 'first_name', 'last_name'); INSERT INTO person VALUES ('aaa0f36e-be3e-48e5-8ed2-478e7218aa5a', 'first_name', 'last_name'); INSERT INTO person VALUES ('079e3076-68a1-4905-aae0-c019bad59e2d', 'first_name', 'last_name'); INSERT INTO person VALUES ('0528e453-288b-4ddd-9fd8-ff18e05a7eb6', 'first_name', 'last_name');
-- Databricks notebook source -- MAGIC %fs -- MAGIC ls 'dbfs:/mnt/datalake/rawdata/' -- COMMAND ---------- DROP TABLE IF EXISTS hubspot; CREATE TABLE hubspot USING JSON OPTIONS (multiline 'true') LOCATION '/mnt/datalake/rawdata/HubSpot/engagements/yyyyMMdd=20201120/'; -- COMMAND ---------- DROP TABLE IF EXISTS users; CREATE TABLE users USING PARQUET LOCATION '/mnt/datalake/rawdata/UserDB/users/yyyyMMdd=20201120/'; -- COMMAND ---------- SELECT * FROM hubspot -- COMMAND ---------- DESCRIBE FORMATTED hubspot -- COMMAND ---------- SELECT ds.engagement AS e, ds.associations AS a, ds.metadata as m FROM hubspot as r LATERAL VIEW explode(r.results) mv AS ds -- COMMAND ---------- WITH hd AS ( SELECT ds.engagement AS e, ds.associations AS a, ds.metadata as m FROM hubspot as r LATERAL VIEW explode(r.results) mv AS ds ) SELECT from_unixtime(e.timestamp / 1000, 'yyyy-MM-dd hh:mm:ss') AS creationDate, e.*, e.OwnerId FROM hd WHERE e.type='TASK' -- COMMAND ---------- WITH hd AS ( SELECT ds.engagement AS e, ds.associations AS a, ds.metadata as m FROM hubspot as r LATERAL VIEW explode(r.results) mv AS ds ) SELECT u.UserName, COUNT(*) AS totalTasks FROM hd JOIN users AS u ON u.UserId = hd.e.OwnerId WHERE e.type='TASK' GROUP BY u.UserName
SET search_path TO bnb, public; drop table if exists numbers; drop table if exists goodhomeowners; drop table if exists badhomeowners; drop table if exists avgbyyear; create view avgbyyear as select owner, extract(year from startdate) as year, avg(rating) as avgrating from travelerrating natural join listing where extract(year from startdate) >= extract(year from current_date) - integer '10' group by owner, extract(year from startdate); create view badhomeowners as select a1.owner from avgbyyear as a1, avgbyyear as a2 where a1.owner = a2.owner and a1.avgrating <= a2.avgrating and a1.year > a2.year; create view goodhomeowners as select * from (select distinct(owner) from avgbyyear except select * from badhomeowners) as good; create view numbers as select count(distinct(avgbyyear.owner)) as denominator, count(distinct(goodhomeowners.owner)) as numerator from goodhomeowners, avgbyyear; select cast(numerator as FLOAT)/cast(denominator as FLOAT) as percentage from numbers;
INSERT INTO PACKAGE(id_pack, name, can_be_modified_outside) VALUES (1, 'Tenses', 1); INSERT INTO RULE(id_rule, name, detail, pack) VALUES (1, 'Unit 1: Present continuous and present simple 1', 'We use the present simple to describe things that are always true, or situations that exist now and, as far as we know, will go on indefinitely: - It takes me five minutes to get to school. - Trees grow more quickly in summer than in winter. - Liz plays the violin brilliantly. To talk about particular actions or events that have begun but have not ended at the time of speaking, we use the present continuous: - The car isn''t starting again. - ''Who are you phoning?'' ''I''m trying to get through to Joan.'' - The shop is so inefficient that many customers are taking their business elsewhere. We often use time expressions such as at the moment, at present, currently, just, and still to emphasise that the action or event is happening now: - ''Have you done the shopping?'' Tm just going.'' Notice that the action or event may not be going on at the time of speaking: - The police are talking to a number of people about the robbery. We use the present simple to talk about habits or things that happen on a regular basis: - I leave work at 5.30 most days. - Each July we go to Turkey for a holiday. However, when we describe repeated actions or events that are happening at or around the time of speaking, we use the present continuous: - Why are you jumping up and down? - I''m hearing a lot of good reports about your work these days. We can use the present continuous or the present simple to describe something that we regularly do at a particular time. Compare: - We usually watch the news on TV at 9.00. (= we start watching at 9.00) - We''re usually watching the news on TV at 9.00. (= we''re already watching at 9.00) We use the present continuous to imply that a situation is or may be temporary. Compare: - Banks lend money to make a profit, (this is what usually happens) - Banks are lending more money (these days) to encourage businesses to expand, (implies a temporary arrangement) - She teaches Maths in a school in Bonn, (a permanent arrangement) - She''s teaching Maths in a school in Bonn, (implies that this is not, or may not be, permanent) We often use the present simple with verbs that perform the action they describe: - I admit I can''t see as well as I used to. (= an admission) - I refuse to believe that he didn''t know the car was stolen. (= a refusal) Other verbs like this (sometimes called performative verbs) include accept, acknowledge, advise, apologise, assume, deny, guarantee, hope, inform, predict, promise, recommend, suggest, suppose, warn. We can use modals with performative verbs to make what we say more tentative or polite:. - I would advise you to arrive two hours before the flight leaves. - I''m afraid I have to inform you that your application for funding has been turned down.', 1); INSERT INTO SENTENCE(id_sen, detail, prop_ok, prop_no, id_rule, pack) VALUES (1, 'I @ people should be allowed to vote at the age of 16.', 'think', 'appear,expect,fit,have,measure', 1, 1); INSERT INTO SENTENCE(id_sen, detail, prop_ok, prop_no, id_rule, pack) VALUES (2, 'What did you think of Professor Welch''s lecture? I @ I didn''t understand a word!', 'confess', 'am confessing', 1, 1); INSERT INTO SENTENCE(id_sen, detail, prop_ok, prop_no, id_rule, pack) VALUES (3, 'I @ you all for doing so well in your final examinations.', 'congratulate', 'am congratulating', 1, 1); INSERT INTO SENTENCE(id_sen, detail, prop_ok, prop_no, id_rule, pack) VALUES (4, 'Judging by your reaction you @ to have heard the news already.', 'appear', 'expect,fit,have,measure,think', 1, 1); INSERT INTO SENTENCE(id_sen, detail, prop_ok, prop_no, id_rule, pack) VALUES (5, 'We @ books to be returned to the library on time.', 'expect', 'appear,fit,have,measure,think', 1, 1); INSERT INTO SENTENCE(id_sen, detail, prop_ok, prop_no, id_rule, pack) VALUES (6, 'I @ to accept the court''s decision, and I plan to appeal against it.', 'refuse', 'am refusing ', 1, 1); INSERT INTO SENTENCE(id_sen, detail, prop_ok, prop_no, id_rule, pack) VALUES (7, 'Apparently Daniel @ going back to live in Spain.', 'is considering', 'considers', 1, 1); INSERT INTO SENTENCE(id_sen, detail, prop_ok, prop_no, id_rule, pack) VALUES (8, 'Police @ that the robbers may already have left the country.', 'believe', 'are believing', 1, 1); INSERT INTO SENTENCE(id_sen, detail, prop_ok, prop_no, id_rule, pack) VALUES (9, 'What''s that noise? You @ things. There''s no one else in the house.', 'are imagining', 'imagine', 1, 1); INSERT INTO SENTENCE(id_sen, detail, prop_ok, prop_no, id_rule, pack) VALUES (10, 'I''m terrified of flying, so I @ going by car or boat.', 'prefer', 'am preferring', 1, 1); INSERT INTO RULE(id_rule, name, detail, pack) VALUES (2, 'Unit 2: Present continuous and present simple 2', 'We often prefer to use the present simple rather than the present continuous with verbs describing states: - I really enjoy travelling. - The group currently consists of five people, but we hope to get more members soon. Г Other common state verbs include agree, assume, believe, belong to, contain, cost, disagree, feel, hate, have, hope, know, like, look, love, own, prefer, realise, regret, resemble, smell, taste. However, we can use the present continuous with some state verbs when we want to emphasise that a situation is temporary, for a period of time around the present. Compare: - I consider him to be extremely fortunate. (This is my view) and - I''m considering taking early retirement. (This is something I''m thinking about now) - The children love having Jean stay with us. (They love it when Jean stays) and - The children are loving having Jean stay with us. (Jean is staying with us now) With some verbs used to describe a temporary state (e.g. ache, feel, hurt, look (= seem)), there is little difference in meaning when we use the present simple and present continuous: - What''s the matter with Bill? He looks / is looking awful. When have has a non-state meaning - for example when it means ''eat'', ''undergo'', ''take'' or ''hold'' - we can use the present continuous: - ''What''s that terrible noise?'' ''The neighbours are having a party.'' eWe use the present continuous when we talk about changes, developments, and trends: - - The growing number of visitors is damaging the footpaths. - I''m beginning to realise how difficult it is to be a teacher. When we tell a story or joke we often describe the main events using the present (or past) simple and longer, background events using the present (or past) continuous: - She goes (or went) up to this man and looks (or looked) straight into his eyes. She''s carrying (or was carrying) a bag full of shopping... We can also use the present simple and present continuous like this in commentaries (for example, on sports events) and in giving instructions: - King serves to the left hand court and Adams makes a wonderful return. She''s playing magnificent tennis in this match... - You hold the can in one hand. Right, you''re holding it in one hand, now you take off the lid with the other. When we want to emphasise that something is done repeatedly, we can use the present continuous with words like always, constantly, continually, or forever. Often we do this when we want to show that we are unhappy about it, including our own behaviour: - They''re constantly having parties until the early hours of the morning. We use the past continuous (see Unit 6) in the same way: - He was forever including me in his crazy schemes. The present simple is used to report what we have heard or what we have read: - This newspaper article explains why unemployment has been rising so quickly. We also use the present simple in spoken English in phrases such as I gather, I hear, I see, and I understand to introduce news that we have heard, read or seen (e.g. on television): - I gather you''re worried about the new job? - The Prince is coming to visit, and I hear he''s very rich.', 1); INSERT INTO SENTENCE(id_sen, detail, prop_ok, prop_no, id_rule, pack) VALUES (11, 'Will the new wardrobe fit through the front door, I @?', 'wonder', 'always arrives,is always arriving,goes,is going,usually work,am usually working,generally put,am generally putting,borrows,is forever borrowing,am wondering', 2, 1); INSERT INTO SENTENCE(id_sen, detail, prop_ok, prop_no, id_rule, pack) VALUES (12, 'My train @ on time, so I''m very happy with the service.', 'always arrives', 'is always arriving,goes,is going,usually work,am usually working,generally put,am generally putting,borrows,is forever borrowing,wonder,am wondering', 2, 1); INSERT INTO SENTENCE(id_sen, detail, prop_ok, prop_no, id_rule, pack) VALUES (13, 'I @ an extra duvet on my bed in really cold weather.', 'generally put', 'always arrives,is always arriving,goes,is going,usually work,am usually working,am generally putting,borrows,is forever borrowing,wonder,am wondering', 2, 1); INSERT INTO SENTENCE(id_sen, detail, prop_ok, prop_no, id_rule, pack) VALUES (14, 'This road @ all the way to Barcelona.', 'goes', 'always arrives,is always arriving,is going,usually work,am usually working,generally put,am generally putting,borrows,is forever borrowing,wonder,am wondering1', 2, 1); INSERT INTO SENTENCE(id_sen, detail, prop_ok, prop_no, id_rule, pack) VALUES (15, 'I find I @ best early in the morning before everyone arrives.', 'usually work', 'always arrives,is always arriving,goes,is going,am usually working,generally put,am generally putting,borrows,is forever borrowing,wonder,am wondering', 2, 1); INSERT INTO SENTENCE(id_sen, detail, prop_ok, prop_no, id_rule, pack) VALUES (16, 'Whenever he @ money, he always pays it back straight away.', 'borrows', 'always arrives,is always arriving,goes,is going,usually work,am usually working,generally put,am generally putting,is forever borrowing,wonder,am wondering', 2, 1); INSERT INTO RULE(id_rule, name, detail, pack) VALUES (3, 'Unit 3: Past simple and present perfect', 'Present perfect When we talk about something that happened in the past, but we don''t specify precisely when it happened (perhaps we don''t know, or it is not important to say when it happened), we use the present perfect (but see E below): - A French yachtsman has broken the record for sailing round the world single-handed. - I have complained about the traffic before. When we use the present perfect, it suggests some kind of connection between what happened in the past, and the present time. Often we are interested in the way that something that happened in the past affects the situation that exists now: - I''ve washed my hands so that I can help you with the cooking. - We can''t go ahead with the meeting, because very few people have shown any interest. The connection with the present may also be that something happened recently, with a consequence for the present: - I''ve found the letter you were looking for. Here it is. - My ceiling has fallen in and the kitchen is flooded. Come quickly! When we talk about how long an existing situation has lasted, even if we don''t give a precise length of time, we use the present perfect (but see F below): - They''ve grown such a lot since we last saw them. - Prices have fallen sharply over the past six months. - We''ve recently started to walk to work instead of taking the bus. We often use the present perfect to say that an action or event has been repeated a number of times up to now (see also Unit 4B): - They''ve been to Chile three times. - I''ve often wished I''d learned to read music. Past simple When we want to indicate that something happened at a specific time in the past, we use the past simple. We can either say when it happened, using a time adverb, or assume that the hearer already knows when it happened or can understand this from the context: - She arrived at Kennedy Airport at 2 o''clock this morning. - Jane left just a few minutes ago. - Jim decided to continue the course, even though it was proving very difficult. We use the past simple for situations that existed for a period of time in the past, but not now: - When I was younger I played badminton for my local team. - The Pharaohs ruled Egypt for thousands of years. If we are interested in when a present situation began rather than how long it has been going on for, we use the past simple. Compare: - I started to get the pains three weeks ago. - I''ve had the pains for three weeks now. a - When did you arrive in Britain? - How long have you been in Britain? -However, we also use the past simple to talk about how long something went on for if the action or event is no longer going on (see also Unit 4C): - I stayed with my grandparents for six months. (= I am no longer staying there) - ''He spent some time in Paris when he was younger.'' ''How long did he live there?''', 1); INSERT INTO SENTENCE(id_sen, detail, prop_ok, prop_no, id_rule, pack) VALUES (17, 'I''ve never heard Ken criticise anyone since I @ him.', 'have known', 'knew', 3, 1); INSERT INTO SENTENCE(id_sen, detail, prop_ok, prop_no, id_rule, pack) VALUES (18, 'You know, that''s the first time you @ you like my cooking.', 'have said', 'say', 3, 1); INSERT INTO SENTENCE(id_sen, detail, prop_ok, prop_no, id_rule, pack) VALUES (19, 'It''s the first time he @ to school on his own, so he''s a bit nervous.', 'has walked', 'walked', 3, 1); INSERT INTO SENTENCE(id_sen, detail, prop_ok, prop_no, id_rule, pack) VALUES (20, 'Since he''s worked here, he @ a day off through illness.', 'has never had', 'never had', 3, 1); INSERT INTO SENTENCE(id_sen, detail, prop_ok, prop_no, id_rule, pack) VALUES (21, 'If Lipman doesn''t recover from his injury, it will be the first time he @ playing at Wimbledon in the last decade.', 'has missed', 'missed', 3, 1); INSERT INTO SENTENCE(id_sen, detail, prop_ok, prop_no, id_rule, pack) VALUES (22, 'It''s the first time I @ Mr Brennan shout at anyone since he started teaching at the school.', 'have heard', 'heard', 3, 1); INSERT INTO RULE(id_rule, name, detail, pack) VALUES (4, 'Unit 4: Past continuous and past simple', 'To talk about a temporary situation that existed at or around a particular time in the past, we use the past continuous: - At the time of the robbery, they were staying with my parents. - My head was aching again, so I went home. Compare the use of the past continuous and the past simple in these sentences: - She was shaking with anger as she left the hotel. - When he realised I was looking at him, he turned away. - Erika dropped her bag while she was getting into her car. We often use the past simple to talk about a completed past event and the past continuous to describe the situation that existed at the time. The completed event might have interrupted the situation, or just occurred while the situation or event was in progress. We don''t normally use the past continuous with certain verbs describing states (see Unit 2A): - This house belonged to the King of Sweden, (not ...was belonging to...) D When we talk about two past actions or events that went on over the same period of time, we can often use the past continuous for both: - Sally was reading to the children while Kevin was washing up. - Mario was working in a restaurant when I was living in London. However, we can often use the past simple to express a similar meaning: - Mario worked in a restaurant while he lived in London, (or ...was living in London.) When we talk about two or more past completed events that follow each other, we use the past simple for both. The first may have caused the second: - She got up when the alarm clock went off. - He jumped out of bed and ran to see who the parcel was for. When we talk about a permanent or long-term situation that existed in the past, we use the past simple rather than the past continuous: - When I was a child I played the violin, (not ...I was playing...) However, if the situation was temporary, we can also use the past continuous. Compare: - I was working in a car factory during the summer of 1976. (or I worked...) and - He worked hard all his life, (not He was working...) We use the past simple rather than the past continuous when we are talking about repeated actions or events in the past: - We visited Spain three times last year, (not We were visiting...) - I went past her house every day. (not I was going...) - She slept very badly whenever she stayed with her grandparents, (not ...was sleeping...) However, the past continuous can also be used when we want to emphasise that the repeated actions only went on for a limited and temporary period of past time (See also Unit 2C): - When Carlo was in hospital, we were visiting him twice a day. (or ...we visited...) - To get fit for the race, I was going to the sports centre every day. (or ...I went...) We use the past continuous when the repeated actions or events provide a longer background to something else that happened (see A): - During the time I started to get chest pains, I was playing tennis a lot.', 1); INSERT INTO SENTENCE(id_sen, detail, prop_ok, prop_no, id_rule, pack) VALUES (23, 'Chris @ going to the dentist when he was a child.', 'hated', 'was hating', 4, 1); INSERT INTO SENTENCE(id_sen, detail, prop_ok, prop_no, id_rule, pack) VALUES (24, 'I @ the window when it started to rain.', 'quickly closed', 'was quickly closing', 4, 1); INSERT INTO SENTENCE(id_sen, detail, prop_ok, prop_no, id_rule, pack) VALUES (25, 'You could tell that Gina didn''t really want to leave. She @ until the last minute before she got on to the train.', 'waited', 'was waiting', 4, 1); INSERT INTO SENTENCE(id_sen, detail, prop_ok, prop_no, id_rule, pack) VALUES (26, 'Here is the news. The Finance Minister @ huge cuts in spending on education.', 'has announced', 'announced', 3, 1); INSERT INTO RULE(id_rule, name, detail, pack) VALUES (5, 'Unit 5: Past perfect and past simple', 'We use the past perfect to talk about a past situation or activity that took place before another past situation or activity, or before a particular time in the past: - Jo discovered that Leslie had lied to her. - As Mary shook Mr Morgan''s hand, she realised she had seen him before. We use the past simple rather than the past perfect when we simply talk about a single activity or «event in the past: - - I handed the letter to him. - Sorry we''re late, we took the wrong turning. Notice the difference in meaning of these sentences with the past perfect and past simple: - When he stopped laughing, everyone left. (= they left after he stopped laughing) - When he stopped laughing, everyone had left. (= they left before he stopped laughing) - I got up when the phone rang. (= the phone rang and then I got up) - I had gone to bed when the phone rang. (= I went to bed and then the phone rang) When we give an account of a sequence of past events, we usually put these events in chronological order with the past simple. If we want to refer to an event out of order - that is, it happened before the last event we have talked about - we use the present perfect. We use the past perfect when we say what we wanted or hoped (etc.) to do, but didn''t: - I had wanted to visit the gallery before I left Florence, but it''s closed on Sundays. - Bill had hoped to retire at 60, but they persuaded him to stay on for a few more years. Other verbs used like this include expect (to), mean (to), think (about + -ing). When we use a time expression (e.g. after, as soon as, before, by the time (that), when) to say that one event happened after another, we use either the past simple or past perfect for the event that happened first and the past simple for the event that happened second: - After Ivan (had) finished reading, he put out the light. - When Carol (had) brushed her teeth, she went to bed. But to emphasise that the second event is the result of the first, we prefer the past simple for both: - She became famous after she appeared on the TV programme. - When the teacher came in, all the children stood up. With already and just (= a very short time before) we use the past perfect, not the past simple: - The film had already begun by the time we got to the cinema. - She had just stepped into her office when the telephone rang.', 1); INSERT INTO SENTENCE(id_sen, detail, prop_ok, prop_no, id_rule, pack) VALUES (27, 'I went to the fridge to get some milk, but someone @ it all.', 'had drunk', 'drank}', 5, 1); INSERT INTO SENTENCE(id_sen, detail, prop_ok, prop_no, id_rule, pack) VALUES (28, 'When it was time to go home I found that someone @ my bicycle.', 'had stolen', 'stolez', 5, 1); INSERT INTO SENTENCE(id_sen, detail, prop_ok, prop_no, id_rule, pack) VALUES (29, 'When she said the famous Oliver Barnsley would be at the meeting, I had to admit that I @ of him.', 'had never heard', 'never heard', 5, 1); INSERT INTO SENTENCE(id_sen, detail, prop_ok, prop_no, id_rule, pack) VALUES (30, 'Adam said that he @ skiing for over 20 years, but he was still a lot better than me.', 'hadn''t been', 'didn''t go', 5, 1); INSERT INTO SENTENCE(id_sen, detail, prop_ok, prop_no, id_rule, pack) VALUES (31, 'She apologised for talking so much and explained that she @ to anyone in days.', 'hadn''t spoken', 'didn''t speak', 5, 1); INSERT INTO SENTENCE(id_sen, detail, prop_ok, prop_no, id_rule, pack) VALUES (32, 'After driving for another few miles, we realised that we @ the wrong road.', 'had taken', 'took', 5, 1);
--Write a query which returns the unique carriers select distinct uniquecarrier from tracking; --Return data for those 2003 flights with a delay of 5 hours or more select count(*) from (select tracking.*, cast(case when arrdelay='NA' then '-9999' else arrdelay end as int ) arrdelay1, cast(case when depdelay='NA' then '-9999' else depdelay end as int ) depdelay1 from tracking) t1 where year='2003' and (arrdelay1>300 or depdelay1>300); --Return a count of the number of flights delayed by weather in each year select year,count(*) from tracking where weatherdelay <> 'NA' and weatherdelay <> '0' group by year; --Determine the canceled flight ratio for each carrier in 2003 select cast(sum(case when cancelled='1' then 1 else 0 end) as float) /cast(count(*) as float) as cancelled_flight_ratio from tracking where year=2003; --Return the average arrival delay per month per destination per carrier in 2003 select month,uniquecarrier,dest,avg(arrdelay1) as average_arrival_delay from (select tracking.*, cast(case when arrdelay='NA' then '-9999' else arrdelay end AS int ) arrdelay1 from tracking where year=2003) t1 where arrdelay1 > 0 group by month,uniquecarrier,dest; --Determine the 3 carriers with the highest average arrival delay per month per destination in 2003 select month,dest,uniquecarrier,average_arrival_delay, rnk from (select month,dest,uniquecarrier,average_arrival_delay, rank() over (partition by month,dest order by average_arrival_delay desc) as rnk from (select month,uniquecarrier,dest,avg(arrdelay1) as average_arrival_delay from (select tracking.*, cast(case when arrdelay='NA' then '-9999' else arrdelay end AS int ) arrdelay1 from tracking where year=2003) t1 where arrdelay1 > 0 group by month,uniquecarrier,dest) a ) b where rnk<=3;
USE `safebourse`; CREATE TABLE `users`( `id` int(11) NOT NULL PRIMARY KEY, `firstname` varchar(52) NOT NULL, `lastname` varchar(52) NOT NULL, `username` varchar(52) NOT NULL, `password` TEXT NOT NULL, `email` varchar(52) NOT NULL, `phone` varchar(52) NOT NULL, `link` TEXT NOT NULL, `picture` TEXT VARCHAR(52) NOT NULL, `creation` datetime DEFAULT current_timestamp() )ENGINE= InnoDB DEFAULT CHARSET=latin1; ALTER TABLE `users` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT; CREATE TABLE `posts`( `id` int(11) NOT NULL PRIMARY KEY, `username` varchar(52) NOT NULL, `title` varchar(52) NOT NULL, `texte` TEXT NOT NULL, `pictures` TEXT NOT NULL, `price` varchar(52) NOT NULL, `class` varchar(52) NOT NULL, `link` TEXT NOT NULL, `statue` varchar(52) NOT NULL DEFAULT "Available"; )ENGINE= InnoDB DEFAULT CHARSET=latin1; ALTER TABLE `posts` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT; CREATE TABLE `ban`( `id` int(11) NOT NULL PRIMARY KEY, `username` varchar(52) NOT NULL, `phone` varchar(52) NOT NULL, `email` varchar(52) NOT NULL, `adminUsername` varchar(52) NOT NULL, `reason` TEXT NOT NULL, `creation` datetime DEFAULT current_timestamp() )ENGINE= InnoDB DEFAULT CHARSET=latin1; ALTER TABLE `ban` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT; CREATE TABLE `reports`( `id` int(11) NOT NULL PRIMARY KEY, `username` varchar(52) NOT NULL, `reported_id` varchar(52) NOT NULL, `reason` TEXT NOT NULL, `creation` datetime DEFAULT current_timestamp() )ENGINE = InnoDB DEFAULT CHARSEt = latin1; ALTER TABLE `reports` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT; CREATE TABLE `comments`( `id` int(11) NOT NULL PRIMARY KEY, `usrename` varchar(52) NOT NULL, `link` TEXT NOT NULL, `comment` TEXT NOT NULL, `creation` datetime DEFAULT current_timestamp() )ENGINE = InnoDB DEFAULT CHARSET=Latin1; ALTER TABLE `comments` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT; CREATE TABLE `admins`( `id` int(11) NOT NULL PRIMARY KEY, `username` varchar(52) NOT NULL, `password` TEXT NOT NULL, `email` varchar(52) NOT NULL, `passcode` varchar(52) NOT NULL )ENGINE = InnoDB DEFAULT CHARSET=Latin1; ALTER TABLE `admins` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT; CREATE TABLE `adminsLogs`( `id` int(11) NOT NULL PRIMARY KEY, `username` varchar(52) NOT NULL, `action` TEXT NOT NULL, `date` TEXT NOT NULL )ENGINE = InnoDB DEFAULT CHARSET=Latin1; ALTER TABLE `adminsLogs` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT; CREATE TABLE `requests`( `id` int(11) NOT NULL PRIMARY KEY, `username` varchar(52) NOT NULL, `userLink` TEXT NOT NULL, `request` TEXT NOT NULL, `class` varchar(52) NOT NULL, `school` varchar(52) NOT NULL, `creation` datetime NOT NULL, )ENGINE =InnoDB DEFAULT CHARSET =Latin1; ALTER TABLE `requests` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;
create table VMS.GONK2_manchu (id integer, text varchar2(400) );
DROP TABLE IF EXISTS ordertable; CREATE TABLE ordertable ( order_id INT NOT NULL AUTO_INCREMENT, order_name VARCHAR(20) NOT NULL UNIQUE, order_price DECIMAL DEFAULT 0, order_date DATE NOT NULL, PRIMARY KEY (order_id) ); DROP TABLE IF EXISTS item; CREATE TABLE item( item_id INT NOT NULL AUTO_INCREMENT, item_name VARCHAR(20) NOT NULL UNIQUE, item_price DECIMAL NOT NULL, PRIMARY KEY (item_id) ); DROP TABLE IF EXISTS position; CREATE TABLE position ( position_id INT NOT NULL AUTO_INCREMENT, position_order_id INT NOT NULL, position_name VARCHAR(255) NOT NULL, position_price DECIMAL DEFAULT 0, position_count INT NOT NULL, PRIMARY KEY (position_id), FOREIGN KEY (position_order_id) REFERENCES ordertable(order_id) ON DELETE CASCADE );
alter table table_name add COLUMN address [varchar](100) NULL;
SELECT r.team_id, team_name, short_name, sum(win)+sum(lose)+sum(draw) as game_count, sum(win) as win, sum(lose)as lose, sum(draw)as draw, sum(win)/(sum(win)+sum(lose)) as percentage, sum(win)*4+sum(lose)*1+sum(draw)*2 as points, league_id FROM result r inner join TEAM t on t.team_id=r.team_id WHERE league_id=/*leagueId*/ and jcbl_flg=1 group by team_id order by percentage desc,points desc;
drop table if exists acooper.membertimeseries_population_deduped_phone_07202017; create table acooper.membertimeseries_population_deduped_phone_07202017 as select * from ( select enterprise_id , ent_first_name , ent_last_name , age , race , gender , coalesce (a.ent_home_phone::varchar, a.cat_phone::varchar) as phone , aff_state , aff_name , aff_local , member_type ,partisan_score , row_number() over (partition by enterprise_id order by random()) as rank from analytics.members a where member_type = 'Regular' and member_status = 'Active' and is_member is true )z where rank = 1; drop table if exists membertimeseries_bin_data_phone_07202017; create temp table membertimeseries_bin_data_phone_07202017 sortkey(enterprise_id) as select distinct enterprise_id , ntile(2) over (order by age) as age_bin , case when race = 'White' then 'W' when race = 'African-American' then 'B' when race = 'Hispanic' then 'H' else 'O' end as race_bin , case when gender = 'F' then 'F' else 'M' end as gender_bin , ntile(2) over (order by partisan_score asc) as partisan_bin --weight? --case when age <= 34 then 1 else 1 end as samp_weight ,'1' as samp_weight from acooper.membertimeseries_population_deduped_phone_07202017; drop table if exists acooper.membertimeseries_polling_bins_phone_07202017; create table acooper.membertimeseries_polling_bins_phone_07202017 sortkey(enterprise_id) as select * , age_bin||'-'||race_bin||'-'||gender_bin||'-'||partisan_bin as strata , null::int as strata_id , case when random() >=.5 then 'A' else 'B' end as q8split from membertimeseries_bin_data_phone_07202017; drop table if exists strat_id; create temp table strat_id as select strata , row_number() over (order by strata asc) as strata_id from ( select distinct strata from membertimeseries_polling_bins_phone_07202017 ); update acooper.membertimeseries_polling_bins_phone_07202017 set strata_id = strat_id.strata_id from strat_id where membertimeseries_polling_bins_phone_07202017.strata=strat_id.strata; drop table if exists acooper.membertimeseries_sample_targets_phone_07202017; create table acooper.membertimeseries_sample_targets_phone_07202017 as select -- variables that go into stratification (for readabiliy) age_bin, gender_bin, race_bin, partisan_bin, q8split, -- strata variable strata, strata_id, count(*) as pop_size, sum(samp_weight) as weighted_pop_size, -- Sample Sizes /* replace 165000 with desired sample size below */ round(count(*)::float / sum(count(*)) over() * 310000) as sample_size, /* Delete if no weighting */ round(sum(samp_weight)::float / sum(sum(samp_weight)) over() * 310000) as weighted_sample_size from acooper.membertimeseries_polling_bins_phone_07202017 group by 1,2,3,4,5,6,7 order by 1,2,3,4,5,6,7; drop table if exists acooper.membertimeseries_sample_final_phone_07202017; create table acooper.membertimeseries_sample_final_phone_07202017 as select enterprise_id , age_bin , race_bin , gender_bin , partisan_bin , strata , strata_id , q8split from ( select a.* , row_number() over (partition by a.strata order by random()) as n_size , sample_size from acooper.membertimeseries_polling_bins_phone_07202017 a left join acooper.membertimeseries_sample_targets_phone_07202017 b using (strata)) where n_size <= sample_size order by random(); ----------------PULL STRATA INFO FOR QUOTAS select strata_id , strata , sum(sample_size) as sample_size from membertimeseries_sample_targets_phone_07202017 group by 1,2 order by strata_id; ----------------PULL FINAL SAMPLE w PHONE select s.enterprise_id , s.strata , s.strata_id , q8split , a.ent_first_name , a.ent_last_name , a.phone , a.aff_name , a.aff_local , a.member_type , a.aff_state from acooper.membertimeseries_population_deduped_phone_07202017 a inner join acooper.membertimeseries_sample_final_phone_07202017 s using (enterprise_id) --exclude those who were sampled previously left join member_time_series_sample_final_20170508 m using(enterprise_id) left join twhittaker.membertimeseries_online_sample_final_05242017 mo using(enterprise_id) where m.enterprise_id is null and mo.enterprise_id is null and a.phone is not null;
SELECT created_date as Date, id AS organization_id, industry AS industry, extract(day from(CURRENT_DATE -created_date)) as days_since_creation FROM modeanalytics.salesforce_accounts where industry = '{{industry}}'
# Mock ups can be found in the Wiki # View core requirements: # actor: student select title from class_cats where id in ( select reqs.class_cat from reqs inner join fields on reqs.field = fields.id where field.type = 'core' and school is null); # View major requirements: # actor: student select title from class_cats where id in ( select reqs.class_cat from reqs inner join fields on reqs.field = fields.id where fields.id = $field); # Update field of study: # actor: student # Populate previous major 1: select fields.name from enroll, fields where enroll.student = $id and enroll.field = fields.id and fields.type = 'major' and enroll.current = true limit 1; # Populate previous major 2: select fields.name from enroll, fields where enroll.student = $id and enroll.field = fields.id and fields.type = 'major' and enroll.current = true limit 1, 1; # Populate previous minor 1: select fields.name from enroll, fields where enroll.student = $id and enroll.field = fields.id and fields.type = 'minor' and enroll.current = true limit 1; # Populate previous minor 2: select fields.name from enroll, fields where enroll.student = $id and enroll.field = fields.id and fields.type = 'minor' and enroll.current = true limit 1, 1; # Change existing major 1: update enroll set current = false where student = $id and field = $oldMajor1; # Change existing major 2: update enroll set current = false where student = $id and field = $oldMajor2; # Change existing minor 1: update enroll set current = false where student = $id and field = $oldMinor1; # Change existing minor 2: update enroll set current = false where student = $id and field = $oldMinor2; # Add new major 1: insert into enroll (student, field, current) values ($id, $major1, true); # Add new major 2: insert into enroll (student, field, current) values ($id, $major2, true); # Add new minor 1: insert into enroll (student, field, current) values ($id, $minor1, true); # Add new minor 2: insert into enroll (student, field, current) values ($id, $minor2, true); # Schedule courses: # actor: student # Populate unassigned requirements (for side bar and drop down menus): select r.class_cat from reqs as r, enroll as e where e.student = $id and e.field = r.field and r.id not in (select req from plan where student = e.student and req is not null); # Populate classes that fulfill selected requirement: select name from courses where id in (select course_id from fulfills where req_id = $req); # Populate requirements with AP credits: select r.class_cat from reqs as r inner join aps as a on r.id = a.req where a.student = $id; # Populate previous selection in each slot: select class_cat from reqs where id in (select req from plan where slot = $slot and student = $id); # Mark req as AP: insert into aps (student, req) values ($id, $req); # Save schedule: # Assign req to plan: update plan set req = $req where slot = $slot and student = $id; # Assign specific course to plan: update plan set course = $course where slot = $slot and student = $id; # Add student: # actor: admin insert into students (username, password, school) values ($username, sha1($password), $school); insert into plan (slot, student) values (1, $id); insert into plan (slot, student) values (2, $id); insert into plan (slot, student) values (3, $id); insert into plan (slot, student) values (4, $id); insert into plan (slot, student) values (5, $id); insert into plan (slot, student) values (6, $id); insert into plan (slot, student) values (7, $id); insert into plan (slot, student) values (8, $id); insert into plan (slot, student) values (9, $id); insert into plan (slot, student) values (10, $id); insert into plan (slot, student) values (11, $id); insert into plan (slot, student) values (12, $id); insert into plan (slot, student) values (13, $id); insert into plan (slot, student) values (14, $id); insert into plan (slot, student) values (15, $id); insert into plan (slot, student) values (16, $id); insert into plan (slot, student) values (17, $id); insert into plan (slot, student) values (18, $id); insert into plan (slot, student) values (19, $id); insert into plan (slot, student) values (20, $id); insert into plan (slot, student) values (21, $id); insert into plan (slot, student) values (22, $id); insert into plan (slot, student) values (23, $id); insert into plan (slot, student) values (24, $id); insert into plan (slot, student) values (25, $id); insert into plan (slot, student) values (26, $id); insert into plan (slot, student) values (27, $id); insert into plan (slot, student) values (28, $id); insert into plan (slot, student) values (29, $id); insert into plan (slot, student) values (30, $id); insert into plan (slot, student) values (31, $id); insert into plan (slot, student) values (32, $id); insert into plan (slot, student) values (33, $id); insert into plan (slot, student) values (34, $id); insert into plan (slot, student) values (35, $id); insert into plan (slot, student) values (36, $id); insert into plan (slot, student) values (37, $id); insert into plan (slot, student) values (38, $id); insert into plan (slot, student) values (39, $id); insert into plan (slot, student) values (40, $id); insert into plan (slot, student) values (41, $id); insert into plan (slot, student) values (42, $id); insert into plan (slot, student) values (43, $id); insert into plan (slot, student) values (44, $id); insert into plan (slot, student) values (45, $id); insert into plan (slot, student) values (46, $id); insert into plan (slot, student) values (47, $id); insert into plan (slot, student) values (48, $id); # Add core requirements: # actor: admin insert into class_cats (title) values ($title); insert into reqs (field, class_cat, number) values (1, (select id from class_cats where title = $title), $number); # Add major requirements: # actor: admin insert in class_cats (title) values ($title); insert into reqs (field, class_cat, number) values ($field, (select id from class_cats where title = $title), $number); # View student schedule: # actor: admin # Populate selected reqs in each slot: select class_cat from reqs where id in (select req from plan where slot = $slot and student = $id); # Populate selected courses in each slot: select name from courses where id in (select course from plan where slot = $slot and student = $id); # Populate unassigned requirements for side bar: select r.class_cat from reqs as r, enroll as e where e.student = $id and e.field = r.field and r.id not in (select req from plan where student = e.student and req is not null); # Populate requirements with AP credits: select r.class_cat from reqs as r inner join aps as a on r.id = a.req where a.student = $id;
--数据相关操作 -- 1.DML操作 CREATE TABLE IF NOT EXISTS user( id INT UNSIGNED KEY AUTO_INCREMENT, username VARCHAR(20) NOT NULL UNIQUE, password CHAR(32) NOT NULL, age TINYINT NOT NULL DEFAULT 18 ); -- 插入一条记录 INSERT INTO user(username,password) VALUES("A","A"); --插入多条记录 INSERT user (username,password) VALUES("B","B"),("C","C"),("D","D"); INSERT user VALUES (NULL,'E','E',DEFAULT,2), (NULL,'F','F',22,1), (NULL,'G','G',DEFAULT,3); INSERT user SET username='H',password='H',age=33; INSERT user VALUES ('E1','E1',DEFAULT,2), ('F1','F1',22,1), ('G1','G1',DEFAULT,3);
-- MySQL Script generated by MySQL Workbench -- Mon Oct 14 08:53:55 2019 -- Model: New Model Version: 1.0 -- MySQL Workbench Forward Engineering SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0; SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0; SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION'; -- ----------------------------------------------------- -- Schema mydb -- ----------------------------------------------------- -- ----------------------------------------------------- -- Schema mydb -- ----------------------------------------------------- CREATE SCHEMA IF NOT EXISTS `mydb` DEFAULT CHARACTER SET utf8 ; USE `mydb` ; -- ----------------------------------------------------- -- Table `mydb`.`cinema` -- ----------------------------------------------------- CREATE TABLE IF NOT EXISTS `mydb`.`cinema` ( `id` INT NOT NULL, `movietitle` VARCHAR(45) NOT NULL, `moviesched` VARCHAR(45) NOT NULL, `movieduration` INT NOT NULL, PRIMARY KEY (`id`)) ENGINE = InnoDB; -- ----------------------------------------------------- -- Table `mydb`.`account` -- ----------------------------------------------------- CREATE TABLE IF NOT EXISTS `mydb`.`account` ( `id` INT NOT NULL, `accountpass` VARCHAR(45) NOT NULL, `accountemail` VARCHAR(45) NOT NULL, PRIMARY KEY (`id`)) ENGINE = InnoDB; -- ----------------------------------------------------- -- Table `mydb`.`store branch manager` -- ----------------------------------------------------- CREATE TABLE IF NOT EXISTS `mydb`.`store branch manager` ( `id` INT NOT NULL, `sbfirstname` VARCHAR(45) NOT NULL, `sbsurname` VARCHAR(45) NOT NULL, `sbbday` DATE NOT NULL, `sbage` INT NOT NULL, PRIMARY KEY (`id`)) ENGINE = InnoDB; -- ----------------------------------------------------- -- Table `mydb`.`food company supplier` -- ----------------------------------------------------- CREATE TABLE IF NOT EXISTS `mydb`.`food company supplier` ( `id` INT NOT NULL, `companyname` VARCHAR(45) NOT NULL, `companyinsurance` VARCHAR(45) NOT NULL, `companycontactno` VARCHAR(45) NOT NULL, `companyaddress` VARCHAR(45) NOT NULL, `store branch manager_id` INT NOT NULL, PRIMARY KEY (`id`, `store branch manager_id`), INDEX `fk_food company supplier_store branch manager1_idx` (`store branch manager_id` ASC) VISIBLE, CONSTRAINT `fk_food company supplier_store branch manager1` FOREIGN KEY (`store branch manager_id`) REFERENCES `mydb`.`store branch manager` (`id`) ON DELETE NO ACTION ON UPDATE NO ACTION) ENGINE = InnoDB; -- ----------------------------------------------------- -- Table `mydb`.`branch` -- ----------------------------------------------------- CREATE TABLE IF NOT EXISTS `mydb`.`branch` ( `id` INT NOT NULL, `branchaddress` VARCHAR(45) NOT NULL, `food company supplier_id` INT NOT NULL, `food company supplier_store branch manager_id` INT NOT NULL, PRIMARY KEY (`id`, `food company supplier_id`, `food company supplier_store branch manager_id`), INDEX `fk_branch_food company supplier1_idx` (`food company supplier_id` ASC, `food company supplier_store branch manager_id` ASC) VISIBLE, CONSTRAINT `fk_branch_food company supplier1` FOREIGN KEY (`food company supplier_id` , `food company supplier_store branch manager_id`) REFERENCES `mydb`.`food company supplier` (`id` , `store branch manager_id`) ON DELETE NO ACTION ON UPDATE NO ACTION) ENGINE = InnoDB; -- ----------------------------------------------------- -- Table `mydb`.`customer` -- ----------------------------------------------------- CREATE TABLE IF NOT EXISTS `mydb`.`customer` ( `id` INT NOT NULL, `custfirstname` VARCHAR(45) NOT NULL, `custlastname` VARCHAR(45) NOT NULL, `custtype` VARCHAR(45) NOT NULL, `custbday` VARCHAR(45) NOT NULL, `cinema_id` INT NOT NULL, `account_id` INT NOT NULL, `branch_id` INT NOT NULL, PRIMARY KEY (`id`, `cinema_id`, `account_id`, `branch_id`), INDEX `fk_customer_cinema1_idx` (`cinema_id` ASC) VISIBLE, INDEX `fk_customer_account1_idx` (`account_id` ASC) VISIBLE, INDEX `fk_customer_branch1_idx` (`branch_id` ASC) VISIBLE, CONSTRAINT `fk_customer_cinema1` FOREIGN KEY (`cinema_id`) REFERENCES `mydb`.`cinema` (`id`) ON DELETE NO ACTION ON UPDATE NO ACTION, CONSTRAINT `fk_customer_account1` FOREIGN KEY (`account_id`) REFERENCES `mydb`.`account` (`id`) ON DELETE NO ACTION ON UPDATE NO ACTION, CONSTRAINT `fk_customer_branch1` FOREIGN KEY (`branch_id`) REFERENCES `mydb`.`branch` (`id`) ON DELETE NO ACTION ON UPDATE NO ACTION) ENGINE = InnoDB; -- ----------------------------------------------------- -- Table `mydb`.`cashier` -- ----------------------------------------------------- CREATE TABLE IF NOT EXISTS `mydb`.`cashier` ( `id` INT NOT NULL, `cashier_firstname` VARCHAR(45) NOT NULL, `cashier_lastname` VARCHAR(45) NOT NULL, `cashier_age` INT NOT NULL, `customer_id` INT NOT NULL, PRIMARY KEY (`id`, `customer_id`), INDEX `fk_cashier_customer1_idx` (`customer_id` ASC) VISIBLE, CONSTRAINT `fk_cashier_customer1` FOREIGN KEY (`customer_id`) REFERENCES `mydb`.`customer` (`id`) ON DELETE NO ACTION ON UPDATE NO ACTION) ENGINE = InnoDB; -- ----------------------------------------------------- -- Table `mydb`.`porter` -- ----------------------------------------------------- CREATE TABLE IF NOT EXISTS `mydb`.`porter` ( `id` INT NOT NULL, `porter_firstname` VARCHAR(45) NOT NULL, `porter_lastname` VARCHAR(45) NOT NULL, `porter_age` INT NOT NULL, PRIMARY KEY (`id`)) ENGINE = InnoDB; -- ----------------------------------------------------- -- Table `mydb`.`ticket` -- ----------------------------------------------------- CREATE TABLE IF NOT EXISTS `mydb`.`ticket` ( `id` INT NOT NULL, `custid` INT NOT NULL, `movietitle` VARCHAR(45) NOT NULL, `moviesched` VARCHAR(45) NOT NULL, `movieduration` INT NOT NULL, `dateofpurchase` DATE NOT NULL, `cashier_id` INT NOT NULL, `cashier_customer_id` INT NOT NULL, `porter_id` INT NOT NULL, `customer_id` INT NOT NULL, `customer_cinema_id` INT NOT NULL, `customer_account_id` INT NOT NULL, `customer_branch_id` INT NOT NULL, PRIMARY KEY (`id`, `cashier_id`, `cashier_customer_id`, `porter_id`, `customer_id`, `customer_cinema_id`, `customer_account_id`, `customer_branch_id`), INDEX `fk_ticket_cashier1_idx` (`cashier_id` ASC, `cashier_customer_id` ASC) VISIBLE, INDEX `fk_ticket_porter1_idx` (`porter_id` ASC) VISIBLE, INDEX `fk_ticket_customer1_idx` (`customer_id` ASC, `customer_cinema_id` ASC, `customer_account_id` ASC, `customer_branch_id` ASC) VISIBLE, CONSTRAINT `fk_ticket_cashier1` FOREIGN KEY (`cashier_id` , `cashier_customer_id`) REFERENCES `mydb`.`cashier` (`id` , `customer_id`) ON DELETE NO ACTION ON UPDATE NO ACTION, CONSTRAINT `fk_ticket_porter1` FOREIGN KEY (`porter_id`) REFERENCES `mydb`.`porter` (`id`) ON DELETE NO ACTION ON UPDATE NO ACTION, CONSTRAINT `fk_ticket_customer1` FOREIGN KEY (`customer_id` , `customer_cinema_id` , `customer_account_id` , `customer_branch_id`) REFERENCES `mydb`.`customer` (`id` , `cinema_id` , `account_id` , `branch_id`) ON DELETE NO ACTION ON UPDATE NO ACTION) ENGINE = InnoDB; -- ----------------------------------------------------- -- Table `mydb`.`movie` -- ----------------------------------------------------- CREATE TABLE IF NOT EXISTS `mydb`.`movie` ( `id` INT NOT NULL, `movietitle` VARCHAR(45) NOT NULL, `movietype` VARCHAR(45) NOT NULL, `moviesched` VARCHAR(45) NOT NULL, `moviegenre` VARCHAR(45) NOT NULL, `cinemano` INT NOT NULL, `customer_id` INT NOT NULL, PRIMARY KEY (`id`), INDEX `fk_movie_customer_idx` (`customer_id` ASC) VISIBLE, CONSTRAINT `fk_movie_customer` FOREIGN KEY (`customer_id`) REFERENCES `mydb`.`customer` (`id`) ON DELETE NO ACTION ON UPDATE NO ACTION) ENGINE = InnoDB; -- ----------------------------------------------------- -- Table `mydb`.`payment` -- ----------------------------------------------------- CREATE TABLE IF NOT EXISTS `mydb`.`payment` ( `id` INT NOT NULL, `payment_amnt` INT NOT NULL, `customer_id` INT NOT NULL, PRIMARY KEY (`id`), INDEX `fk_payment_customer1_idx` (`customer_id` ASC) VISIBLE, CONSTRAINT `fk_payment_customer1` FOREIGN KEY (`customer_id`) REFERENCES `mydb`.`customer` (`id`) ON DELETE NO ACTION ON UPDATE NO ACTION) ENGINE = InnoDB; -- ----------------------------------------------------- -- Table `mydb`.`food` -- ----------------------------------------------------- CREATE TABLE IF NOT EXISTS `mydb`.`food` ( `id` INT NOT NULL, `foodtype` VARCHAR(45) NOT NULL, `porter_id` INT NOT NULL, `customer_id` INT NOT NULL, `customer_cinema_id` INT NOT NULL, `customer_account_id` INT NOT NULL, `customer_branch_id` INT NOT NULL, PRIMARY KEY (`id`, `porter_id`, `customer_id`, `customer_cinema_id`, `customer_account_id`, `customer_branch_id`), INDEX `fk_food_porter1_idx` (`porter_id` ASC) VISIBLE, INDEX `fk_food_customer1_idx` (`customer_id` ASC, `customer_cinema_id` ASC, `customer_account_id` ASC, `customer_branch_id` ASC) VISIBLE, CONSTRAINT `fk_food_porter1` FOREIGN KEY (`porter_id`) REFERENCES `mydb`.`porter` (`id`) ON DELETE NO ACTION ON UPDATE NO ACTION, CONSTRAINT `fk_food_customer1` FOREIGN KEY (`customer_id` , `customer_cinema_id` , `customer_account_id` , `customer_branch_id`) REFERENCES `mydb`.`customer` (`id` , `cinema_id` , `account_id` , `branch_id`) ON DELETE NO ACTION ON UPDATE NO ACTION) ENGINE = InnoDB; -- ----------------------------------------------------- -- Table `mydb`.`employee` -- ----------------------------------------------------- CREATE TABLE IF NOT EXISTS `mydb`.`employee` ( `id` INT NOT NULL, `employeetype` VARCHAR(45) NOT NULL, PRIMARY KEY (`id`)) ENGINE = InnoDB; -- ----------------------------------------------------- -- Table `mydb`.`inventory` -- ----------------------------------------------------- CREATE TABLE IF NOT EXISTS `mydb`.`inventory` ( `id` INT NOT NULL, `foodstockitems` INT NULL, `drinkstockitems` INT NULL, `employee_id` INT NOT NULL, PRIMARY KEY (`id`, `employee_id`), INDEX `fk_inventory_employee1_idx` (`employee_id` ASC) VISIBLE, CONSTRAINT `fk_inventory_employee1` FOREIGN KEY (`employee_id`) REFERENCES `mydb`.`employee` (`id`) ON DELETE NO ACTION ON UPDATE NO ACTION) ENGINE = InnoDB; -- ----------------------------------------------------- -- Table `mydb`.`food supplies` -- ----------------------------------------------------- CREATE TABLE IF NOT EXISTS `mydb`.`food supplies` ( `id` INT NOT NULL, `stock_burger` INT NOT NULL, `stock_burgerpatty` INT NOT NULL, `stock_popcorn` INT NOT NULL, `stock_sandwich` INT NOT NULL, `stock_junkfoods` INT NOT NULL, `stock_softdrink` INT NOT NULL, `store branch manager_id` INT NOT NULL, PRIMARY KEY (`id`, `store branch manager_id`), INDEX `fk_food supplies_store branch manager1_idx` (`store branch manager_id` ASC) VISIBLE, CONSTRAINT `fk_food supplies_store branch manager1` FOREIGN KEY (`store branch manager_id`) REFERENCES `mydb`.`store branch manager` (`id`) ON DELETE NO ACTION ON UPDATE NO ACTION) ENGINE = InnoDB; -- ----------------------------------------------------- -- Table `mydb`.`deliver receipts` -- ----------------------------------------------------- CREATE TABLE IF NOT EXISTS `mydb`.`deliver receipts` ( `id` INT NOT NULL, `companyname` VARCHAR(45) NOT NULL, `companycontactno` VARCHAR(45) NOT NULL, `companyaddress` VARCHAR(45) NOT NULL, `dateoforder` DATE NOT NULL, `` VARCHAR(45) NULL, `store branch manager_id` INT NOT NULL, PRIMARY KEY (`id`, `store branch manager_id`), INDEX `fk_deliver receipts_store branch manager1_idx` (`store branch manager_id` ASC) VISIBLE, CONSTRAINT `fk_deliver receipts_store branch manager1` FOREIGN KEY (`store branch manager_id`) REFERENCES `mydb`.`store branch manager` (`id`) ON DELETE NO ACTION ON UPDATE NO ACTION) ENGINE = InnoDB; SET SQL_MODE=@OLD_SQL_MODE; SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS; SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS;
Insert Data for Parts and Devices Now that we have the infrastructure for our workshop set up, let''s start adding in some data. Add in two different devices. One should be named, "Accelerometer". The other should be named, "Gyroscope". The first device should have 3 parts (this is grossly simplified). The second device should have 5 parts. The part numbers may be any number between 1 and 10000. There should also be 3 parts that don''t belong to any device yet. INSERT INTO devices (id, name, created_at) VALUES (1, 'Accelerometer', DEFAULT), (2, 'Gyroscope', DEFAULT); INSERT INTO parts (id, part_number, device_id) VALUES (1, 101, 1), (2, 102, 1), (3, 103, 1), (4, 201, 2), (5, 202, 2), (6, 203, 2), (7, 204, 2), (8, 205, 2), (9, 301, NULL), (10, 302, NULL), (11, 303, NULL);
DROP DATABASE IF EXISTS hospital; #Create a table Hospital with the fields (doctorid,doctorname,department,qualification,experience). CREATE DATABASE hospital; USE hospital; CREATE TABLE hospital( doctorid VARCHAR(10) PRIMARY KEY, doctorname VARCHAR(20) NOT NULL, department VARCHAR(15), qualification VARCHAR(15), experience INT(2) ); DESC hospital; #Insert 5 records INSERT INTO hospital(doctorid,doctorname,department,qualification,experience) VALUES("D001","Eden Sadler","Skin","MD",6), ("D002","Kristina Randolph","Heart","SD",7), ("D003","Arla Lugo","Stomach","MD",4), ("D004","Sheridan Aguilar","Skin","SD",8), ("D005","Elvis Person","Skin","SD",8); #Display the details of Doctors SELECT * FROM hospital; #Display the details of doctors who have the qualification ‘MD’ SELECT * FROM hospital WHERE qualification="MD"; #Display all doctors who have more than 5 years experience but do not have the qualification ‘MD’ SELECT * FROM hospital WHERE qualification!="MD" AND experience>5; #Display the doctors in ‘Skin’ department SELECT * FROM hospital WHERE department="Skin"; #update the experience of doctor with doctored=’D003’ to 5 UPDATE hospital SET experience=5 WHERE doctorid="D003"; SELECT * FROM hospital WHERE doctorid="D003"; #Delete the doctor with DoctorID=’D005’ DELETE FROM hospital WHERE doctorid="D005"; SELECT * FROM hospital;
USE [Library] CREATE TABLE tbl_library_branch ( branch_id INT PRIMARY KEY NOT NULL IDENTITY(1,1), branch_name VARCHAR(50) NOT NULL, address VARCHAR(50) NOT NULL ); CREATE TABLE tbl_publisher ( publisher_name VARCHAR(50) PRIMARY KEY NOT NULL, address VARCHAR(50) NOT NULL, phone VARCHAR(50) NOT NULL ); CREATE TABLE tbl_books ( book_id INT PRIMARY KEY NOT NULL IDENTITY(1,1), title VARCHAR(50) NOT NULL, publisher_name VARCHAR(50) NOT NULL CONSTRAINT fk_publisher_name FOREIGN KEY REFERENCES tbl_publisher(publisher_name) ON UPDATE CASCADE ON DELETE CASCADE ); CREATE TABLE tbl_book_copies ( book_id INT NOT NULL CONSTRAINT fk_book_id FOREIGN KEY REFERENCES tbl_books(book_id) ON UPDATE CASCADE ON DELETE CASCADE, branch_id INT NOT NULL CONSTRAINT fk_branch_id FOREIGN KEY REFERENCES tbl_library_branch(branch_id) ON UPDATE CASCADE ON DELETE CASCADE, number_of_copies INT NOT NULL ); CREATE TABLE tbl_book_auhors ( book_id INT NOT NULL CONSTRAINT fk_book_id2 FOREIGN KEY REFERENCES tbl_books(book_id) ON UPDATE CASCADE ON DELETE CASCADE, author_name VARCHAR(50) NOT NULL, ); DROP TABLE tbl_borrower CREATE TABLE tbl_borrower ( card_no INT PRIMARY KEY NOT NULL IDENTITY (1,1), name VARCHAR(50) NOT NULL, address VARCHAR(50) NOT NULL, phone VARCHAR(12) NOT NULL ); DROP TABLE tbl_book_loans CREATE TABLE tbl_book_loans ( book_id INT NULL CONSTRAINT fk_book_id3 FOREIGN KEY REFERENCES tbl_books(book_id) ON UPDATE CASCADE ON DELETE CASCADE, branch_id INT NOT NULL CONSTRAINT fk_branch_id2 FOREIGN KEY REFERENCES tbl_library_branch(branch_id) ON UPDATE CASCADE ON DELETE CASCADE, card_no INT NOT NULL CONSTRAINT fk_card_no FOREIGN KEY REFERENCES tbl_borrower(card_no) ON UPDATE CASCADE ON DELETE CASCADE, date_out date default GETDATE() NULL, date_due date default DATEADD(day, 7, GETDATE())NOT NULL ); DELETE FROM tbl_library_branch DBCC CHECKIDENT(tbl_library_branch,RESEED, 0) INSERT INTO tbl_library_branch (branch_name, address) VALUES ('Sharpstown', '555 n main st'), ('Central', '123 e main st'), ('south branch', '543 s main st'), ('west branch', '987 w main st') ; SELECT * FROM tbl_library_branch; INSERT INTO tbl_publisher (publisher_name, address, phone) VALUES ('Scribner', '646 nw elm st', '555-445-7539'), ('Picador USA', '123 e main st', '555-789-4125'), ('Simon & Schuster', '543 s main st', '555-369-4896'), ('Macmillan Inc.', '987 w main st', '555-145-6654'), ('Geoffrey Bles', '237 w sitka st', '555-758-4288'), ('Faber and Faber', '8642 w spruce ln', '555-365-3669'), ('Allen & Unwin', '348 w main st', '555-348-3555'), ('J. B. Lippincott & Co.', '987 w 24th st', '555-554-3574'), ('Ken Kesey', '1674 nw 2nd ave', '555-354-3568'), ('Harcourt', '987 w 24th st', '555-145-9674'), ('G.P. Putnams Sons', '65 w 1st ave', '555-194-3584'), ('Anchor', '344 e 20th st', '555-364-4254'), ('Bantam', '5424 e 4th Ve', '555-456-3514') ; SELECT * FROM tbl_publisher; INSERT INTO tbl_books (title, publisher_name) VALUES ('IT','Scribner'), ('The Shining','Scribner'), ('Pet Sematary','Scribner'), ('The Dark Tower: The Gunslinger','Scribner'), ('The Dark Tower: The Drawing of the Three','Scribner'), ('The Dark Tower: The Waste Lands','Scribner'), ('The Dark Tower: Wizard and Glass','Scribner'), ('The Dark Tower','Scribner'), ('The Lost Tribe', 'Picador USA'), ('Catch-22', 'Simon & Schuster'), ('Gone With the Wind', 'Macmillan Inc.'), ('The Great Gatsby', 'Simon & Schuster'), ('The Lion, The Witch and the Wardrobe', 'Geoffrey Bles'), ('Lord of the Flies', 'Faber and Faber'), ('The Lord of the Rings', 'Allen & Unwin'), ('To Kill a Mockingbird', 'J. B. Lippincott & Co.'), ('One Flew Over the Cuckoo’s Nest', 'Ken Kesey'), ('All the King’s Men', 'Harcourt'), ('The Titanic Secret', 'G.P. Putnams Sons'), ('Pirate', 'G.P. Putnams Sons'), ('The Cutthroat', 'G.P. Putnams Sons'), ('The Thief', 'G.P. Putnams Sons'), ('The Race', 'G.P. Putnams Sons'), ('The Wrecker', 'G.P. Putnams Sons'), ('The Chase', 'G.P. Putnams Sons'), ('The Silent Sea', 'G.P. Putnams Sons'), ('The Jungle', 'G.P. Putnams Sons'), ('Plague Ship', 'G.P. Putnams Sons'), ('Piranha', 'G.P. Putnams Sons'), ('Deep Storm', 'Anchor'), ('Terminal Freeze', 'Anchor'), ('Death Match', 'Anchor'), ('The Third Gate', 'Anchor'), ('Full Wolf Moon', 'Anchor'), ('Utopia', 'Anchor'), ('Lethal Velocity', 'Anchor'), ('A GAME OF THRONES', 'Bantam'), ('A CLASH OF KINGS', 'Bantam'), ('A STORM OF SWORDS', 'Bantam'), ('A FEAST FOR CROWS', 'Bantam'), ('A DANCE WITH DRAGONS', 'Bantam') ; SELECT * FROM tbl_books; INSERT INTO tbl_book_auhors (author_name, book_id) VALUES ('Stephen King', 1), ('Stephen King', 2), ('Stephen King', 3), ('Stephen King', 4), ('Stephen King', 5), ('Stephen King', 6), ('Stephen King', 7), ('Stephen King', 8), ('Mark Lee', 9), ('Joseph Heller', 10), ('Margaret Mitchell', 11), ('F. Scott Fitzgerald', 12), ('C.S. Lewis', 13), ('William Golding', 14), ('J.R.R. Tolkien', 15), ('Harper Lee', 16), ('Ken Kesey', 17), ('Robert Penn Warren', 18), ('Clive Cussler', 19), ('Clive Cussler', 20), ('Clive Cussler', 21), ('Clive Cussler', 22), ('Clive Cussler', 23), ('Clive Cussler', 24), ('Clive Cussler', 25), ('Clive Cussler', 26), ('Clive Cussler', 27), ('Clive Cussler', 28), ('Clive Cussler', 29), ('Lincoln Child', 30), ('Lincoln Child', 31), ('Lincoln Child', 32), ('Lincoln Child', 33), ('Lincoln Child', 34), ('Lincoln Child', 35), ('Lincoln Child', 36), ('George R. R. Martin', 37), ('George R. R. Martin', 38), ('George R. R. Martin', 39), ('George R. R. Martin', 40), ('George R. R. Martin', 41) ; SELECT * FROM tbl_book_auhors; INSERT INTO tbl_book_copies (book_id, branch_id, number_of_copies) VALUES (2, 1, 6), --Sharpstown (9, 1, 3), (10, 1, 7), (14, 1, 2), (15, 1, 8), (20, 1, 5), (30, 1, 5), (31, 1, 4), (38, 1, 6), (39, 1, 3), (1, 2, 3), --Central (2, 2, 5), (3, 2, 2), (12, 2, 3), (15, 2, 7), (19, 2, 6), (24, 2, 4), (25, 2, 2), (33, 2, 6), (37, 2, 8), (38, 2, 5), (3, 3, 3), --south branch (4, 3, 5), (5, 3, 4), (6, 3, 6), (7, 3, 2), (8, 3, 4), (9, 3, 4), (30, 3, 8), (31, 3, 6), (32, 3, 13), (33, 3, 4), (1, 4, 8), --west branch (2, 4, 6), (21, 4, 2), (22, 4, 10), (23, 4, 3), (33, 4, 5), (37, 4, 4), (38, 4, 9), (39, 4, 8), (40, 4, 5), (41, 4, 2) ; SELECT * FROM tbl_book_copies; DELETE FROM tbl_borrower DBCC CHECKIDENT (tbl_borrower, RESEED, 0); INSERT INTO tbl_borrower (name, address, phone) VALUES ('Aron Alexander', '427 ne lake st', '555-687-3574'), ('Janiece Scotto', '123 e 14th st', '555-687-9635'), ('Loris Iliff', '35 s main st', '555-687-3589'), ('Lanny Warf', '86 sw lewis ave', '555-687-9963'), ('Sherril Marcinek', '555 n ocean ave', '555-687-4452'), ('Janita Knotts', '689 e 1st st', '555-687-4547'), ('Pasty Schildgen', '543 s 58th ave', '555-687-8524'), ('Buddy Villalta', '314 s 14 pl', '555-687-4963'), ('Leila Moody', '14 s main st', '555-687-3589'), ('Fransisca Ginther', '335 w clark st', '555-687-7578'), ('This Guy', '545 w n 5th st', '555-687-4653') ; SELECT * FROM tbl_borrower; SELECT * FROM tbl_book_loans; DELETE FROM tbl_book_loans INSERT INTO tbl_book_loans (book_id, branch_id, card_no) VALUES (1, 1, 1), -- Person 1 (5, 1, 1), (6, 1, 1), (8, 1, 1), (20, 1, 1), (21, 1, 1), (22, 1, 1), (23, 1, 1), (24, 1, 1), (25, 1, 1), (26, 1, 1), (27, 1, 1), (28, 1, 1), (20, 1, 2), -- Person 2 (30, 1, 2), (31, 1, 2), (33, 1, 2), (36, 1, 2), (37, 1, 2), (38, 1, 2), (8, 2, 3), -- Person 3 (14, 2, 3), (29, 2, 3), (35, 2, 3), (36, 2, 3), (37, 2, 3), (19, 2, 4), -- Person 4 (11, 2, 4), (9, 2, 5), -- Person 5 (6, 2, 5), (38, 2, 5), (39, 2, 5), (40, 2, 5), (41, 2, 5), (5, 2, 5), (1, 2, 5), (6, 3, 6), -- Person 6 (20, 3, 6), (3, 3, 6), (27, 3, 7), -- Person 7 (23, 3, 7), (25, 3, 7), (16, 3, 7), (2, 4, 8), -- Person 8 (1, 4, 8), (35, 4, 9), -- Person 9 (34, 4, 9), (33, 4, 9), (37, 4, 9), (38, 4, 9), (20, 4, 10) -- Person 10 ; SELECT * FROM tbl_book_loans;
IF EXISTS (SELECT * FROM dbo.SysObjects WHERE ID = object_id(N'[Config_User]') AND OBJECTPROPERTY(ID, 'IsTable') = 1) BEGIN drop table Config_User; END CREATE TABLE Config_User ( ID int identity(1,1) primary key,--编号 UserName varchar(50),--名称 UserCode varchar(50),--编码 Password varchar(50),--密码 IsEnable bit,--是否启用 CreaterID INT,--创建人ID Creater varchar(50),--创建人 CreatedOn datetime default getDate(),--创建日期 ModifierID INT,--修改人ID Modifier varchar(50),--修改人 ModifyOn datetime default getDate()--修改日期 ) IF EXISTS (SELECT * FROM dbo.SysObjects WHERE ID = object_id(N'[Config_Modules]') AND OBJECTPROPERTY(ID, 'IsTable') = 1) BEGIN drop table Config_Modules; END CREATE TABLE Config_Modules ( ID int identity(1,1) primary key,--编号 Name varchar(50),--名称 Code varchar(50),--编码 ParentID INT,--父级ID [Level] INT,--层级 IsEnable bit,--是否启用 OrderBy int,--排序 CreaterID INT,--创建人ID Creater varchar(50),--创建人 CreatedOn datetime default getDate(),--创建日期 ModifierID INT,--修改人ID Modifier varchar(50),--修改人 ModifyOn datetime default getDate()--修改日期 ) IF EXISTS (SELECT * FROM dbo.SysObjects WHERE ID = object_id(N'[Config_Pages]') AND OBJECTPROPERTY(ID, 'IsTable') = 1) BEGIN drop table Config_Pages; END CREATE TABLE Config_Pages ( ID int identity(1,1) primary key,--编号 ModuleID INT,--模块ID Name varchar(50),--名称 Code varchar(50),--编码 Url VARCHAR(256),--页面地址 OrderBy int,--排序 CreaterID INT,--创建人ID Creater varchar(50),--创建人 CreatedOn datetime default getDate(),--创建日期 ModifierID INT,--修改人ID Modifier varchar(50),--修改人 ModifyOn datetime default getDate()--修改日期 ) IF EXISTS (SELECT * FROM dbo.SysObjects WHERE ID = object_id(N'[Config_Acions]') AND OBJECTPROPERTY(ID, 'IsTable') = 1) BEGIN drop table Config_Acions; END CREATE TABLE Config_Acions ( ID int identity(1,1) primary key,--编号 PageID INT,--页面ID Name varchar(50),--名称 Code varchar(50),--编码 OrderBy int,--排序 CreaterID INT,--创建人ID Creater varchar(50),--创建人 CreatedOn datetime default getDate(),--创建日期 ModifierID INT,--修改人ID Modifier varchar(50),--修改人 ModifyOn datetime default getDate()--修改日期 ) IF EXISTS (SELECT * FROM dbo.SysObjects WHERE ID = object_id(N'[Config_Organizations]') AND OBJECTPROPERTY(ID, 'IsTable') = 1) BEGIN DROP table Config_Organizations; END create table Config_Organizations ( ID int identity(1,1) primary key,--编号 Name varchar(50),--名称 Code varchar(50),--编码 IsEnable bit,--是否启用 CreaterID INT,--创建人ID Creater varchar(50),--创建人 CreatedOn datetime default getDate(),--创建日期 ModifierID INT,--修改人ID Modifier varchar(50),--修改人 ModifyOn datetime default getDate()--修改日期 ) IF EXISTS (SELECT * FROM dbo.SysObjects WHERE ID = object_id(N'[Config_OrganizationDataBase]') AND OBJECTPROPERTY(ID, 'IsTable') = 1) drop table Config_OrganizationDataBase; create table Config_OrganizationDataBase ( ID int identity(1,1) primary key,--编号 OrganizationID INT,--租户ID DbType varchar(50),--数据库类型 [Server] varchar(256),--数据库地址 DatabaseName varchar(50),--数据库名称 UserName varchar(50),--用户名 [Password] varchar(50),--密码 Port varchar(50),--端口 IsEnable bit,--是否启用 IsMaster bit,--是否主库 Weight int,--权重 CreaterID INT,--创建人ID Creater varchar(50),--创建人 CreatedOn datetime default getDate(),--创建日期 ModifierID INT,--修改人ID Modifier varchar(50),--修改人 ModifyOn datetime default getDate()--修改日期 ) IF EXISTS (SELECT * FROM dbo.SysObjects WHERE ID = object_id(N'[Config_OrganizationModules]') AND OBJECTPROPERTY(ID, 'IsTable') = 1) drop table Config_OrganizationModules; create table Config_OrganizationModules ( ID int identity(1,1) primary key,--编号 OrganizationID INT,--租户ID ModuleID INT,--模块ID CreaterID INT,--创建人ID Creater varchar(50),--创建人 CreatedOn datetime default getDate(),--创建日期 ModifierID INT,--修改人ID Modifier varchar(50),--修改人 ModifyOn datetime default getDate()--修改日期 )
DROP DATABASE IF EXISTS sdc_airbnb; CREATE DATABASE sdc_airbnb; \c sdc_airbnb; DROP TABLE IF EXISTS bigboi; CREATE TABLE bigboi ( id bigserial, listings varchar(200) NOT NULL, diningroom varchar(200) NOT NULL, bedroom varchar(200) NOT NULL, livingroom varchar(200) NOT NULL, patio varchar(200) NOT NULL, kitchen varchar(200) NOT NULL, bathroom varchar(200) NOT NULL, entrance varchar(200) NOT NULL ); GRANT ALL PRIVILEGES ON TABLE bigboi TO sdcmanager; GRANT USAGE, SELECT ON SEQUENCE bigboi_id_seq TO sdcmanager; CREATE INDEX listing_id ON bigboi (id);
/** * @author trigan-d * Create superuser account with all roles. Assign partner and developer entries to that account. */ insert into users (name, password) values ('${superuser.login}', '${superuser.password}'); insert into user_groups (user_id, groups) select id, 0 from users where name='${superuser.login}'; insert into user_groups (user_id, groups) select id, 1 from users where name='${superuser.login}'; insert into user_groups (user_id, groups) select id, 2 from users where name='${superuser.login}'; insert into partners ("name", percent_fee) values ('${overmobile.partner}', '100'); insert into channels ("name", partner_id) select 'default', id from partners where name='${overmobile.partner}'; insert into partner_users (partner_id, user_id) values ((select id from partners where name='${overmobile.partner}'), (select id from users where name='${superuser.login}')); insert into developers ("name", percent_fee) values ('${overmobile.developer}', '100'); insert into developer_users (developer_id, user_id) values ((select id from developers where name='${overmobile.developer}'), (select id from users where name='${superuser.login}'));
ALTER TABLE `Sample` ADD ( `createdBy` varchar(255) NOT NULL, `createdDate` TIMESTAMP(6) NOT NULL, `lastModifiedBy` varchar(255) NOT NULL, `lastModifiedDate` TIMESTAMP(6) DEFAULT NULL );
Deleting Rows Write the necessary SQL statements to delete the "Bulk Email" service and customer "Chen Ke-Hua" from the database. First we delete the records from the join table, and then from each individual table: DELETE FROM customers_services WHERE service_id = 7 OR customer_id = 4; DELETE FROM customers WHERE id = 4; DELETE FROM services WHERE id = 7;
insert into ROOM values ('102', 'P102', 'Special', curdate(), date_add(curdate(), interval 30 day)); insert into ROOM values ('103', 'P102', 'Ordinary', curdate(), date_add(curdate(), interval 30 day)); insert into ROOM values ('104', 'P104', 'Suite', curdate(), date_add(curdate(), interval 30 day)); insert into ROOM values ('105', 'P106', 'Special', curdate(), date_add(curdate(), interval 30 day)); insert into ROOM values ('106', 'P108', 'Special', curdate(), date_add(curdate(), interval 30 day)); commit;
INSERT INTO "User" (login, password) VALUES ('admin', 'admin'); INSERT INTO "User" (login, password) VALUES ('laptev', 'admin'); INSERT INTO "User" (login, password) VALUES ('school21', 'admin'); INSERT INTO "chatroom" (chatroom_name, chatroom_owner) VALUES ('chat1', 1); INSERT INTO "chatroom" (chatroom_name, chatroom_owner) VALUES ('chat2', 2); INSERT INTO "userschats" (user_id, chat_id) VALUES (1, 1); INSERT INTO "userschats" (user_id, chat_id) VALUES (1, 2); INSERT INTO "userschats" (user_id, chat_id) VALUES (2, 1); INSERT INTO "userschats" (user_id, chat_id) VALUES (3, 1); INSERT INTO "userschats" (user_id, chat_id) VALUES (3, 2); INSERT INTO "message" (message_author, message_room, message_text, message_date) VALUES (1, 1, 'hi, my name is admin', current_timestamp); INSERT INTO "message" (message_author, message_room, message_text, message_date) VALUES (1, 1, 'and i"m" coder ', current_timestamp); INSERT INTO "message" (message_author, message_room, message_text, message_date) VALUES (1, 2, 'hi my friends', current_timestamp); INSERT INTO "message" (message_author, message_room, message_text, message_date) VALUES (1, 2, 'today we will chill', current_timestamp); INSERT INTO "message" (message_author, message_room, message_text, message_date) VALUES (2, 1, 'glad to see you admin"', current_timestamp); INSERT INTO "message" (message_author, message_room, message_text, message_date) VALUES (1, 2, 'it is good news', current_timestamp);
--Inserción de tipos de lector en la tabla tipoLector, con sus correspondientes limites de material, dias de --prestamo autorizados y numero de refrendos autorizados. --------------- INSERT INTO tipoLector(tipoLect,limiteMaterial,diasPrestamo,refrendos) VALUES('estudiante',3,8,1); INSERT INTO tipoLector(tipoLect,limiteMaterial,diasPrestamo,refrendos) VALUES('profesor',5,15,2); INSERT INTO tipoLector(tipoLect,limiteMaterial,diasPrestamo,refrendos) VALUES('investigador',10,30,3); COMMIT;
insert into users ( auth_id, name, email, profile_pic ) values ( ${sub}, ${nickname}, ${email}, ${picture} ) returning *;
-- ----------------------------------------------------------------------------- -- -- File: $RCSfile: load.sql,v $ -- Revision: $Revision: 1.10 $ -- Description: Create predefined data in the Clearadm database -- Author: Andrew@ClearSCM.com -- Created: Tue Nov 30 08:46:42 EST 2010 -- Modified: $Date: 2012/07/04 20:51:34 $ -- Language: SQL -- -- Copyright (c) 2010, ClearSCM, Inc., all rights reserved -- -- ----------------------------------------------------------------------------- -- Predefined alerts insert into alert ( name, type ) values ( 'Email admin', 'email' ); -- Predefined notificationsTables insert into notification ( name, alert, cond, nomorethan ) values ( 'Filesystem', 'Email admin', 'Filesystem over threshold', 'Once a day' ); insert into notification ( name, alert, cond, nomorethan ) values ( 'Heartbeat', 'Email admin', 'Heartbeat Failure', 'Once an hour' ); insert into notification ( name, alert, cond, nomorethan ) values ( 'Loadavg', 'Email admin', 'Loadavg over threshold', 'Once an hour' ); insert into notification ( name, alert, cond, nomorethan ) values ( 'Scrub', 'Email admin', 'Scrub Failure', 'Once a day' ); insert into notification ( name, alert, cond, nomorethan ) values ( 'Clearcase Storage', 'Email admin', 'Clearcase Failure', 'Once a day' ); insert into notification ( name, alert, cond, nomorethan ) values ( 'System checkin', 'Email admin', 'Not respoding', 'Once an hour' ); insert into notification ( name, alert, cond, nomorethan ) values ( 'Update systems', 'Email admin', 'Non zero return', 'Once an hour' ); -- Predefined tasks insert into task ( name, system, description, command ) values ( 'Loadavg', 'localhost', 'Obtain a loadavg snapshot on all systems', 'updatela.pl' ); insert into task ( name, system, description, command ) values ( 'Filesystem', 'localhost', 'Obtain a filesystem snapshot on all systems/filesystems', 'updatefs.pl' ); insert into task ( name, system, description, command ) values ( 'Scrub', 'localhost', 'Scrub Clearadm database', 'clearadmscrub.pl' ); insert into task ( name, system, description, command ) values ( 'System checkin', 'localhost', 'Checkin from all systems', 'default' ); insert into task ( name, system, description, command ) values ( 'Update systems', 'localhost', 'Update all systems', 'updatesystem.pl -host all' ); insert into task ( name, system, description, command ) values ( 'Clearcase Storage', 'localhost', 'Update Clearcase VOB/View storage', 'updateccfs.pl' ); -- Predefined schedule insert into schedule ( name, task, notification, frequency ) values ( 'Loadavg', 'Loadavg', 'LoadAvg', '5 Minutes' ); insert into schedule ( name, task, notification, frequency ) values ( 'Filesystem', 'Filesystem', 'Filesystem', '5 Minutes' ); insert into schedule ( name, task, notification, frequency ) values ( 'Scrub', 'Scrub', 'Scrub', '1 day' ); insert into schedule ( name, task, notification, frequency ) values ( 'Clearcase Storage', 'Clearcase Storage', 'Clearcase Storage', '1 day' );
-- Script generated by com.jnj.gtsc.harmony.migration.script.enrich.EnrichRoleToUserAssignments -- Script generated on 28/May/2013 00:43:45 -- Source = jdbc:oracle:thin:@hpxc83p03.ncsbe.eu.jnj.com:2664:DVLUX153 -- Set ampersand definitions off set define off; begin -- Set larger dbms output buffer -- DBMS_OUTPUT.ENABLE(1000000); DBMS_OUTPUT.ENABLE(NULL); -- Enrich RoleToUserAssignments harmony.usermgt.enrich_role_to_user('SADCHAKO', 'EFS_AFF_AUTHORIZER', 1); harmony.usermgt.enrich_role_to_user('SADCHAKO', 'EFS_AFF_REQUESTOR', 1); harmony.usermgt.enrich_role_to_user('SADCHAKO', 'NETTING_AFF_REPORTER_ST', 1); harmony.usermgt.enrich_role_to_user('SADCHAKO', 'RCM_TRANSACTION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SAGOSTO', 'AMMF_REPORTER', 3); harmony.usermgt.enrich_role_to_user('SAGOSTO', 'BANKREPORTING', 1); harmony.usermgt.enrich_role_to_user('SAGOSTO', 'BATCH_MT940_UPLOAD_US', 3); harmony.usermgt.enrich_role_to_user('SAGOSTO', 'BF_AUTHORIZER', 3); harmony.usermgt.enrich_role_to_user('SAGOSTO', 'BF_REPORTER', 3); harmony.usermgt.enrich_role_to_user('SAGOSTO', 'EFS_AFF_AUTHORIZER', 1); harmony.usermgt.enrich_role_to_user('SAGOSTO', 'EFS_REPORTER', 3); harmony.usermgt.enrich_role_to_user('SAGOSTO', 'HB_RELEASER', 3); harmony.usermgt.enrich_role_to_user('SAGOSTO', 'HB_REPORTER', 3); harmony.usermgt.enrich_role_to_user('SAGOSTO', 'HB_REQUESTOR', 3); harmony.usermgt.enrich_role_to_user('SAGOSTO', 'HERMES_ACCOUNT_GROUP_REPORTER', 3); harmony.usermgt.enrich_role_to_user('SAGOSTO', 'HERMES_ACCOUNT_STATUS_REPORTER', 3); harmony.usermgt.enrich_role_to_user('SAGOSTO', 'HERMES_CASHMGT_EFFICIENCY_REP', 3); harmony.usermgt.enrich_role_to_user('SAGOSTO', 'HERMES_ID_TRANSACTION_REPORTER', 3); harmony.usermgt.enrich_role_to_user('SAGOSTO', 'HERMES_RECONCILIATION_REPORTER', 3); harmony.usermgt.enrich_role_to_user('SAGOSTO', 'HERMES_STATEMENT_REPORTER', 3); harmony.usermgt.enrich_role_to_user('SAGOSTO', 'HERMES_TRANSACTION_REPORTER', 3); harmony.usermgt.enrich_role_to_user('SAGOSTO', 'HERMES_VALUE_VOLUME_REPORTER', 3); harmony.usermgt.enrich_role_to_user('SAGOSTO', 'ICL_AFF_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SAGOSTO', 'ICL_AFF_REQUESTOR', 1); harmony.usermgt.enrich_role_to_user('SAGOSTO', 'ICL_REPORTER', 3); harmony.usermgt.enrich_role_to_user('SAGOSTO', 'NETTING_AFF_REPORTER_ST', 1); harmony.usermgt.enrich_role_to_user('SAGOSTO', 'OO_AUTHORIZER', 3); harmony.usermgt.enrich_role_to_user('SAGOSTO', 'OO_RELEASER', 3); harmony.usermgt.enrich_role_to_user('SAGOSTO', 'OO_REPORTER', 3); harmony.usermgt.enrich_role_to_user('SAGOSTO', 'SAA_REPORTING', 3); harmony.usermgt.enrich_role_to_user('SAGOSTO', 'SUNGARD_REPORTER', 3); harmony.usermgt.enrich_role_to_user('SAGOSTO', 'SWIFTCOM_RELEASER', 3); harmony.usermgt.enrich_role_to_user('SAGOSTO', 'TOPS2', 3); harmony.usermgt.enrich_role_to_user('SAGOSTO', 'TOPS_COUNTERPARTY_EXPOSURE', 3); harmony.usermgt.enrich_role_to_user('SAGULTO', 'NETTING_AFF_REQUESTOR_ST', 1); harmony.usermgt.enrich_role_to_user('SAGULTO', 'SUBLEDGER_CASH_POOL_REPORTS', 1); harmony.usermgt.enrich_role_to_user('SAJUAN', 'TPP_AFF_REQUESTOR', 1); harmony.usermgt.enrich_role_to_user('SALSOP', 'AMMF_AFF_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SALSOP', 'BANKREPORTING', 1); harmony.usermgt.enrich_role_to_user('SALSOP', 'HERMES_AFF_STATEMENT_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SALSOP', 'HERMES_AFF_TRANSACTION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SALSOP', 'ICL_AFF_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SALSOP', 'IHC_AFF_POSITION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SALSOP', 'RCM_TRANSACTION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SALSOP', 'SUBLEDGER_CASH_POOL_REPORTS', 1); harmony.usermgt.enrich_role_to_user('SANILKUM', 'AMMF_AFF_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SANILKUM', 'BANKREPORTING', 1); harmony.usermgt.enrich_role_to_user('SANILKUM', 'HERMES_AFF_STATEMENT_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SANILKUM', 'HERMES_AFF_TRANSACTION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SANILKUM', 'ICL_AFF_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SANILKUM', 'IHC_AFF_POSITION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SANILKUM', 'NETTING_AFF_REPORTER_ST', 1); harmony.usermgt.enrich_role_to_user('SANILKUM', 'RCM_TRANSACTION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SANILKUM', 'SUBLEDGER_CASH_POOL_REPORTS', 1); harmony.usermgt.enrich_role_to_user('SANILKUM', 'TPP_P2P_AFF_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SANTONAT', 'AMMF_AFF_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SANTONAT', 'BANKREPORTING', 1); harmony.usermgt.enrich_role_to_user('SANTONAT', 'BF_AFF_AUTHORIZER', 1); harmony.usermgt.enrich_role_to_user('SANTONAT', 'EFS_AFF_REQUESTOR', 1); harmony.usermgt.enrich_role_to_user('SANTONAT', 'HERMES_AFF_STATEMENT_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SANTONAT', 'HERMES_AFF_TRANSACTION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SANTONAT', 'ICL_AFF_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SANTONAT', 'ICL_AFF_REQUESTOR', 1); harmony.usermgt.enrich_role_to_user('SANTONAT', 'IHC_AFF_POSITION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SANTONAT', 'NETTING_AFF_REQUESTOR_ST', 1); harmony.usermgt.enrich_role_to_user('SANTONAT', 'OO_AFF_COCO_AUTH/REL', 1); harmony.usermgt.enrich_role_to_user('SANTONAT', 'RCM_TRANSACTION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SANTONAT', 'SUBLEDGER_CASH_POOL_REPORTS', 1); harmony.usermgt.enrich_role_to_user('SANTONAT', 'TPP_AFF_AUTHORIZER', 1); harmony.usermgt.enrich_role_to_user('SASAVAVI', 'EFS_AFF_AUTHORIZER', 1); harmony.usermgt.enrich_role_to_user('SASAVAVI', 'EFS_AFF_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SASAVAVI', 'NETTING_AFF_REPORTER_ST', 1); harmony.usermgt.enrich_role_to_user('SASAVAVI', 'RCM_TRANSACTION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SASSELIN', 'BANKREPORTING', 1); harmony.usermgt.enrich_role_to_user('SASSELIN', 'HERMES_AFF_STATEMENT_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SASSELIN', 'HERMES_AFF_TRANSACTION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SASSELIN', 'IHC_AFF_POSITION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SBAIG2', 'EFS_AFF_AUTHORIZER', 1); harmony.usermgt.enrich_role_to_user('SBAIG2', 'IHC_AFF_POSITION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SBAIG2', 'NETTING_AFF_REPORTER_ST', 1); harmony.usermgt.enrich_role_to_user('SBAIG2', 'NETTING_AFF_REQUESTOR_ST', 1); harmony.usermgt.enrich_role_to_user('SBAIG2', 'RCM_TRANSACTION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SBAIG2', 'SUBLEDGER_CASH_POOL_REPORTS', 1); harmony.usermgt.enrich_role_to_user('SBAIG2', 'TPP_P2P_AFF_OFFER_AUTHORIZER', 1); harmony.usermgt.enrich_role_to_user('SBERTHA', 'AMMF_AFF_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SBERTHA', 'BANKREPORTING', 1); harmony.usermgt.enrich_role_to_user('SBERTHA', 'BF_AFF_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SBERTHA', 'BF_AFF_REQUESTOR', 1); harmony.usermgt.enrich_role_to_user('SBERTHA', 'EFS_AFF_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SBERTHA', 'EFS_AFF_REQUESTOR', 1); harmony.usermgt.enrich_role_to_user('SBERTHA', 'HERMES_AFF_STATEMENT_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SBERTHA', 'HERMES_AFF_TRANSACTION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SBERTHA', 'ICL_AFF_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SBERTHA', 'IHC_AFF_POSITION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SBERTHA', 'NETTING_AFF_REPORTER_ST', 1); harmony.usermgt.enrich_role_to_user('SBERTHA', 'NETTING_AFF_REQUESTOR_ST', 1); harmony.usermgt.enrich_role_to_user('SBERTHA', 'OO_AFF_COCO_REQUESTOR', 1); harmony.usermgt.enrich_role_to_user('SBERTHA', 'RCM_TRANSACTION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SBERTHA', 'SUBLEDGER_CASH_POOL_REPORTS', 1); harmony.usermgt.enrich_role_to_user('SBERTHA', 'TPP_AFF_REQUESTOR', 1); harmony.usermgt.enrich_role_to_user('SBOEY', 'EFS_AFF_AUTHORIZER', 2); harmony.usermgt.enrich_role_to_user('SBORDANA', 'AMMF_AFF_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SBORDANA', 'BANKREPORTING', 1); harmony.usermgt.enrich_role_to_user('SBORDANA', 'BF_AFF_REQUESTOR', 1); harmony.usermgt.enrich_role_to_user('SBORDANA', 'EFS_AFF_REQUESTOR', 1); harmony.usermgt.enrich_role_to_user('SBORDANA', 'HERMES_AFF_STATEMENT_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SBORDANA', 'HERMES_AFF_TRANSACTION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SBORDANA', 'ICL_AFF_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SBORDANA', 'IHC_AFF_POSITION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SBORDANA', 'NETTING_AFF_REQUESTOR_ST', 1); harmony.usermgt.enrich_role_to_user('SBORDANA', 'OO_AFF_COCO_REQUESTOR', 1); harmony.usermgt.enrich_role_to_user('SBORDANA', 'RCM_TRANSACTION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SBORDANA', 'SUBLEDGER_CASH_POOL_REPORTS', 1); harmony.usermgt.enrich_role_to_user('SBORUP', 'BF_AFF_AUTHORIZER', 1); harmony.usermgt.enrich_role_to_user('SBORUP', 'BF_AFF_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SBORUP', 'OO_AFF_ACCOUNT_AUTH/REL', 1); harmony.usermgt.enrich_role_to_user('SBORUP', 'OO_AFF_ACCOUNT_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SCABIGAT', 'IHC_AFF_POSITION_REPORTER', 2); harmony.usermgt.enrich_role_to_user('SCABIGAT', 'NETTING_AFF_REQUESTOR_ST', 2); harmony.usermgt.enrich_role_to_user('SCACCIOP', 'AMMF_AFF_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SCACCIOP', 'BANKREPORTING', 1); harmony.usermgt.enrich_role_to_user('SCACCIOP', 'BF_AFF_REQUESTOR', 1); harmony.usermgt.enrich_role_to_user('SCACCIOP', 'HERMES_AFF_STATEMENT_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SCACCIOP', 'HERMES_AFF_TRANSACTION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SCACCIOP', 'ICL_AFF_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SCACCIOP', 'IHC_AFF_POSITION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SCACCIOP', 'OO_AFF_COCO_REQUESTOR', 1); harmony.usermgt.enrich_role_to_user('SCACCIOP', 'RCM_TRANSACTION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SCACCIOP', 'SUBLEDGER_CASH_POOL_REPORTS', 1); harmony.usermgt.enrich_role_to_user('SCACCIOP', 'TPP_P2P_AFF_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SCARILIM', 'TPP_P2P_AFF_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SCAUSER', 'BF_AFF_AUTHORIZER', 1); harmony.usermgt.enrich_role_to_user('SCAUSER', 'OO_AFF_SAMEDAY_COCO_AUTH/REL', 3); harmony.usermgt.enrich_role_to_user('SCAVE', 'AMMF_AFF_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SCAVE', 'BANKREPORTING', 1); harmony.usermgt.enrich_role_to_user('SCAVE', 'HERMES_AFF_STATEMENT_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SCAVE', 'HERMES_AFF_TRANSACTION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SCAVE', 'ICL_AFF_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SCAVE', 'IHCTF_AFF_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SCAVE', 'IHCTF_AFF_REQUESTOR', 1); harmony.usermgt.enrich_role_to_user('SCAVE', 'IHC_AFF_POSITION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SCAVE', 'NETTING_AFF_REQUESTOR_ST', 1); harmony.usermgt.enrich_role_to_user('SCAVE', 'RCM_TRANSACTION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SCAVE', 'SUBLEDGER_CASH_POOL_REPORTS', 1); harmony.usermgt.enrich_role_to_user('SCAVE', 'TPP_P2P_AFF_OFFER_REQUESTOR', 1); harmony.usermgt.enrich_role_to_user('SCAVE', 'TPP_P2P_AFF_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SCHAN5', 'TPP_AFF_AUTHORIZER', 1); harmony.usermgt.enrich_role_to_user('SCHEN16', 'NETTING_AFF_REPORTER_ST', 1); harmony.usermgt.enrich_role_to_user('SCHEW', 'EFS_AFF_AUTHORIZER', 1); harmony.usermgt.enrich_role_to_user('SCHEW', 'SUBLEDGER_CASH_POOL_REPORTS', 1); harmony.usermgt.enrich_role_to_user('SCLAEYE', 'AMMF_AFF_REPORTER', 3); harmony.usermgt.enrich_role_to_user('SCLAEYE', 'AMMF_AFF_REQUESTOR', 3); harmony.usermgt.enrich_role_to_user('SCLAEYE', 'AMMF_MANAGER', 3); harmony.usermgt.enrich_role_to_user('SCLAEYE', 'AMMF_REPORTER', 3); harmony.usermgt.enrich_role_to_user('SCLAEYE', 'APPLOG_ENDSTAMP_UPDATE', 3); harmony.usermgt.enrich_role_to_user('SCLAEYE', 'BAM_MANAGER', 3); harmony.usermgt.enrich_role_to_user('SCLAEYE', 'BAM_REPORTER', 3); harmony.usermgt.enrich_role_to_user('SCLAEYE', 'BANKREPORTING', 3); harmony.usermgt.enrich_role_to_user('SCLAEYE', 'BATCH_MT940_UPLOAD', 3); harmony.usermgt.enrich_role_to_user('SCLAEYE', 'BF_AUTHORIZER', 3); harmony.usermgt.enrich_role_to_user('SCLAEYE', 'BF_REPORTER', 3); harmony.usermgt.enrich_role_to_user('SCLAEYE', 'BF_REQUESTOR', 3); harmony.usermgt.enrich_role_to_user('SCLAEYE', 'EFS_REPORTER', 3); harmony.usermgt.enrich_role_to_user('SCLAEYE', 'HB_RELEASER', 3); harmony.usermgt.enrich_role_to_user('SCLAEYE', 'HB_REPORTER', 3); harmony.usermgt.enrich_role_to_user('SCLAEYE', 'HB_REQUESTOR', 3); harmony.usermgt.enrich_role_to_user('SCLAEYE', 'HERMES_ACCOUNT_GROUP_REPORTER', 3); harmony.usermgt.enrich_role_to_user('SCLAEYE', 'HERMES_ACCOUNT_STATUS_REPORTER', 3); harmony.usermgt.enrich_role_to_user('SCLAEYE', 'HERMES_CASHMGT_EFFICIENCY_REP', 3); harmony.usermgt.enrich_role_to_user('SCLAEYE', 'HERMES_ID_TRANSACTION_REPORTER', 3); harmony.usermgt.enrich_role_to_user('SCLAEYE', 'HERMES_RECONCILIATION_REPORTER', 3); harmony.usermgt.enrich_role_to_user('SCLAEYE', 'HERMES_STATEMENT_REPORTER', 3); harmony.usermgt.enrich_role_to_user('SCLAEYE', 'HERMES_TRANSACTION_REPORTER', 3); harmony.usermgt.enrich_role_to_user('SCLAEYE', 'HERMES_VALUE_VOLUME_REPORTER', 3); harmony.usermgt.enrich_role_to_user('SCLAEYE', 'ICL_AFF_REPORTER', 3); harmony.usermgt.enrich_role_to_user('SCLAEYE', 'ICL_AFF_REQUESTOR', 3); harmony.usermgt.enrich_role_to_user('SCLAEYE', 'ICL_MANAGER', 3); harmony.usermgt.enrich_role_to_user('SCLAEYE', 'ICL_REPORTER', 3); harmony.usermgt.enrich_role_to_user('SCLAEYE', 'IHCTF_AFF_REPORTER', 3); harmony.usermgt.enrich_role_to_user('SCLAEYE', 'IHC_POSITION_REPORTER', 3); harmony.usermgt.enrich_role_to_user('SCLAEYE', 'MR_REPORTER', 3); harmony.usermgt.enrich_role_to_user('SCLAEYE', 'MR_REQUESTOR', 3); harmony.usermgt.enrich_role_to_user('SCLAEYE', 'NETTING_AFF_REPORTER_ST', 3); harmony.usermgt.enrich_role_to_user('SCLAEYE', 'NETTING_AFF_REQUESTOR_ST', 3); harmony.usermgt.enrich_role_to_user('SCLAEYE', 'NETTING_REPORTER', 3); harmony.usermgt.enrich_role_to_user('SCLAEYE', 'NETTING_REPORTER_TC', 3); harmony.usermgt.enrich_role_to_user('SCLAEYE', 'OO_AUTHORIZER', 3); harmony.usermgt.enrich_role_to_user('SCLAEYE', 'OO_REPORTER', 3); harmony.usermgt.enrich_role_to_user('SCLAEYE', 'OO_REQUESTOR', 3); harmony.usermgt.enrich_role_to_user('SCLAEYE', 'RCM_TRANSACTION_REPORTER', 3); harmony.usermgt.enrich_role_to_user('SCLAEYE', 'SAP_PRD_AP_FO_USER', 3); harmony.usermgt.enrich_role_to_user('SCLAEYE', 'SUBLEDGER_CASH_POOL_REPORTS', 3); harmony.usermgt.enrich_role_to_user('SCLAEYE', 'SWIFTCOM_REPORTER', 3); harmony.usermgt.enrich_role_to_user('SCLAEYE', 'TOPS2', 3); harmony.usermgt.enrich_role_to_user('SCLAEYE', 'TOPS_COUNTERPARTY_EXPOSURE', 3); harmony.usermgt.enrich_role_to_user('SCLAEYE', 'TPP_AFF_AUTHORIZER', 3); harmony.usermgt.enrich_role_to_user('SCLAEYE', 'TPP_REPORTER', 3); harmony.usermgt.enrich_role_to_user('SCLASSE1', 'NETTING_AFF_REQUESTOR_ST', 1); harmony.usermgt.enrich_role_to_user('SCLIFTON', 'AMMF_REPORTER', 3); harmony.usermgt.enrich_role_to_user('SCLIFTON', 'APPLOG_ENDSTAMP_UPDATE', 3); harmony.usermgt.enrich_role_to_user('SCLIFTON', 'APPLOG_REPORTER', 3); harmony.usermgt.enrich_role_to_user('SCLIFTON', 'BAM_MANAGER', 3); harmony.usermgt.enrich_role_to_user('SCLIFTON', 'BAM_REPORTER', 3); harmony.usermgt.enrich_role_to_user('SCLIFTON', 'BANKREPORTING', 3); harmony.usermgt.enrich_role_to_user('SCLIFTON', 'BATCH_PAYMENT_PROCESSING', 3); harmony.usermgt.enrich_role_to_user('SCLIFTON', 'EFS_AFF_AUTHORIZER', 3); harmony.usermgt.enrich_role_to_user('SCLIFTON', 'EFS_REPORTER', 3); harmony.usermgt.enrich_role_to_user('SCLIFTON', 'HB_REPORTER', 3); harmony.usermgt.enrich_role_to_user('SCLIFTON', 'HERMES_ACCOUNT_GROUP_REPORTER', 3); harmony.usermgt.enrich_role_to_user('SCLIFTON', 'HERMES_ACCOUNT_STATUS_REPORTER', 3); harmony.usermgt.enrich_role_to_user('SCLIFTON', 'HERMES_CASHMGT_EFFICIENCY_REP', 3); harmony.usermgt.enrich_role_to_user('SCLIFTON', 'HERMES_ID_TRANSACTION_REPORTER', 3); harmony.usermgt.enrich_role_to_user('SCLIFTON', 'HERMES_RECONCILIATION_REPORTER', 3); harmony.usermgt.enrich_role_to_user('SCLIFTON', 'HERMES_STATEMENT_REPORTER', 3); harmony.usermgt.enrich_role_to_user('SCLIFTON', 'HERMES_TRANSACTION_REPORTER', 3); harmony.usermgt.enrich_role_to_user('SCLIFTON', 'HERMES_VALUE_VOLUME_REPORTER', 3); harmony.usermgt.enrich_role_to_user('SCLIFTON', 'ICL_REPORTER', 3); harmony.usermgt.enrich_role_to_user('SCLIFTON', 'IHCTF_AFF_REPORTER', 3); harmony.usermgt.enrich_role_to_user('SCLIFTON', 'IHC_POSITION_REPORTER', 3); harmony.usermgt.enrich_role_to_user('SCLIFTON', 'MR_REPORTER', 3); harmony.usermgt.enrich_role_to_user('SCLIFTON', 'NETTING_AFF_REPORTER_ST', 3); harmony.usermgt.enrich_role_to_user('SCLIFTON', 'NETTING_REPORTER', 3); harmony.usermgt.enrich_role_to_user('SCLIFTON', 'NETTING_REPORTER_TC', 3); harmony.usermgt.enrich_role_to_user('SCLIFTON', 'OO_REPORTER', 3); harmony.usermgt.enrich_role_to_user('SCLIFTON', 'RCM_TRANSACTION_REPORTER', 3); harmony.usermgt.enrich_role_to_user('SCLIFTON', 'TOPS2', 3); harmony.usermgt.enrich_role_to_user('SCLIFTON', 'TOPS_COUNTERPARTY_EXPOSURE', 3); harmony.usermgt.enrich_role_to_user('SCLIFTON', 'TPP_AFF_AUTHORIZER', 3); harmony.usermgt.enrich_role_to_user('SCLIFTON', 'TPP_REPORTER', 3); harmony.usermgt.enrich_role_to_user('SCMAR', 'AMMF_AFF_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SCMAR', 'BANKREPORTING', 1); harmony.usermgt.enrich_role_to_user('SCMAR', 'EFS_AFF_AUTHORIZER', 1); harmony.usermgt.enrich_role_to_user('SCMAR', 'HERMES_AFF_STATEMENT_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SCMAR', 'HERMES_AFF_TRANSACTION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SCMAR', 'ICL_AFF_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SCMAR', 'IHC_AFF_POSITION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SCMAR', 'NETTING_AFF_REPORTER_ST', 1); harmony.usermgt.enrich_role_to_user('SCMAR', 'RCM_TRANSACTION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SCMAR', 'SUBLEDGER_CASH_POOL_REPORTS', 1); harmony.usermgt.enrich_role_to_user('SCMAR', 'TPP_P2P_AFF_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SCOUNTER', 'AMMF_AFF_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SCOUNTER', 'ICL_AFF_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SCOUNTER', 'RCM_TRANSACTION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SCOUNTER', 'SUBLEDGER_CASH_POOL_REPORTS', 1); harmony.usermgt.enrich_role_to_user('SCRAWF', 'EFS_AFF_AUTHORIZER', 1); harmony.usermgt.enrich_role_to_user('SCRAWF', 'EFS_AFF_REQUESTOR', 1); harmony.usermgt.enrich_role_to_user('SDAMBLEM', 'BF_AFF_AUTHORIZER', 1); harmony.usermgt.enrich_role_to_user('SDAMBLEM', 'OO_AFF_COCO_AUTH/REL', 1); harmony.usermgt.enrich_role_to_user('SDAMBLEM', 'RCM_TRANSACTION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SDAMBLEM', 'SUBLEDGER_CASH_POOL_REPORTS', 1); harmony.usermgt.enrich_role_to_user('SDEIRO', 'BANKREPORTING', 1); harmony.usermgt.enrich_role_to_user('SDEIRO', 'HERMES_AFF_STATEMENT_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SDEIRO', 'HERMES_AFF_TRANSACTION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SDEIRO', 'IHCTF_AFF_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SDEIRO', 'IHCTF_AFF_REQUESTOR', 1); harmony.usermgt.enrich_role_to_user('SDEIRO', 'IHC_AFF_POSITION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SDEJONG', 'NETTING_AFF_REQUESTOR_ST', 1); harmony.usermgt.enrich_role_to_user('SDELIVAS', 'AMMF_AFF_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SDELIVAS', 'BANKREPORTING', 1); harmony.usermgt.enrich_role_to_user('SDELIVAS', 'HERMES_AFF_STATEMENT_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SDELIVAS', 'HERMES_AFF_TRANSACTION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SDELIVAS', 'IHC_AFF_POSITION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SDELIVAS', 'NETTING_AFF_REPORTER_ST', 1); harmony.usermgt.enrich_role_to_user('SDREIER', 'AMMF_AFF_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SDREIER', 'BANKREPORTING', 1); harmony.usermgt.enrich_role_to_user('SDREIER', 'BF_AFF_AUTHORIZER', 1); harmony.usermgt.enrich_role_to_user('SDREIER', 'BF_AFF_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SDREIER', 'BF_AFF_REQUESTOR', 1); harmony.usermgt.enrich_role_to_user('SDREIER', 'EFS_AFF_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SDREIER', 'HERMES_AFF_STATEMENT_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SDREIER', 'HERMES_AFF_TRANSACTION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SDREIER', 'ICL_AFF_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SDREIER', 'IHCTF_AFF_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SDREIER', 'IHC_AFF_POSITION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SDREIER', 'NETTING_AFF_REPORTER_ST', 1); harmony.usermgt.enrich_role_to_user('SDREIER', 'NETTING_AFF_REQUESTOR_ST', 1); harmony.usermgt.enrich_role_to_user('SDREIER', 'OO_AFF_COCO_AUTH/REL', 1); harmony.usermgt.enrich_role_to_user('SDREIER', 'OO_AFF_COCO_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SDREIER', 'OO_AFF_COCO_REQUESTOR', 1); harmony.usermgt.enrich_role_to_user('SDREIER', 'RCM_TRANSACTION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SDREIER', 'SUBLEDGER_CASH_POOL_REPORTS', 1); harmony.usermgt.enrich_role_to_user('SDREIER', 'TPP_AFF_REQUESTOR', 1); harmony.usermgt.enrich_role_to_user('SDREIER', 'TPP_P2P_AFF_OFFER_REQUESTOR', 1); harmony.usermgt.enrich_role_to_user('SDSAINTB', 'AMMF_AFF_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SDSAINTB', 'AMMF_AFF_REQUESTOR', 1); harmony.usermgt.enrich_role_to_user('SDSAINTB', 'BANKREPORTING', 1); harmony.usermgt.enrich_role_to_user('SDSAINTB', 'HERMES_AFF_STATEMENT_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SDSAINTB', 'HERMES_AFF_TRANSACTION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SDSAINTB', 'ICL_AFF_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SDSAINTB', 'ICL_AFF_REQUESTOR', 1); harmony.usermgt.enrich_role_to_user('SDSAINTB', 'IHCTF_AFF_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SDSAINTB', 'IHCTF_AFF_REQUESTOR', 1); harmony.usermgt.enrich_role_to_user('SDSAINTB', 'IHC_AFF_POSITION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SDSAINTB', 'SUBLEDGER_CASH_POOL_REPORTS', 1); harmony.usermgt.enrich_role_to_user('SESCABI', 'EFS_AFF_REQUESTOR', 1); harmony.usermgt.enrich_role_to_user('SESCABI', 'NETTING_AFF_REQUESTOR_ST', 1); harmony.usermgt.enrich_role_to_user('SESSELIN', 'AMMF_AFF_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SESSELIN', 'BANKREPORTING', 1); harmony.usermgt.enrich_role_to_user('SESSELIN', 'HERMES_AFF_STATEMENT_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SESSELIN', 'HERMES_AFF_TRANSACTION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SESSELIN', 'ICL_AFF_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SESSELIN', 'IHC_AFF_POSITION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SESSELIN', 'NETTING_AFF_REPORTER_ST', 1); harmony.usermgt.enrich_role_to_user('SFARQUH3', 'EFS_AFF_AUTHORIZER', 1); harmony.usermgt.enrich_role_to_user('SFARQUH3', 'EFS_AFF_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SFARQUH3', 'NETTING_AFF_REPORTER_ST', 1); harmony.usermgt.enrich_role_to_user('SFONTE', 'AMMF_AFF_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SFONTE', 'BANKREPORTING', 1); harmony.usermgt.enrich_role_to_user('SFONTE', 'HERMES_AFF_STATEMENT_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SFONTE', 'HERMES_AFF_TRANSACTION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SFONTE', 'ICL_AFF_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SFONTE', 'ICL_AFF_REQUESTOR', 1); harmony.usermgt.enrich_role_to_user('SFONTE', 'IHC_AFF_POSITION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SFONTE', 'NETTING_AFF_REPORTER_ST', 1); harmony.usermgt.enrich_role_to_user('SFONTE', 'RCM_TRANSACTION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SFONTE', 'SUBLEDGER_CASH_POOL_REPORTS', 1); harmony.usermgt.enrich_role_to_user('SFONTE', 'TPP_P2P_AFF_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SFOUHY', 'BANKREPORTING', 1); harmony.usermgt.enrich_role_to_user('SFOUHY', 'HERMES_AFF_STATEMENT_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SFOUHY', 'HERMES_AFF_TRANSACTION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SGARRIS2', 'AP2OLLO_SSC_USER', 2); harmony.usermgt.enrich_role_to_user('SGARRIS2', 'BATCH_PAYMENT_PROCESSING', 3); harmony.usermgt.enrich_role_to_user('SGARRIS2', 'BF_AFF_AUTHORIZER', 1); harmony.usermgt.enrich_role_to_user('SGARRIS2', 'BF_AFF_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SGARRIS2', 'OO_AFF_SAMEDAY_COCO_AUTH/REL', 3); harmony.usermgt.enrich_role_to_user('SGARRIS2', 'OO_AFF_SAMEDAY_COCO_REPORTER', 3); harmony.usermgt.enrich_role_to_user('SGARRIS2', 'SWIFTCOM_REPORTER', 3); harmony.usermgt.enrich_role_to_user('SGARRIS2', 'TPP_AFF_AUTHORIZER', 1); harmony.usermgt.enrich_role_to_user('SGIOSO', 'AMMF_AFF_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SGIOSO', 'BANKREPORTING', 1); harmony.usermgt.enrich_role_to_user('SGIOSO', 'BF_AFF_REQUESTOR', 1); harmony.usermgt.enrich_role_to_user('SGIOSO', 'HERMES_AFF_STATEMENT_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SGIOSO', 'HERMES_AFF_TRANSACTION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SGIOSO', 'ICL_AFF_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SGIOSO', 'IHCTF_AFF_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SGIOSO', 'IHCTF_AFF_REQUESTOR', 1); harmony.usermgt.enrich_role_to_user('SGIOSO', 'IHC_AFF_POSITION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SGIOSO', 'NETTING_AFF_REQUESTOR_ST', 1); harmony.usermgt.enrich_role_to_user('SGIOSO', 'OO_AFF_COCO_REQUESTOR', 1); harmony.usermgt.enrich_role_to_user('SGIOSO', 'RCM_TRANSACTION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SGIOSO', 'SUBLEDGER_CASH_POOL_REPORTS', 1); harmony.usermgt.enrich_role_to_user('SGIROUD', 'AMMF_AFF_REPORTER', 2); harmony.usermgt.enrich_role_to_user('SGIROUD', 'BANKREPORTING', 2); harmony.usermgt.enrich_role_to_user('SGIROUD', 'BF_AFF_AUTHORIZER', 2); harmony.usermgt.enrich_role_to_user('SGIROUD', 'EFS_AFF_AUTHORIZER', 2); harmony.usermgt.enrich_role_to_user('SGIROUD', 'EFS_AFF_REPORTER', 2); harmony.usermgt.enrich_role_to_user('SGIROUD', 'EFS_AFF_REQUESTOR', 2); harmony.usermgt.enrich_role_to_user('SGIROUD', 'HERMES_AFF_STATEMENT_REPORTER', 2); harmony.usermgt.enrich_role_to_user('SGIROUD', 'HERMES_AFF_TRANSACTION_REPORTER', 2); harmony.usermgt.enrich_role_to_user('SGIROUD', 'ICL_AFF_REPORTER', 2); harmony.usermgt.enrich_role_to_user('SGIROUD', 'IHC_AFF_POSITION_REPORTER', 2); harmony.usermgt.enrich_role_to_user('SGIROUD', 'NETTING_AFF_REPORTER_ST', 2); harmony.usermgt.enrich_role_to_user('SGIROUD', 'OO_AFF_COCO_AUTH/REL', 2); harmony.usermgt.enrich_role_to_user('SGIROUD', 'RCM_TRANSACTION_REPORTER', 2); harmony.usermgt.enrich_role_to_user('SGIROUD', 'SUBLEDGER_CASH_POOL_REPORTS', 2); harmony.usermgt.enrich_role_to_user('SGIROUD', 'TPP_AFF_AUTHORIZER', 2); harmony.usermgt.enrich_role_to_user('SGIROUD', 'TPP_P2P_AFF_OFFER_AUTHORIZER', 2); harmony.usermgt.enrich_role_to_user('SGIUSTIN', 'TPP_AFF_REQUESTOR', 1); harmony.usermgt.enrich_role_to_user('SGLARDON', 'EFS_AFF_REQUESTOR', 1); harmony.usermgt.enrich_role_to_user('SGLARDON', 'NETTING_AFF_REPORTER_ST', 1); harmony.usermgt.enrich_role_to_user('SGOETTS1', 'AMMF_AFF_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SGOETTS1', 'BANKREPORTING', 1); harmony.usermgt.enrich_role_to_user('SGOETTS1', 'HERMES_AFF_STATEMENT_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SGOETTS1', 'HERMES_AFF_TRANSACTION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SGOETTS1', 'ICL_AFF_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SGOETTS1', 'ICL_AFF_REQUESTOR', 1); harmony.usermgt.enrich_role_to_user('SGOETTS1', 'IHC_AFF_POSITION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SGOETTS1', 'RCM_TRANSACTION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SGOETTS1', 'SUBLEDGER_CASH_POOL_REPORTS', 1); harmony.usermgt.enrich_role_to_user('SGOETTS1', 'TPP_AFF_AUTHORIZER', 1); harmony.usermgt.enrich_role_to_user('SGOY', 'NETTING_AFF_REPORTER_ST', 1); harmony.usermgt.enrich_role_to_user('SGREUTER', 'BANKREPORTING', 1); harmony.usermgt.enrich_role_to_user('SGREUTER', 'EFS_AFF_REQUESTOR', 1); harmony.usermgt.enrich_role_to_user('SGREUTER', 'HERMES_AFF_STATEMENT_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SGREUTER', 'HERMES_AFF_TRANSACTION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SGREUTER', 'IHC_AFF_POSITION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SGREUTER', 'SUBLEDGER_CASH_POOL_REPORTS', 1); harmony.usermgt.enrich_role_to_user('SGVILI', 'EFS_AFF_REQUESTOR', 1); harmony.usermgt.enrich_role_to_user('SGVILI', 'ICL_AFF_REQUESTOR', 1); harmony.usermgt.enrich_role_to_user('SGVILI', 'NETTING_AFF_REQUESTOR_ST', 1); harmony.usermgt.enrich_role_to_user('SHALLIH3', 'BANKREPORTING', 1); harmony.usermgt.enrich_role_to_user('SHALLIH3', 'HERMES_AFF_STATEMENT_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SHALLIH3', 'HERMES_AFF_TRANSACTION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SHALLIH3', 'TPP_P2P_AFF_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SHART', 'TPP_AFF_REQUESTOR', 1); harmony.usermgt.enrich_role_to_user('SHART', 'TPP_P2P_AFF_OFFER_REQUESTOR', 1); harmony.usermgt.enrich_role_to_user('SHAUSER', 'EFS_AFF_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SHENRIQU', 'AMMF_AFF_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SHENRIQU', 'BANKREPORTING', 1); harmony.usermgt.enrich_role_to_user('SHENRIQU', 'HERMES_AFF_STATEMENT_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SHENRIQU', 'HERMES_AFF_TRANSACTION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SHENRIQU', 'ICL_AFF_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SHENRIQU', 'ICL_AFF_REQUESTOR', 1); harmony.usermgt.enrich_role_to_user('SHENRIQU', 'IHC_AFF_POSITION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SHENRIQU', 'NETTING_AFF_REPORTER_ST', 1); harmony.usermgt.enrich_role_to_user('SHENRIQU', 'RCM_TRANSACTION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SHENRIQU', 'SUBLEDGER_CASH_POOL_REPORTS', 1); harmony.usermgt.enrich_role_to_user('SHENRIQU', 'TPP_P2P_AFF_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SHERMAN8', 'AMMF_AFF_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SHERMAN8', 'AMMF_AFF_REQUESTOR', 1); harmony.usermgt.enrich_role_to_user('SHERMAN8', 'EFS_AFF_REQUESTOR', 1); harmony.usermgt.enrich_role_to_user('SHERMAN8', 'NETTING_AFF_REQUESTOR_ST', 1); harmony.usermgt.enrich_role_to_user('SHOEHLER', 'AMMF_AFF_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SHOEHLER', 'BANKREPORTING', 1); harmony.usermgt.enrich_role_to_user('SHOEHLER', 'HERMES_AFF_STATEMENT_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SHOEHLER', 'HERMES_AFF_TRANSACTION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SHOEHLER', 'ICL_AFF_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SHOEHLER', 'ICL_AFF_REQUESTOR', 1); harmony.usermgt.enrich_role_to_user('SHOEHLER', 'IHC_AFF_POSITION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SHOEHLER', 'NETTING_AFF_REPORTER_ST', 1); harmony.usermgt.enrich_role_to_user('SHOEHLER', 'NETTING_AFF_REQUESTOR_ST', 1); harmony.usermgt.enrich_role_to_user('SHOEHLER', 'RCM_TRANSACTION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SHOEHLER', 'SUBLEDGER_CASH_POOL_REPORTS', 1); harmony.usermgt.enrich_role_to_user('SHOEHLER', 'TPP_P2P_AFF_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SHORTON2', 'BF_AFF_AUTHORIZER', 1); harmony.usermgt.enrich_role_to_user('SHORTON2', 'EFS_AFF_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SHORTON2', 'NETTING_AFF_REPORTER_ST', 1); harmony.usermgt.enrich_role_to_user('SHORTON2', 'OO_AFF_COCO_AUTH/REL', 1); harmony.usermgt.enrich_role_to_user('SHORTON2', 'TPP_AFF_AUTHORIZER', 1); harmony.usermgt.enrich_role_to_user('SHORTON2', 'TPP_AFF_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SHORTON2', 'TPP_P2P_AFF_OFFER_AUTHORIZER', 1); harmony.usermgt.enrich_role_to_user('SHORTON2', 'TPP_P2P_AFF_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SILIESCU', 'AMMF_AFF_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SILIESCU', 'BANKREPORTING', 1); harmony.usermgt.enrich_role_to_user('SILIESCU', 'HERMES_AFF_STATEMENT_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SILIESCU', 'HERMES_AFF_TRANSACTION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SILIESCU', 'ICL_AFF_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SILIESCU', 'IHC_AFF_POSITION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SILIESCU', 'MR_AFF_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SILIESCU', 'NETTING_AFF_REQUESTOR_ST', 1); harmony.usermgt.enrich_role_to_user('SILIESCU', 'OO_AFF_COCO_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SILIESCU', 'RCM_TRANSACTION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SILIESCU', 'SUBLEDGER_CASH_POOL_REPORTS', 1); harmony.usermgt.enrich_role_to_user('SILIESCU', 'TPP_P2P_AFF_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SINGRAM2', 'AMMF_AFF_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SINGRAM2', 'BANKREPORTING', 1); harmony.usermgt.enrich_role_to_user('SINGRAM2', 'HERMES_AFF_STATEMENT_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SINGRAM2', 'HERMES_AFF_TRANSACTION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SINGRAM2', 'ICL_AFF_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SINGRAM2', 'IHC_AFF_POSITION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SINGRAM2', 'RCM_TRANSACTION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SINGRAM2', 'SUBLEDGER_CASH_POOL_REPORTS', 1); harmony.usermgt.enrich_role_to_user('SINGRAM2', 'TPP_P2P_AFF_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SJAEGER', 'NETTING_AFF_REQUESTOR_ST', 1); harmony.usermgt.enrich_role_to_user('SJIN7', 'BANKREPORTING', 2); harmony.usermgt.enrich_role_to_user('SJIN7', 'HERMES_AFF_STATEMENT_REPORTER', 2); harmony.usermgt.enrich_role_to_user('SJIN7', 'HERMES_AFF_TRANSACTION_REPORTER', 2); harmony.usermgt.enrich_role_to_user('SJIN7', 'IHC_AFF_POSITION_REPORTER', 2); harmony.usermgt.enrich_role_to_user('SJIN7', 'NETTING_AFF_REPORTER_ST', 2); harmony.usermgt.enrich_role_to_user('SJIN7', 'SUBLEDGER_CASH_POOL_REPORTS', 2); harmony.usermgt.enrich_role_to_user('SJIN7', 'TPP_AFF_REPORTER', 2); harmony.usermgt.enrich_role_to_user('SKANE3', 'TPP_AFF_REQUESTOR', 1); harmony.usermgt.enrich_role_to_user('SKARUNAK', 'AMMF_AFF_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SKARUNAK', 'AMMF_AFF_REQUESTOR', 1); harmony.usermgt.enrich_role_to_user('SKARUNAK', 'BANKREPORTING', 1); harmony.usermgt.enrich_role_to_user('SKARUNAK', 'HERMES_AFF_STATEMENT_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SKARUNAK', 'HERMES_AFF_TRANSACTION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SKARUNAK', 'ICL_AFF_REQUESTOR', 1); harmony.usermgt.enrich_role_to_user('SKARUNAK', 'IHC_AFF_POSITION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SKARUNAK', 'RCM_TRANSACTION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SKARUNAK', 'SUBLEDGER_CASH_POOL_REPORTS', 1); harmony.usermgt.enrich_role_to_user('SKARUNAK', 'TPP_P2P_AFF_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SKIDD2', 'EFS_AFF_REQUESTOR', 1); harmony.usermgt.enrich_role_to_user('SKIM96', 'EFS_AFF_AUTHORIZER', 1); harmony.usermgt.enrich_role_to_user('SKIM96', 'NETTING_AFF_REPORTER_ST', 1); harmony.usermgt.enrich_role_to_user('SKOTT', 'BANKREPORTING', 1); harmony.usermgt.enrich_role_to_user('SKOTT', 'HERMES_AFF_STATEMENT_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SKOTT', 'HERMES_AFF_TRANSACTION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SKOTT', 'IHC_AFF_POSITION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SKOTT', 'SUBLEDGER_CASH_POOL_REPORTS', 1); harmony.usermgt.enrich_role_to_user('SKOWALSK', 'NETTING_AFF_REPORTER_ST', 1); harmony.usermgt.enrich_role_to_user('SLANKRY', 'EFS_AFF_AUTHORIZER', 1); harmony.usermgt.enrich_role_to_user('SLANKRY', 'ICL_AFF_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SLANKRY', 'ICL_AFF_REQUESTOR', 1); harmony.usermgt.enrich_role_to_user('SLEKIC', 'AMMF_AFF_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SLEKIC', 'HERMES_AFF_STATEMENT_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SLEKIC', 'HERMES_AFF_TRANSACTION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SLEKIC', 'SUBLEDGER_CASH_POOL_REPORTS', 1); harmony.usermgt.enrich_role_to_user('SLEKIC', 'TPP_P2P_AFF_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SLEUNG3', 'EFS_AFF_REQUESTOR', 1); harmony.usermgt.enrich_role_to_user('SLEUNG3', 'RCM_TRANSACTION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SLEUNG3', 'SUBLEDGER_CASH_POOL_REPORTS', 1); harmony.usermgt.enrich_role_to_user('SLOH10', 'EFS_AFF_REQUESTOR', 1); harmony.usermgt.enrich_role_to_user('SLOH10', 'NETTING_AFF_REPORTER_ST', 1); harmony.usermgt.enrich_role_to_user('SLOH10', 'RCM_TRANSACTION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SLOH10', 'SUBLEDGER_CASH_POOL_REPORTS', 1); harmony.usermgt.enrich_role_to_user('SLUNG', 'EFS_AFF_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SLUNG', 'NETTING_AFF_REPORTER_ST', 1); harmony.usermgt.enrich_role_to_user('SLUNG', 'RCM_TRANSACTION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SLUNG', 'TPP_AFF_AUTHORIZER', 1); harmony.usermgt.enrich_role_to_user('SLUPO1', 'NETTING_AFF_REPORTER_ST', 1); harmony.usermgt.enrich_role_to_user('SMA2', 'EFS_AFF_AUTHORIZER', 2); harmony.usermgt.enrich_role_to_user('SMACCLOS', 'EFS_AFF_REQUESTOR', 1); harmony.usermgt.enrich_role_to_user('SMACCLOS', 'TPP_AFF_AUTHORIZER', 1); harmony.usermgt.enrich_role_to_user('SMACLONG', 'EFS_AFF_AUTHORIZER', 1); harmony.usermgt.enrich_role_to_user('SMACNAMA', 'AMMF_AFF_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SMADJITO', 'EFS_AFF_AUTHORIZER', 1); harmony.usermgt.enrich_role_to_user('SMAHIEU', 'IHC_AFF_POSITION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SMAHIEU', 'SUBLEDGER_CASH_POOL_REPORTS', 1); harmony.usermgt.enrich_role_to_user('SMAHOME', 'AMMF_AFF_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SMAHOME', 'EFS_AFF_AUTHORIZER', 1); harmony.usermgt.enrich_role_to_user('SMAHOME', 'HERMES_AFF_STATEMENT_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SMAHOME', 'HERMES_AFF_TRANSACTION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SMAHOME', 'ICL_AFF_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SMAHOME', 'ICL_AFF_REQUESTOR', 1); harmony.usermgt.enrich_role_to_user('SMAHOME', 'IHCTF_AFF_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SMAHOME', 'IHC_AFF_POSITION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SMAHOME', 'NETTING_AFF_REPORTER_ST', 1); harmony.usermgt.enrich_role_to_user('SMANDLA', 'AMMF_AFF_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SMANDLA', 'BANKREPORTING', 1); harmony.usermgt.enrich_role_to_user('SMANDLA', 'EFS_AFF_AUTHORIZER', 1); harmony.usermgt.enrich_role_to_user('SMANDLA', 'EFS_AFF_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SMANDLA', 'HERMES_AFF_STATEMENT_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SMANDLA', 'HERMES_AFF_TRANSACTION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SMANDLA', 'ICL_AFF_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SMANDLA', 'IHCTF_AFF_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SMANDLA', 'IHC_AFF_POSITION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SMANDLA', 'NETTING_AFF_REPORTER_ST', 1); harmony.usermgt.enrich_role_to_user('SMANDLA', 'TPP_AFF_AUTHORIZER', 1); harmony.usermgt.enrich_role_to_user('SMANDLA', 'TPP_P2P_AFF_OFFER_AUTHORIZER', 1); harmony.usermgt.enrich_role_to_user('SMANI1', 'EFS_AFF_AUTHORIZER', 1); harmony.usermgt.enrich_role_to_user('SMARBEY', 'EFS_AFF_REQUESTOR', 1); harmony.usermgt.enrich_role_to_user('SMARBEY', 'SAP_PRD_US_ACC_USER', 3); harmony.usermgt.enrich_role_to_user('SMARCZA', 'BANKREPORTING', 1); harmony.usermgt.enrich_role_to_user('SMARCZA', 'BATCH_PAYMENT_PROCESSING', 3); harmony.usermgt.enrich_role_to_user('SMARCZA', 'BF_AFF_AUTHORIZER', 1); harmony.usermgt.enrich_role_to_user('SMARCZA', 'HERMES_AFF_STATEMENT_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SMARCZA', 'HERMES_AFF_TRANSACTION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SMARCZA', 'OO_AFF_SAMEDAY_ACCNT_AUTH/REL', 3); harmony.usermgt.enrich_role_to_user('SMARCZA', 'SWIFTCOM_REPORTER', 3); harmony.usermgt.enrich_role_to_user('SMARTI23', 'TPP_P2P_AFF_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SMCGHEE1', 'GXRS_SSC_MANAGER', 2); harmony.usermgt.enrich_role_to_user('SMCGHEE1', 'SWIFTCOM_RELEASER', 3); harmony.usermgt.enrich_role_to_user('SMEARINI', 'BANKREPORTING', 1); harmony.usermgt.enrich_role_to_user('SMEARINI', 'HERMES_AFF_STATEMENT_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SMEARINI', 'HERMES_AFF_TRANSACTION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SMEARINI', 'IHC_AFF_POSITION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SMEARINI', 'TPP_AFF_REQUESTOR', 1); harmony.usermgt.enrich_role_to_user('SMEARINI', 'TPP_P2P_AFF_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SMEERLO2', 'L-DRIVE_SEC_USER', 3); harmony.usermgt.enrich_role_to_user('SMEHIC', 'AMMF_AFF_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SMEHIC', 'BANKREPORTING', 1); harmony.usermgt.enrich_role_to_user('SMEHIC', 'HERMES_AFF_STATEMENT_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SMEHIC', 'HERMES_AFF_TRANSACTION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SMEHIC', 'ICL_AFF_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SMEHIC', 'IHC_AFF_POSITION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SMEHIC', 'NETTING_AFF_REQUESTOR_ST', 1); harmony.usermgt.enrich_role_to_user('SMEHIC', 'RCM_TRANSACTION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SMEHIC', 'SUBLEDGER_CASH_POOL_REPORTS', 1); harmony.usermgt.enrich_role_to_user('SMEIJ', 'AMMF_AFF_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SMEIJ', 'AMMF_AFF_REQUESTOR', 1); harmony.usermgt.enrich_role_to_user('SMEIJ', 'BANKREPORTING', 1); harmony.usermgt.enrich_role_to_user('SMEIJ', 'BF_AFF_REQUESTOR', 1); harmony.usermgt.enrich_role_to_user('SMEIJ', 'EFS_AFF_REQUESTOR', 1); harmony.usermgt.enrich_role_to_user('SMEIJ', 'HERMES_AFF_STATEMENT_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SMEIJ', 'HERMES_AFF_TRANSACTION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SMEIJ', 'ICL_AFF_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SMEIJ', 'ICL_AFF_REQUESTOR', 1); harmony.usermgt.enrich_role_to_user('SMEIJ', 'IHC_AFF_POSITION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SMEIJ', 'NETTING_AFF_REQUESTOR_ST', 1); harmony.usermgt.enrich_role_to_user('SMEIJ', 'OO_AFF_COCO_REQUESTOR', 1); harmony.usermgt.enrich_role_to_user('SMEIJ', 'RCM_TRANSACTION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SMEIJ', 'SUBLEDGER_CASH_POOL_REPORTS', 1); harmony.usermgt.enrich_role_to_user('SMILLE80', 'IHC_AFF_POSITION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SMILLE80', 'RCM_TRANSACTION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SMILLE80', 'SUBLEDGER_CASH_POOL_REPORTS', 1); harmony.usermgt.enrich_role_to_user('SMOHLER', 'IHC_AFF_POSITION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SMOHLER', 'SUBLEDGER_CASH_POOL_REPORTS', 1); harmony.usermgt.enrich_role_to_user('SMOHLER', 'TPP_AFF_AUTHORIZER', 1); harmony.usermgt.enrich_role_to_user('SMOHLER', 'TPP_AFF_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SMOHLER', 'TPP_P2P_AFF_OFFER_AUTHORIZER', 1); harmony.usermgt.enrich_role_to_user('SMOK', 'EFS_AFF_AUTHORIZER', 1); harmony.usermgt.enrich_role_to_user('SMOK', 'NETTING_AFF_REPORTER_ST', 1); harmony.usermgt.enrich_role_to_user('SMOK', 'NETTING_AFF_REQUESTOR_ST', 1); harmony.usermgt.enrich_role_to_user('SMOK', 'RCM_TRANSACTION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SMOK', 'SUBLEDGER_CASH_POOL_REPORTS', 1); harmony.usermgt.enrich_role_to_user('SMUNUSAMY', 'EFS_AFF_REQUESTOR', 1); harmony.usermgt.enrich_role_to_user('SMUNUSAMY', 'NETTING_AFF_REPORTER_ST', 1); harmony.usermgt.enrich_role_to_user('SMUNUSAMY', 'RCM_TRANSACTION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SMUNUSAMY', 'SUBLEDGER_CASH_POOL_REPORTS', 1); harmony.usermgt.enrich_role_to_user('SNAIDOO1', 'AMMF_AFF_REQUESTOR', 1); harmony.usermgt.enrich_role_to_user('SNAIDOO1', 'BANKREPORTING', 1); harmony.usermgt.enrich_role_to_user('SNAIDOO1', 'EFS_AFF_AUTHORIZER', 1); harmony.usermgt.enrich_role_to_user('SNAIDOO1', 'EFS_AFF_REQUESTOR', 1); harmony.usermgt.enrich_role_to_user('SNAIDOO1', 'HERMES_AFF_STATEMENT_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SNAIDOO1', 'HERMES_AFF_TRANSACTION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SNAIDOO1', 'ICL_AFF_REQUESTOR', 1); harmony.usermgt.enrich_role_to_user('SNAIDOO1', 'IHCTF_AFF_REQUESTOR', 1); harmony.usermgt.enrich_role_to_user('SNAIDOO1', 'NETTING_AFF_REQUESTOR_ST', 1); harmony.usermgt.enrich_role_to_user('SNEARY', 'BANKREPORTING', 1); harmony.usermgt.enrich_role_to_user('SNEARY', 'EFS_AFF_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SNEARY', 'EFS_AFF_REQUESTOR', 1); harmony.usermgt.enrich_role_to_user('SNEARY', 'HERMES_AFF_STATEMENT_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SNEARY', 'HERMES_AFF_TRANSACTION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SNEARY', 'IHC_AFF_POSITION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SNEARY', 'NETTING_AFF_REQUESTOR_ST', 1); harmony.usermgt.enrich_role_to_user('SNEARY', 'TPP_P2P_AFF_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SNGAMSAN', 'EFS_AFF_AUTHORIZER', 1); harmony.usermgt.enrich_role_to_user('SNGAMSAN', 'NETTING_AFF_REPORTER_ST', 1); harmony.usermgt.enrich_role_to_user('SNGAMSAN', 'RCM_TRANSACTION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SNOPARVA', 'AMMF_AFF_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SNOPARVA', 'BANKREPORTING', 1); harmony.usermgt.enrich_role_to_user('SNOPARVA', 'EFS_AFF_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SNOPARVA', 'HERMES_AFF_STATEMENT_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SNOPARVA', 'HERMES_AFF_TRANSACTION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SNOPARVA', 'ICL_AFF_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SNOPARVA', 'IHC_AFF_POSITION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SNOPARVA', 'NETTING_AFF_REPORTER_ST', 1); harmony.usermgt.enrich_role_to_user('SNOPARVA', 'NETTING_AFF_REQUESTOR_ST', 1); harmony.usermgt.enrich_role_to_user('SNOPARVA', 'RCM_TRANSACTION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SNOPARVA', 'SUBLEDGER_CASH_POOL_REPORTS', 1); harmony.usermgt.enrich_role_to_user('SNOWWAPA', 'EFS_AFF_REQUESTOR', 1); harmony.usermgt.enrich_role_to_user('SNOWWAPA', 'NETTING_AFF_REQUESTOR_ST', 1); harmony.usermgt.enrich_role_to_user('SNOWWAPA', 'RCM_TRANSACTION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SOCALLAG', 'ICL_AFF_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SOCALLAG', 'NETTING_AFF_REPORTER_ST', 1); harmony.usermgt.enrich_role_to_user('SOCALLAG', 'TPP_P2P_AFF_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SOCONN19', 'TPP_AFF_REQUESTOR', 1); harmony.usermgt.enrich_role_to_user('SOLEARY2', 'AMMF_AFF_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SOLEARY2', 'ICL_AFF_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SOLEARY2', 'IHC_AFF_POSITION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SOLEARY2', 'RCM_TRANSACTION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SOLEARY2', 'SUBLEDGER_CASH_POOL_REPORTS', 1); harmony.usermgt.enrich_role_to_user('SOLEARY2', 'TPP_AFF_REQUESTOR', 1); harmony.usermgt.enrich_role_to_user('SORDONEZ', 'ICL_AFF_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SORDONEZ', 'ICL_AFF_REQUESTOR', 1); harmony.usermgt.enrich_role_to_user('SORDONEZ', 'NETTING_AFF_REQUESTOR_ST', 1); harmony.usermgt.enrich_role_to_user('SPACK', 'TPP_AFF_AUTHORIZER', 1); harmony.usermgt.enrich_role_to_user('SPALUMBO', 'APPLOG_REPORTER', 3); harmony.usermgt.enrich_role_to_user('SPALUMBO', 'BANKREPORTING', 1); harmony.usermgt.enrich_role_to_user('SPALUMBO', 'BATCH_C4S_TO_SYM', 3); harmony.usermgt.enrich_role_to_user('SPALUMBO', 'BATCH_HERMES-IHB', 3); harmony.usermgt.enrich_role_to_user('SPALUMBO', 'HERMES_ACCOUNT_GROUP_REPORTER', 3); harmony.usermgt.enrich_role_to_user('SPALUMBO', 'HERMES_ACCOUNT_STATUS_REPORTER', 3); harmony.usermgt.enrich_role_to_user('SPALUMBO', 'HERMES_CASHMGT_EFFICIENCY_REP', 3); harmony.usermgt.enrich_role_to_user('SPALUMBO', 'HERMES_ID_TRANSACTION_REPORTER', 3); harmony.usermgt.enrich_role_to_user('SPALUMBO', 'HERMES_RECONCILIATION_REPORTER', 3); harmony.usermgt.enrich_role_to_user('SPALUMBO', 'HERMES_STATEMENT_REPORTER', 3); harmony.usermgt.enrich_role_to_user('SPALUMBO', 'HERMES_TRANSACTION_REPORTER', 3); harmony.usermgt.enrich_role_to_user('SPALUMBO', 'HERMES_VALUE_VOLUME_REPORTER', 3); harmony.usermgt.enrich_role_to_user('SPALUMBO', 'IHC_AFF_POSITION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SPALUMBO', 'IHC_POSITION_REPORTER', 3); harmony.usermgt.enrich_role_to_user('SPALUMBO', 'NETTING_AFF_REPORTER_ST', 1); harmony.usermgt.enrich_role_to_user('SPALUMBO', 'NETTING_AFF_REQUESTOR_ST', 1); harmony.usermgt.enrich_role_to_user('SPALUMBO', 'SAP_PRD_US_ACC_SUPERVISOR', 3); harmony.usermgt.enrich_role_to_user('SPALUMBO', 'TPP_AFF_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SPANOS', 'TPP_AFF_AUTHORIZER', 1); harmony.usermgt.enrich_role_to_user('SPARK18', 'NETTING_AFF_REPORTER_ST', 1); harmony.usermgt.enrich_role_to_user('SPAVESI', 'AMMF_AFF_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SPAVESI', 'BANKREPORTING', 1); harmony.usermgt.enrich_role_to_user('SPAVESI', 'BF_AFF_REQUESTOR', 1); harmony.usermgt.enrich_role_to_user('SPAVESI', 'HERMES_AFF_STATEMENT_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SPAVESI', 'HERMES_AFF_TRANSACTION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SPAVESI', 'ICL_AFF_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SPAVESI', 'ICL_AFF_REQUESTOR', 1); harmony.usermgt.enrich_role_to_user('SPAVESI', 'IHCTF_AFF_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SPAVESI', 'IHCTF_AFF_REQUESTOR', 1); harmony.usermgt.enrich_role_to_user('SPAVESI', 'IHC_AFF_POSITION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SPAVESI', 'NETTING_AFF_REQUESTOR_ST', 1); harmony.usermgt.enrich_role_to_user('SPAVESI', 'OO_AFF_COCO_REQUESTOR', 1); harmony.usermgt.enrich_role_to_user('SPAVESI', 'RCM_TRANSACTION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SPAVESI', 'SUBLEDGER_CASH_POOL_REPORTS', 1); harmony.usermgt.enrich_role_to_user('SPFISTER', 'BF_AFF_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SPFISTER', 'OO_AFF_COCO_AUTH/REL', 1); harmony.usermgt.enrich_role_to_user('SPFISTER', 'OO_AFF_COCO_REQUESTOR', 1); harmony.usermgt.enrich_role_to_user('SRIBANO', 'AMMF_AFF_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SRIBANO', 'BANKREPORTING', 1); harmony.usermgt.enrich_role_to_user('SRIBANO', 'BF_AFF_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SRIBANO', 'HERMES_AFF_STATEMENT_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SRIBANO', 'HERMES_AFF_TRANSACTION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SRIBANO', 'IHC_AFF_POSITION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SRIBANO', 'NETTING_AFF_REPORTER_ST', 1); harmony.usermgt.enrich_role_to_user('SRIBANO', 'NETTING_AFF_REQUESTOR_ST', 1); harmony.usermgt.enrich_role_to_user('SRIBANO', 'OO_AFF_COCO_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SRIBANO', 'RCM_TRANSACTION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SRIBANO', 'SUBLEDGER_CASH_POOL_REPORTS', 1); harmony.usermgt.enrich_role_to_user('SRIBANO', 'TPP_AFF_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SRIBANO', 'TPP_P2P_AFF_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SRIZAL', 'EFS_AFF_AUTHORIZER', 1); harmony.usermgt.enrich_role_to_user('SRIZAL', 'RCM_TRANSACTION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SRIZAL', 'SUBLEDGER_CASH_POOL_REPORTS', 1); harmony.usermgt.enrich_role_to_user('SROCHAT', 'NETTING_AFF_REQUESTOR_ST', 1); harmony.usermgt.enrich_role_to_user('SROETTGE', 'AMMF_AFF_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SROETTGE', 'BANKREPORTING', 1); harmony.usermgt.enrich_role_to_user('SROETTGE', 'ICL_AFF_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SROETTGE', 'IHC_AFF_POSITION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SROETTGE', 'RCM_TRANSACTION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SROETTGE', 'SUBLEDGER_CASH_POOL_REPORTS', 1); harmony.usermgt.enrich_role_to_user('SROSENMA', 'EFS_AFF_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SRUCKLI', 'AMMF_AFF_REPORTER', 2); harmony.usermgt.enrich_role_to_user('SRUCKLI', 'AMMF_AFF_REQUESTOR', 2); harmony.usermgt.enrich_role_to_user('SRUCKLI', 'BANKREPORTING', 2); harmony.usermgt.enrich_role_to_user('SRUCKLI', 'BF_AFF_AUTHORIZER', 2); harmony.usermgt.enrich_role_to_user('SRUCKLI', 'BF_AFF_REPORTER', 2); harmony.usermgt.enrich_role_to_user('SRUCKLI', 'BF_AFF_REQUESTOR', 2); harmony.usermgt.enrich_role_to_user('SRUCKLI', 'EFS_AFF_REQUESTOR', 2); harmony.usermgt.enrich_role_to_user('SRUCKLI', 'HERMES_AFF_STATEMENT_REPORTER', 2); harmony.usermgt.enrich_role_to_user('SRUCKLI', 'HERMES_AFF_TRANSACTION_REPORTER', 2); harmony.usermgt.enrich_role_to_user('SRUCKLI', 'ICL_AFF_REPORTER', 2); harmony.usermgt.enrich_role_to_user('SRUCKLI', 'ICL_AFF_REQUESTOR', 2); harmony.usermgt.enrich_role_to_user('SRUCKLI', 'IHCTF_AFF_REPORTER', 2); harmony.usermgt.enrich_role_to_user('SRUCKLI', 'IHCTF_AFF_REQUESTOR', 2); harmony.usermgt.enrich_role_to_user('SRUCKLI', 'IHC_AFF_POSITION_REPORTER', 2); harmony.usermgt.enrich_role_to_user('SRUCKLI', 'NETTING_AFF_REQUESTOR_ST', 2); harmony.usermgt.enrich_role_to_user('SRUCKLI', 'NETTING_REQUESTOR_TC', 3); harmony.usermgt.enrich_role_to_user('SRUCKLI', 'OO_AFF_COCO_AUTH/REL', 2); harmony.usermgt.enrich_role_to_user('SRUCKLI', 'OO_AFF_COCO_REPORTER', 2); harmony.usermgt.enrich_role_to_user('SRUCKLI', 'OO_AFF_COCO_REQUESTOR', 2); harmony.usermgt.enrich_role_to_user('SRUCKLI', 'RCM_TRANSACTION_REPORTER', 2); harmony.usermgt.enrich_role_to_user('SRUCKLI', 'SUBLEDGER_CASH_POOL_REPORTS', 2); harmony.usermgt.enrich_role_to_user('SRUCKLI', 'TPP_AFF_REQUESTOR', 2); harmony.usermgt.enrich_role_to_user('SRUCKLI', 'TPP_P2P_AFF_OFFER_REQUESTOR', 2); harmony.usermgt.enrich_role_to_user('SRUF', 'EFS_AFF_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SRYDEN1', 'EFS_AFF_AUTHORIZER', 1); harmony.usermgt.enrich_role_to_user('SSAENAPI', 'RCM_TRANSACTION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SSATO6', 'AMMF_AFF_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SSATO6', 'BANKREPORTING', 1); harmony.usermgt.enrich_role_to_user('SSATO6', 'EFS_AFF_REQUESTOR', 1); harmony.usermgt.enrich_role_to_user('SSATO6', 'HERMES_AFF_STATEMENT_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SSATO6', 'HERMES_AFF_TRANSACTION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SSATO6', 'ICL_AFF_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SSATO6', 'IHC_AFF_POSITION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SSATO6', 'NETTING_AFF_REPORTER_ST', 1); harmony.usermgt.enrich_role_to_user('SSATO6', 'RCM_TRANSACTION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SSATO6', 'SUBLEDGER_CASH_POOL_REPORTS', 1); harmony.usermgt.enrich_role_to_user('SSATO6', 'TPP_AFF_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SSATO6', 'TPP_P2P_AFF_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SSCHNEI2', 'TPP_P2P_AFF_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SSHAKINA', 'EFS_AFF_AUTHORIZER', 1); harmony.usermgt.enrich_role_to_user('SSHAKINA', 'EFS_AFF_REQUESTOR', 1); harmony.usermgt.enrich_role_to_user('SSHAKINA', 'NETTING_AFF_REPORTER_ST', 1); harmony.usermgt.enrich_role_to_user('SSHEFFI5', 'BF_AFF_AUTHORIZER', 1); harmony.usermgt.enrich_role_to_user('SSHEFFI5', 'OO_AFF_SAMEDAY_COCO_AUTH/REL', 3); harmony.usermgt.enrich_role_to_user('SSHEFFI5', 'TPP_AFF_AUTHORIZER', 1); harmony.usermgt.enrich_role_to_user('SSIEVERS', 'AMMF_AFF_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SSIEVERS', 'BANKREPORTING', 1); harmony.usermgt.enrich_role_to_user('SSIEVERS', 'HERMES_AFF_STATEMENT_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SSIEVERS', 'HERMES_AFF_TRANSACTION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SSIEVERS', 'ICL_AFF_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SSIEVERS', 'IHC_AFF_POSITION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SSIEVERS', 'NETTING_AFF_REQUESTOR_ST', 1); harmony.usermgt.enrich_role_to_user('SSIEVERS', 'RCM_TRANSACTION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SSIEVERS', 'SUBLEDGER_CASH_POOL_REPORTS', 1); harmony.usermgt.enrich_role_to_user('SSILVA42', 'SUBLEDGER_CASH_POOL_REPORTS', 1); harmony.usermgt.enrich_role_to_user('SSTOCHMA', 'GXRS_REPORTER', 2); harmony.usermgt.enrich_role_to_user('SSULISTI', 'EFS_AFF_AUTHORIZER', 1); harmony.usermgt.enrich_role_to_user('SSULISTI', 'NETTING_AFF_REPORTER_ST', 1); harmony.usermgt.enrich_role_to_user('SSULLIV1', 'EFS_AFF_REQUESTOR', 1); harmony.usermgt.enrich_role_to_user('SSULLIV1', 'TPP_AFF_AUTHORIZER', 1); harmony.usermgt.enrich_role_to_user('SSULLIV1', 'TPP_P2P_AFF_OFFER_AUTHORIZER', 1); harmony.usermgt.enrich_role_to_user('SSVYNOS', 'AMMF_AFF_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SSVYNOS', 'BANKREPORTING', 1); harmony.usermgt.enrich_role_to_user('SSVYNOS', 'BF_AFF_REQUESTOR', 1); harmony.usermgt.enrich_role_to_user('SSVYNOS', 'HERMES_AFF_STATEMENT_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SSVYNOS', 'HERMES_AFF_TRANSACTION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SSVYNOS', 'ICL_AFF_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SSVYNOS', 'ICL_AFF_REQUESTOR', 1); harmony.usermgt.enrich_role_to_user('SSVYNOS', 'IHC_AFF_POSITION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SSVYNOS', 'NETTING_AFF_REQUESTOR_ST', 1); harmony.usermgt.enrich_role_to_user('SSVYNOS', 'OO_AFF_COCO_REQUESTOR', 1); harmony.usermgt.enrich_role_to_user('SSVYNOS', 'RCM_TRANSACTION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SSVYNOS', 'SUBLEDGER_CASH_POOL_REPORTS', 1); harmony.usermgt.enrich_role_to_user('SSVYNOS', 'TPP_AFF_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SSWEENE5', 'SAP_PRD_US_ACC_SUPERVISOR', 3); harmony.usermgt.enrich_role_to_user('SSWEENE5', 'TPP_AFF_REPORTER', 1); harmony.usermgt.enrich_role_to_user('STAKEUC5', 'BANKREPORTING', 1); harmony.usermgt.enrich_role_to_user('STAKEUC5', 'HERMES_AFF_STATEMENT_REPORTER', 1); harmony.usermgt.enrich_role_to_user('STAKEUC5', 'HERMES_AFF_TRANSACTION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('STAKEUC5', 'IHC_AFF_POSITION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('STAKEUC5', 'RCM_TRANSACTION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('STAKEUC5', 'SUBLEDGER_CASH_POOL_REPORTS', 1); harmony.usermgt.enrich_role_to_user('STAM', 'BANKREPORTING', 1); harmony.usermgt.enrich_role_to_user('STAM', 'EFS_AFF_AUTHORIZER', 1); harmony.usermgt.enrich_role_to_user('STAM', 'HERMES_AFF_STATEMENT_REPORTER', 1); harmony.usermgt.enrich_role_to_user('STAM', 'HERMES_AFF_TRANSACTION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('STAM', 'IHCTF_AFF_REPORTER', 1); harmony.usermgt.enrich_role_to_user('STAM', 'IHCTF_AFF_REQUESTOR', 1); harmony.usermgt.enrich_role_to_user('STAM', 'IHC_AFF_POSITION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('STAM', 'NETTING_AFF_REPORTER_ST', 1); harmony.usermgt.enrich_role_to_user('STAN17', 'ICL_AFF_REPORTER', 1); harmony.usermgt.enrich_role_to_user('STAN17', 'SUBLEDGER_CASH_POOL_REPORTS', 1); harmony.usermgt.enrich_role_to_user('STAYMAN', 'AMMF_AFF_REPORTER', 1); harmony.usermgt.enrich_role_to_user('STAYMAN', 'AMMF_AFF_REQUESTOR', 1); harmony.usermgt.enrich_role_to_user('STAYMAN', 'BANKREPORTING', 1); harmony.usermgt.enrich_role_to_user('STAYMAN', 'EFS_AFF_AUTHORIZER', 1); harmony.usermgt.enrich_role_to_user('STAYMAN', 'EFS_AFF_REQUESTOR', 1); harmony.usermgt.enrich_role_to_user('STAYMAN', 'HERMES_AFF_STATEMENT_REPORTER', 1); harmony.usermgt.enrich_role_to_user('STAYMAN', 'HERMES_AFF_TRANSACTION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('STAYMAN', 'ICL_AFF_REPORTER', 1); harmony.usermgt.enrich_role_to_user('STAYMAN', 'ICL_AFF_REQUESTOR', 1); harmony.usermgt.enrich_role_to_user('STAYMAN', 'IHC_AFF_POSITION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('STAYMAN', 'NETTING_AFF_REQUESTOR_ST', 1); harmony.usermgt.enrich_role_to_user('STHAKKA1', 'EFS_AFF_REPORTER', 1); harmony.usermgt.enrich_role_to_user('STHIJS', 'AGENT_FO_IHB_MANAGER', 3); harmony.usermgt.enrich_role_to_user('STHIJS', 'AMMF_AFF_REPORTER', 3); harmony.usermgt.enrich_role_to_user('STHIJS', 'AMMF_AFF_REQUESTOR', 3); harmony.usermgt.enrich_role_to_user('STHIJS', 'AMMF_REPORTER', 3); harmony.usermgt.enrich_role_to_user('STHIJS', 'APPLOG_REPORTER', 3); harmony.usermgt.enrich_role_to_user('STHIJS', 'BAM_MANAGER', 3); harmony.usermgt.enrich_role_to_user('STHIJS', 'BAM_REPORTER', 3); harmony.usermgt.enrich_role_to_user('STHIJS', 'BANKREPORTING', 3); harmony.usermgt.enrich_role_to_user('STHIJS', 'BATCH_MT940_UPLOAD', 3); harmony.usermgt.enrich_role_to_user('STHIJS', 'BF_REPORTER', 3); harmony.usermgt.enrich_role_to_user('STHIJS', 'CITIDIRECT_REQUESTOR', 3); harmony.usermgt.enrich_role_to_user('STHIJS', 'E-ICD_USER', 3); harmony.usermgt.enrich_role_to_user('STHIJS', 'EFS_REPORTER', 3); harmony.usermgt.enrich_role_to_user('STHIJS', 'HB_RELEASER', 3); harmony.usermgt.enrich_role_to_user('STHIJS', 'HB_REPORTER', 3); harmony.usermgt.enrich_role_to_user('STHIJS', 'HB_REQUESTOR', 3); harmony.usermgt.enrich_role_to_user('STHIJS', 'HERMES_ACCOUNT_GROUP_REPORTER', 3); harmony.usermgt.enrich_role_to_user('STHIJS', 'HERMES_ACCOUNT_STATUS_REPORTER', 3); harmony.usermgt.enrich_role_to_user('STHIJS', 'HERMES_CASHMGT_EFFICIENCY_REP', 3); harmony.usermgt.enrich_role_to_user('STHIJS', 'HERMES_ID_TRANSACTION_REPORTER', 3); harmony.usermgt.enrich_role_to_user('STHIJS', 'HERMES_RECONCILIATION_REPORTER', 3); harmony.usermgt.enrich_role_to_user('STHIJS', 'HERMES_STATEMENT_REPORTER', 3); harmony.usermgt.enrich_role_to_user('STHIJS', 'HERMES_TRANSACTION_REPORTER', 3); harmony.usermgt.enrich_role_to_user('STHIJS', 'HERMES_VALUE_VOLUME_REPORTER', 3); harmony.usermgt.enrich_role_to_user('STHIJS', 'ICL_AFF_REPORTER', 3); harmony.usermgt.enrich_role_to_user('STHIJS', 'ICL_AFF_REQUESTOR', 3); harmony.usermgt.enrich_role_to_user('STHIJS', 'ICL_MANAGER', 3); harmony.usermgt.enrich_role_to_user('STHIJS', 'ICL_REPORTER', 3); harmony.usermgt.enrich_role_to_user('STHIJS', 'IHCTF_AFF_REPORTER', 3); harmony.usermgt.enrich_role_to_user('STHIJS', 'IHCTF_AFF_REQUESTOR', 3); harmony.usermgt.enrich_role_to_user('STHIJS', 'IHCTF_MANAGER', 3); harmony.usermgt.enrich_role_to_user('STHIJS', 'IHC_EXPORT', 3); harmony.usermgt.enrich_role_to_user('STHIJS', 'IHC_POSITION_REPORTER', 3); harmony.usermgt.enrich_role_to_user('STHIJS', 'IHC_REPORTER', 3); harmony.usermgt.enrich_role_to_user('STHIJS', 'L-DRIVE_FO_USER', 3); harmony.usermgt.enrich_role_to_user('STHIJS', 'MR_REPORTER', 3); harmony.usermgt.enrich_role_to_user('STHIJS', 'MR_REQUESTOR', 3); harmony.usermgt.enrich_role_to_user('STHIJS', 'NETTING_AFF_REPORTER_ST', 3); harmony.usermgt.enrich_role_to_user('STHIJS', 'NETTING_AFF_REQUESTOR_ST', 3); harmony.usermgt.enrich_role_to_user('STHIJS', 'NETTING_GS_KEY_USER', 3); harmony.usermgt.enrich_role_to_user('STHIJS', 'NETTING_REPORTER_TC', 3); harmony.usermgt.enrich_role_to_user('STHIJS', 'NETTING_REQUESTOR_TC', 3); harmony.usermgt.enrich_role_to_user('STHIJS', 'OO_AUTHORIZER', 3); harmony.usermgt.enrich_role_to_user('STHIJS', 'OO_REPORTER', 3); harmony.usermgt.enrich_role_to_user('STHIJS', 'OO_REQUESTOR', 3); harmony.usermgt.enrich_role_to_user('STHIJS', 'RCM_TRANSACTION_REPORTER', 3); harmony.usermgt.enrich_role_to_user('STHIJS', 'REPORT_C4S_TO_SYM', 3); harmony.usermgt.enrich_role_to_user('STHIJS', 'SAP_PRD_RCM_EMEA_USER', 3); harmony.usermgt.enrich_role_to_user('STHIJS', 'SUBLEDGER_CASH_POOL_REPORTS', 3); harmony.usermgt.enrich_role_to_user('STHIJS', 'SWIFTCOM_REPORTER', 3); harmony.usermgt.enrich_role_to_user('STHIJS', 'TPP_REPORTER', 3); harmony.usermgt.enrich_role_to_user('STHISTL', 'BANKREPORTING', 1); harmony.usermgt.enrich_role_to_user('STHISTL', 'HERMES_AFF_STATEMENT_REPORTER', 1); harmony.usermgt.enrich_role_to_user('STHISTL', 'HERMES_AFF_TRANSACTION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('STOMOBE', 'ICL_AFF_REPORTER', 1); harmony.usermgt.enrich_role_to_user('STOMOBE', 'ICL_AFF_REQUESTOR', 1); harmony.usermgt.enrich_role_to_user('STOMOBE', 'NETTING_AFF_REPORTER_ST', 1); harmony.usermgt.enrich_role_to_user('STOMOBE', 'TPP_P2P_AFF_REPORTER', 1); harmony.usermgt.enrich_role_to_user('STRZASKA', 'TPP_AFF_REPORTER', 1); harmony.usermgt.enrich_role_to_user('STSCHUDI', 'AMMF_AFF_REPORTER', 1); harmony.usermgt.enrich_role_to_user('STSCHUDI', 'BANKREPORTING', 1); harmony.usermgt.enrich_role_to_user('STSCHUDI', 'HERMES_AFF_STATEMENT_REPORTER', 1); harmony.usermgt.enrich_role_to_user('STSCHUDI', 'HERMES_AFF_TRANSACTION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('STSCHUDI', 'ICL_AFF_REPORTER', 1); harmony.usermgt.enrich_role_to_user('STSCHUDI', 'IHC_AFF_POSITION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('STSCHUDI', 'NETTING_AFF_REPORTER_ST', 1); harmony.usermgt.enrich_role_to_user('STSCHUDI', 'NETTING_AFF_REQUESTOR_ST', 1); harmony.usermgt.enrich_role_to_user('STSCHUDI', 'RCM_TRANSACTION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('STSCHUDI', 'SUBLEDGER_CASH_POOL_REPORTS', 1); harmony.usermgt.enrich_role_to_user('STSUBOI1', 'BANKREPORTING', 1); harmony.usermgt.enrich_role_to_user('STSUBOI1', 'EFS_AFF_REQUESTOR', 1); harmony.usermgt.enrich_role_to_user('STSUBOI1', 'HERMES_AFF_STATEMENT_REPORTER', 1); harmony.usermgt.enrich_role_to_user('STSUBOI1', 'HERMES_AFF_TRANSACTION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('STSUBOI1', 'IHC_AFF_POSITION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('STSUBOI1', 'NETTING_AFF_REQUESTOR_ST', 1); harmony.usermgt.enrich_role_to_user('STSUBOI1', 'RCM_TRANSACTION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('STSUBOI1', 'SUBLEDGER_CASH_POOL_REPORTS', 1); harmony.usermgt.enrich_role_to_user('STSUBOI1', 'TPP_AFF_AUTHORIZER', 1); harmony.usermgt.enrich_role_to_user('STSUBOI1', 'TPP_P2P_AFF_OFFER_AUTHORIZER', 1); harmony.usermgt.enrich_role_to_user('SVALICKO', 'AMMF_AFF_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SVALICKO', 'BANKREPORTING', 1); harmony.usermgt.enrich_role_to_user('SVALICKO', 'BF_AFF_AUTHORIZER', 1); harmony.usermgt.enrich_role_to_user('SVALICKO', 'BF_AFF_REQUESTOR', 1); harmony.usermgt.enrich_role_to_user('SVALICKO', 'EFS_AFF_AUTHORIZER', 1); harmony.usermgt.enrich_role_to_user('SVALICKO', 'HERMES_AFF_STATEMENT_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SVALICKO', 'HERMES_AFF_TRANSACTION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SVALICKO', 'ICL_AFF_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SVALICKO', 'ICL_AFF_REQUESTOR', 1); harmony.usermgt.enrich_role_to_user('SVALICKO', 'IHC_AFF_POSITION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SVALICKO', 'NETTING_AFF_REPORTER_ST', 1); harmony.usermgt.enrich_role_to_user('SVALICKO', 'NETTING_AFF_REQUESTOR_ST', 1); harmony.usermgt.enrich_role_to_user('SVALICKO', 'OO_AFF_COCO_AUTH/REL', 1); harmony.usermgt.enrich_role_to_user('SVALICKO', 'OO_AFF_COCO_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SVALICKO', 'OO_AFF_COCO_REQUESTOR', 1); harmony.usermgt.enrich_role_to_user('SVALICKO', 'RCM_TRANSACTION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SVALICKO', 'SUBLEDGER_CASH_POOL_REPORTS', 1); harmony.usermgt.enrich_role_to_user('SVALICKO', 'TPP_P2P_AFF_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SVANLOMM', 'AMMF_AFF_REPORTER', 3); harmony.usermgt.enrich_role_to_user('SVANLOMM', 'AMMF_REPORTER', 3); harmony.usermgt.enrich_role_to_user('SVANLOMM', 'BAM_REPORTER', 3); harmony.usermgt.enrich_role_to_user('SVANLOMM', 'BANKREPORTING', 3); harmony.usermgt.enrich_role_to_user('SVANLOMM', 'BF_REPORTER', 3); harmony.usermgt.enrich_role_to_user('SVANLOMM', 'CHAINS_IM_SUPPORT', 3); harmony.usermgt.enrich_role_to_user('SVANLOMM', 'DLINK_IM_SUPPORT', 3); harmony.usermgt.enrich_role_to_user('SVANLOMM', 'EFS_IM_SUPPORT', 3); harmony.usermgt.enrich_role_to_user('SVANLOMM', 'GXRS_IM_SUPPORT', 3); harmony.usermgt.enrich_role_to_user('SVANLOMM', 'HARMONY_REPORTER', 3); harmony.usermgt.enrich_role_to_user('SVANLOMM', 'HB_COMBINATION_REPORTER', 3); harmony.usermgt.enrich_role_to_user('SVANLOMM', 'HB_COMBI_REPORTER', 3); harmony.usermgt.enrich_role_to_user('SVANLOMM', 'HB_REPORTER', 3); harmony.usermgt.enrich_role_to_user('SVANLOMM', 'HERMES_IM_SUPPORT', 3); harmony.usermgt.enrich_role_to_user('SVANLOMM', 'ICL_REPORTER', 3); harmony.usermgt.enrich_role_to_user('SVANLOMM', 'IHCTF_AFF_REPORTER', 3); harmony.usermgt.enrich_role_to_user('SVANLOMM', 'IHCTF_AFF_REQUESTOR', 3); harmony.usermgt.enrich_role_to_user('SVANLOMM', 'IHC_POSITION_REPORTER', 3); harmony.usermgt.enrich_role_to_user('SVANLOMM', 'IT_SUPPORT', 3); harmony.usermgt.enrich_role_to_user('SVANLOMM', 'MR_REPORTER', 3); harmony.usermgt.enrich_role_to_user('SVANLOMM', 'OO_REPORTER', 3); harmony.usermgt.enrich_role_to_user('SVANLOMM', 'P2P_IM_SUPPORT', 3); harmony.usermgt.enrich_role_to_user('SVANLOMM', 'SAP_PRD_IT_SUPPORT', 3); harmony.usermgt.enrich_role_to_user('SVANLOMM', 'SAP_PRD_IT_USER_DISPLAY', 3); harmony.usermgt.enrich_role_to_user('SVANLOMM', 'SUBLEDGER_CASH_POOL_REPORTS', 3); harmony.usermgt.enrich_role_to_user('SVANLOMM', 'SWIFTCOM_IM_SUPPORT', 3); harmony.usermgt.enrich_role_to_user('SVANLOMM', 'TOPS_IM_SUPPORT', 3); harmony.usermgt.enrich_role_to_user('SVANLOMM', 'TPP_IM_SUPPORT', 3); harmony.usermgt.enrich_role_to_user('SVANLOMM', 'UME_REPORTER', 3); harmony.usermgt.enrich_role_to_user('SVANSCH1', 'AMMF_AFF_REPORTER', 3); harmony.usermgt.enrich_role_to_user('SVANSCH1', 'AMMF_REPORTER', 3); harmony.usermgt.enrich_role_to_user('SVANSCH1', 'BAM_REPORTER', 3); harmony.usermgt.enrich_role_to_user('SVANSCH1', 'BANKREPORTING', 3); harmony.usermgt.enrich_role_to_user('SVANSCH1', 'CHAINS_IM_SUPPORT', 3); harmony.usermgt.enrich_role_to_user('SVANSCH1', 'DLINK_IM_SUPPORT', 3); harmony.usermgt.enrich_role_to_user('SVANSCH1', 'EFS_IM_SUPPORT', 3); harmony.usermgt.enrich_role_to_user('SVANSCH1', 'GXRS_IM_SUPPORT', 3); harmony.usermgt.enrich_role_to_user('SVANSCH1', 'HARMONY_REPORTER', 3); harmony.usermgt.enrich_role_to_user('SVANSCH1', 'HB_COMBINATION_REPORTER', 3); harmony.usermgt.enrich_role_to_user('SVANSCH1', 'HB_COMBI_REPORTER', 3); harmony.usermgt.enrich_role_to_user('SVANSCH1', 'HB_REPORTER', 3); harmony.usermgt.enrich_role_to_user('SVANSCH1', 'HERMES_IM_SUPPORT', 3); harmony.usermgt.enrich_role_to_user('SVANSCH1', 'ICL_REPORTER', 3); harmony.usermgt.enrich_role_to_user('SVANSCH1', 'IHCTF_AFF_REPORTER', 3); harmony.usermgt.enrich_role_to_user('SVANSCH1', 'IHC_POSITION_REPORTER', 3); harmony.usermgt.enrich_role_to_user('SVANSCH1', 'IT_SUPPORT', 3); harmony.usermgt.enrich_role_to_user('SVANSCH1', 'MR_REPORTER', 3); harmony.usermgt.enrich_role_to_user('SVANSCH1', 'OO_REPORTER', 3); harmony.usermgt.enrich_role_to_user('SVANSCH1', 'P2P_IM_SUPPORT', 3); harmony.usermgt.enrich_role_to_user('SVANSCH1', 'SAP_PRD_IT_SUPPORT', 3); harmony.usermgt.enrich_role_to_user('SVANSCH1', 'SAP_PRD_IT_USER_DISPLAY', 3); harmony.usermgt.enrich_role_to_user('SVANSCH1', 'SUBLEDGER_CASH_POOL_REPORTS', 3); harmony.usermgt.enrich_role_to_user('SVANSCH1', 'SWIFTCOM_IM_SUPPORT', 3); harmony.usermgt.enrich_role_to_user('SVANSCH1', 'TOPS_IM_SUPPORT', 3); harmony.usermgt.enrich_role_to_user('SVANSCH1', 'TPP_IM_SUPPORT', 3); harmony.usermgt.enrich_role_to_user('SVANSCH1', 'UME_REPORTER', 3); harmony.usermgt.enrich_role_to_user('SVDONIN1', 'EFS_AFF_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SVERSCH1', 'AMMF_AFF_REPORTER', 3); harmony.usermgt.enrich_role_to_user('SVERSCH1', 'AMMF_REPORTER', 3); harmony.usermgt.enrich_role_to_user('SVERSCH1', 'BAM_REPORTER', 3); harmony.usermgt.enrich_role_to_user('SVERSCH1', 'BANKREPORTING', 3); harmony.usermgt.enrich_role_to_user('SVERSCH1', 'CHAINS_IM_SUPPORT', 3); harmony.usermgt.enrich_role_to_user('SVERSCH1', 'DLINK_IM_SUPPORT', 3); harmony.usermgt.enrich_role_to_user('SVERSCH1', 'EFS_IM_SUPPORT', 3); harmony.usermgt.enrich_role_to_user('SVERSCH1', 'GXRS_IM_SUPPORT', 3); harmony.usermgt.enrich_role_to_user('SVERSCH1', 'HARMONY_REPORTER', 3); harmony.usermgt.enrich_role_to_user('SVERSCH1', 'HB_COMBINATION_REPORTER', 3); harmony.usermgt.enrich_role_to_user('SVERSCH1', 'HB_COMBI_REPORTER', 3); harmony.usermgt.enrich_role_to_user('SVERSCH1', 'HB_REPORTER', 3); harmony.usermgt.enrich_role_to_user('SVERSCH1', 'HERMES_IM_SUPPORT', 3); harmony.usermgt.enrich_role_to_user('SVERSCH1', 'ICL_REPORTER', 3); harmony.usermgt.enrich_role_to_user('SVERSCH1', 'IHCTF_AFF_REPORTER', 3); harmony.usermgt.enrich_role_to_user('SVERSCH1', 'IHC_POSITION_REPORTER', 3); harmony.usermgt.enrich_role_to_user('SVERSCH1', 'IT_SUPPORT', 3); harmony.usermgt.enrich_role_to_user('SVERSCH1', 'MR_REPORTER', 3); harmony.usermgt.enrich_role_to_user('SVERSCH1', 'OO_REPORTER', 3); harmony.usermgt.enrich_role_to_user('SVERSCH1', 'P2P_IM_SUPPORT', 3); harmony.usermgt.enrich_role_to_user('SVERSCH1', 'SAP_PRD_IT_SUPPORT', 3); harmony.usermgt.enrich_role_to_user('SVERSCH1', 'SAP_PRD_IT_USER_DISPLAY', 3); harmony.usermgt.enrich_role_to_user('SVERSCH1', 'SUBLEDGER_CASH_POOL_REPORTS', 3); harmony.usermgt.enrich_role_to_user('SVERSCH1', 'SWIFTCOM_IM_SUPPORT', 3); harmony.usermgt.enrich_role_to_user('SVERSCH1', 'TOPS_IM_SUPPORT', 3); harmony.usermgt.enrich_role_to_user('SVERSCH1', 'TPP_IM_SUPPORT', 3); harmony.usermgt.enrich_role_to_user('SVERSCH1', 'UME_REPORTER', 3); harmony.usermgt.enrich_role_to_user('SVHOOFA', 'ACCESS_EDGE_REPORTER_EMEA', 3); harmony.usermgt.enrich_role_to_user('SVHOOFA', 'ACCESS_EDGE_REPORTER_US', 3); harmony.usermgt.enrich_role_to_user('SVHOOFA', 'ACCESS_EDGE_SECURITY_ADMINISTRATOR_EMEA', 3); harmony.usermgt.enrich_role_to_user('SVHOOFA', 'ACCESS_EDGE_SECURITY_ADMINISTRATOR_US', 3); harmony.usermgt.enrich_role_to_user('SVHOOFA', 'AGENT_BANKDIR_BO_USER', 3); harmony.usermgt.enrich_role_to_user('SVHOOFA', 'AMMF_AFF_REPORTER', 3); harmony.usermgt.enrich_role_to_user('SVHOOFA', 'AMMF_REPORTER', 3); harmony.usermgt.enrich_role_to_user('SVHOOFA', 'APPLOG_ENDSTAMP_UPDATE', 3); harmony.usermgt.enrich_role_to_user('SVHOOFA', 'APPLOG_REPORTER', 3); harmony.usermgt.enrich_role_to_user('SVHOOFA', 'BAM_REPORTER', 3); harmony.usermgt.enrich_role_to_user('SVHOOFA', 'BANKREPORTING', 3); harmony.usermgt.enrich_role_to_user('SVHOOFA', 'BATCH_MT940_UPLOAD', 3); harmony.usermgt.enrich_role_to_user('SVHOOFA', 'BATCH_PAYMENT_PROCESSING', 3); harmony.usermgt.enrich_role_to_user('SVHOOFA', 'BF_AUTHORIZER', 3); harmony.usermgt.enrich_role_to_user('SVHOOFA', 'BF_REPORTER', 3); harmony.usermgt.enrich_role_to_user('SVHOOFA', 'BF_REQUESTOR', 3); harmony.usermgt.enrich_role_to_user('SVHOOFA', 'CITIDIRECT_USER_MANAGER', 3); harmony.usermgt.enrich_role_to_user('SVHOOFA', 'COMMONS_BO_USER', 3); harmony.usermgt.enrich_role_to_user('SVHOOFA', 'CURRENEX_BO_USER', 3); harmony.usermgt.enrich_role_to_user('SVHOOFA', 'DLINK_BO_SUPERVISOR', 3); harmony.usermgt.enrich_role_to_user('SVHOOFA', 'DLINK_BO_USER', 3); harmony.usermgt.enrich_role_to_user('SVHOOFA', 'DLINK_REPORTER', 3); harmony.usermgt.enrich_role_to_user('SVHOOFA', 'E-ICD_USER', 3); harmony.usermgt.enrich_role_to_user('SVHOOFA', 'ECP_APPROVER', 3); harmony.usermgt.enrich_role_to_user('SVHOOFA', 'EFS_BO_USER', 3); harmony.usermgt.enrich_role_to_user('SVHOOFA', 'FM_RULES_REQUESTOR', 3); harmony.usermgt.enrich_role_to_user('SVHOOFA', 'GXRS_BO_USER', 3); harmony.usermgt.enrich_role_to_user('SVHOOFA', 'HARMONY_TSGAM', 3); harmony.usermgt.enrich_role_to_user('SVHOOFA', 'HARMONY_TSGRM', 3); harmony.usermgt.enrich_role_to_user('SVHOOFA', 'HB_COMBINATION_REQUESTOR', 3); harmony.usermgt.enrich_role_to_user('SVHOOFA', 'HB_COMBI_REQUESTOR', 3); harmony.usermgt.enrich_role_to_user('SVHOOFA', 'HB_REPORTER', 3); harmony.usermgt.enrich_role_to_user('SVHOOFA', 'HERMES_ACCOUNT_GROUP_REPORTER', 3); harmony.usermgt.enrich_role_to_user('SVHOOFA', 'HERMES_ACCOUNT_STATUS_REPORTER', 3); harmony.usermgt.enrich_role_to_user('SVHOOFA', 'HERMES_CASHMGT_EFFICIENCY_REP', 3); harmony.usermgt.enrich_role_to_user('SVHOOFA', 'HERMES_ID_TRANSACTION_REPORTER', 3); harmony.usermgt.enrich_role_to_user('SVHOOFA', 'HERMES_RECONCILIATION_REPORTER', 3); harmony.usermgt.enrich_role_to_user('SVHOOFA', 'HERMES_STATEMENT_REPORTER', 3); harmony.usermgt.enrich_role_to_user('SVHOOFA', 'HERMES_TRANSACTION_REPORTER', 3); harmony.usermgt.enrich_role_to_user('SVHOOFA', 'HERMES_VALUE_VOLUME_REPORTER', 3); harmony.usermgt.enrich_role_to_user('SVHOOFA', 'ICL_REPORTER', 3); harmony.usermgt.enrich_role_to_user('SVHOOFA', 'IHCTF_AFF_REPORTER', 3); harmony.usermgt.enrich_role_to_user('SVHOOFA', 'IHCTF_AFF_REQUESTOR', 3); harmony.usermgt.enrich_role_to_user('SVHOOFA', 'IHC_POSITION_REPORTER', 3); harmony.usermgt.enrich_role_to_user('SVHOOFA', 'JPMORGAN_AUTHORIZER', 3); harmony.usermgt.enrich_role_to_user('SVHOOFA', 'L-DRIVE_TSG_USER', 3); harmony.usermgt.enrich_role_to_user('SVHOOFA', 'MISYS_SUPERVISOR', 3); harmony.usermgt.enrich_role_to_user('SVHOOFA', 'MR_REPORTER', 3); harmony.usermgt.enrich_role_to_user('SVHOOFA', 'NETTING_AFF_REPORTER_ST', 3); harmony.usermgt.enrich_role_to_user('SVHOOFA', 'NETTING_BO_SUPERVISOR', 3); harmony.usermgt.enrich_role_to_user('SVHOOFA', 'NETTING_BO_USER', 3); harmony.usermgt.enrich_role_to_user('SVHOOFA', 'NETTING_REPORTER_TC', 3); harmony.usermgt.enrich_role_to_user('SVHOOFA', 'OO_RELEASER', 3); harmony.usermgt.enrich_role_to_user('SVHOOFA', 'OO_REPORTER', 3); harmony.usermgt.enrich_role_to_user('SVHOOFA', 'P2P_BO_USER', 3); harmony.usermgt.enrich_role_to_user('SVHOOFA', 'RCM_TRANSACTION_REPORTER', 3); harmony.usermgt.enrich_role_to_user('SVHOOFA', 'SAA_BO_KEY_USER', 3); harmony.usermgt.enrich_role_to_user('SVHOOFA', 'SAP_PRD_TSG_USER', 3); harmony.usermgt.enrich_role_to_user('SVHOOFA', 'SUNGARD_BO_USER', 3); harmony.usermgt.enrich_role_to_user('SVHOOFA', 'SWIFTCOM_RELEASER', 3); harmony.usermgt.enrich_role_to_user('SVHOOFA', 'SWIFTCOM_REPORTER', 3); harmony.usermgt.enrich_role_to_user('SVHOOFA', 'SWIFTCOM_STATIC_DATA_MANAGER', 3); harmony.usermgt.enrich_role_to_user('SVHOOFA', 'SWIFTREF_KEY_USER', 3); harmony.usermgt.enrich_role_to_user('SVHOOFA', 'TOPS2', 3); harmony.usermgt.enrich_role_to_user('SVHOOFA', 'TOPS_BO_USER', 3); harmony.usermgt.enrich_role_to_user('SVHOOFA', 'TPP_BO_USER', 3); harmony.usermgt.enrich_role_to_user('SVHOOFA', 'TRAX_BO_USER', 3); harmony.usermgt.enrich_role_to_user('SVHOOFA', 'UME_REPORTER', 3); harmony.usermgt.enrich_role_to_user('SVLAER', 'AMMF_AFF_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SVLAER', 'BANKREPORTING', 1); harmony.usermgt.enrich_role_to_user('SVLAER', 'EFS_AFF_REQUESTOR', 1); harmony.usermgt.enrich_role_to_user('SVLAER', 'HERMES_AFF_STATEMENT_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SVLAER', 'HERMES_AFF_TRANSACTION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SVLAER', 'IHC_AFF_POSITION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SVLAER', 'NETTING_AFF_REPORTER_ST', 1); harmony.usermgt.enrich_role_to_user('SVLAER', 'NETTING_AFF_REQUESTOR_ST', 1); harmony.usermgt.enrich_role_to_user('SVLAER', 'NETTING_REPORTER_TC', 3); harmony.usermgt.enrich_role_to_user('SVLAER', 'REPORT_C4S_TO_SYM', 3); harmony.usermgt.enrich_role_to_user('SVLAER', 'SAP_PRD_JPH_ACC_USER', 3); harmony.usermgt.enrich_role_to_user('SVLAER', 'TPP_P2P_AFF_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SWALKER3', 'EFS_AFF_AUTHORIZER', 1); harmony.usermgt.enrich_role_to_user('SWILSO13', 'BANKREPORTING', 1); harmony.usermgt.enrich_role_to_user('SWILSO13', 'HERMES_AFF_STATEMENT_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SWILSO13', 'HERMES_AFF_TRANSACTION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SWILSO13', 'IHC_AFF_POSITION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SWILSO13', 'NETTING_AFF_REQUESTOR_ST', 1); harmony.usermgt.enrich_role_to_user('SWILSO13', 'RCM_TRANSACTION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SWILSO13', 'SUBLEDGER_CASH_POOL_REPORTS', 1); harmony.usermgt.enrich_role_to_user('SWOLF1', 'EFS_AFF_REPORTER', 2); harmony.usermgt.enrich_role_to_user('SWONG11', 'EFS_AFF_AUTHORIZER', 1); harmony.usermgt.enrich_role_to_user('SWONG11', 'NETTING_AFF_REPORTER_ST', 1); harmony.usermgt.enrich_role_to_user('SWONG11', 'RCM_TRANSACTION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SWONG11', 'SUBLEDGER_CASH_POOL_REPORTS', 1); harmony.usermgt.enrich_role_to_user('SWONG9', 'EFS_AFF_AUTHORIZER', 1); harmony.usermgt.enrich_role_to_user('SWONG9', 'NETTING_AFF_REPORTER_ST', 1); harmony.usermgt.enrich_role_to_user('SXIE1', 'SUBLEDGER_CASH_POOL_REPORTS', 1); harmony.usermgt.enrich_role_to_user('SXU1', 'EFS_AFF_AUTHORIZER', 1); harmony.usermgt.enrich_role_to_user('SYAP8', 'AMMF_AFF_REQUESTOR', 1); harmony.usermgt.enrich_role_to_user('SYAP8', 'EFS_AFF_REQUESTOR', 1); harmony.usermgt.enrich_role_to_user('SYAP8', 'ICL_AFF_REQUESTOR', 1); harmony.usermgt.enrich_role_to_user('SYAP8', 'IHCTF_AFF_REQUESTOR', 1); harmony.usermgt.enrich_role_to_user('SYAP8', 'NETTING_AFF_REQUESTOR_ST', 1); harmony.usermgt.enrich_role_to_user('SYU3', 'EFS_AFF_AUTHORIZER', 1); harmony.usermgt.enrich_role_to_user('SYU3', 'NETTING_AFF_REPORTER_ST', 1); harmony.usermgt.enrich_role_to_user('SYU3', 'SUBLEDGER_CASH_POOL_REPORTS', 1); harmony.usermgt.enrich_role_to_user('SZAVECK', 'BF_AFF_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SZAVECK', 'BF_AFF_REQUESTOR', 1); harmony.usermgt.enrich_role_to_user('SZAVECK', 'OO_AFF_SAMEDAY_COCO_REPORTER', 3); harmony.usermgt.enrich_role_to_user('SZAVECK', 'OO_AFF_SAMEDAY_COCO_REQUESTOR', 3); harmony.usermgt.enrich_role_to_user('SZAVECK', 'TPP_AFF_AUTHORIZER', 1); harmony.usermgt.enrich_role_to_user('SZAVECK', 'TPP_P2P_AFF_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SZHANG20', 'EFS_AFF_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SZHAO2', 'EFS_AFF_AUTHORIZER', 1); harmony.usermgt.enrich_role_to_user('SZIKRA', 'EFS_AFF_AUTHORIZER', 1); harmony.usermgt.enrich_role_to_user('SZIKRA', 'NETTING_AFF_REPORTER_ST', 1); harmony.usermgt.enrich_role_to_user('SZNATI', 'BANKREPORTING', 1); harmony.usermgt.enrich_role_to_user('SZNATI', 'HERMES_AFF_STATEMENT_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SZNATI', 'HERMES_AFF_TRANSACTION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SZNATI', 'IHC_AFF_POSITION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('SZNATI', 'NETTING_AFF_REPORTER_ST', 1); harmony.usermgt.enrich_role_to_user('SZNATI', 'SUBLEDGER_CASH_POOL_REPORTS', 1); harmony.usermgt.enrich_role_to_user('SZNATI', 'TPP_AFF_REQUESTOR', 1); harmony.usermgt.enrich_role_to_user('SZNATI', 'TPP_P2P_AFF_OFFER_REQUESTOR', 1); harmony.usermgt.enrich_role_to_user('SZNATI', 'TPP_P2P_AFF_REPORTER', 1); harmony.usermgt.enrich_role_to_user('TADUNDO', 'ACCESS_EDGE_REQUESTOR_US', 3); harmony.usermgt.enrich_role_to_user('TADUNDO', 'AMMF_AFF_REPORTER', 3); harmony.usermgt.enrich_role_to_user('TADUNDO', 'AMMF_AFF_REQUESTOR', 3); harmony.usermgt.enrich_role_to_user('TADUNDO', 'AMMF_REPORTER', 3); harmony.usermgt.enrich_role_to_user('TADUNDO', 'APPLOG_REPORTER', 3); harmony.usermgt.enrich_role_to_user('TADUNDO', 'BAM_MANAGER', 3); harmony.usermgt.enrich_role_to_user('TADUNDO', 'BAM_REPORTER', 3); harmony.usermgt.enrich_role_to_user('TADUNDO', 'BANKREPORTING', 3); harmony.usermgt.enrich_role_to_user('TADUNDO', 'BATCH_HERMES-IHB', 3); harmony.usermgt.enrich_role_to_user('TADUNDO', 'BATCH_MT940_UPLOAD', 3); harmony.usermgt.enrich_role_to_user('TADUNDO', 'BATCH_MT940_UPLOAD_US', 3); harmony.usermgt.enrich_role_to_user('TADUNDO', 'BF_REPORTER', 3); harmony.usermgt.enrich_role_to_user('TADUNDO', 'BF_REQUESTOR', 3); harmony.usermgt.enrich_role_to_user('TADUNDO', 'EFS_AFF_REPORTER', 3); harmony.usermgt.enrich_role_to_user('TADUNDO', 'EFS_REPORTER', 3); harmony.usermgt.enrich_role_to_user('TADUNDO', 'HB_RELEASER', 3); harmony.usermgt.enrich_role_to_user('TADUNDO', 'HB_REPORTER', 3); harmony.usermgt.enrich_role_to_user('TADUNDO', 'HB_REQUESTOR', 3); harmony.usermgt.enrich_role_to_user('TADUNDO', 'HERMES_ACCOUNT_GROUP_REPORTER', 3); harmony.usermgt.enrich_role_to_user('TADUNDO', 'HERMES_ACCOUNT_STATUS_REPORTER', 3); harmony.usermgt.enrich_role_to_user('TADUNDO', 'HERMES_CASHMGT_EFFICIENCY_REP', 3); harmony.usermgt.enrich_role_to_user('TADUNDO', 'HERMES_ID_TRANSACTION_REPORTER', 3); harmony.usermgt.enrich_role_to_user('TADUNDO', 'HERMES_RECONCILIATION_REPORTER', 3); harmony.usermgt.enrich_role_to_user('TADUNDO', 'HERMES_STATEMENT_REPORTER', 3); harmony.usermgt.enrich_role_to_user('TADUNDO', 'HERMES_TRANSACTION_REPORTER', 3); harmony.usermgt.enrich_role_to_user('TADUNDO', 'HERMES_VALUE_VOLUME_REPORTER', 3); harmony.usermgt.enrich_role_to_user('TADUNDO', 'MR_REPORTER', 3); harmony.usermgt.enrich_role_to_user('TADUNDO', 'MR_REQUESTOR', 3); harmony.usermgt.enrich_role_to_user('TADUNDO', 'NETTING_AFF_REPORTER_ST', 3); harmony.usermgt.enrich_role_to_user('TADUNDO', 'OO_AUTHORIZER', 3); harmony.usermgt.enrich_role_to_user('TADUNDO', 'OO_RELEASER', 3); harmony.usermgt.enrich_role_to_user('TADUNDO', 'OO_REPORTER', 3); harmony.usermgt.enrich_role_to_user('TADUNDO', 'OO_REQUESTOR', 3); harmony.usermgt.enrich_role_to_user('TADUNDO', 'RCM_TRANSACTION_REPORTER', 3); harmony.usermgt.enrich_role_to_user('TADUNDO', 'SAP_PRD_US/PR_FO_USER', 3); harmony.usermgt.enrich_role_to_user('TADUNDO', 'SUNGARD_FO_USER', 3); harmony.usermgt.enrich_role_to_user('TADUNDO', 'SWIFTCOM_REPORTER', 3); harmony.usermgt.enrich_role_to_user('TADUNDO', 'TOPS2', 3); harmony.usermgt.enrich_role_to_user('TADUNDO', 'TOPS_COUNTERPARTY_EXPOSURE', 3); harmony.usermgt.enrich_role_to_user('TADUNDO', 'TPP_AFF_REQUESTOR', 3); harmony.usermgt.enrich_role_to_user('TADUNDO', 'TPP_REPORTER', 3); harmony.usermgt.enrich_role_to_user('TAMADOR2', 'EFS_AFF_AUTHORIZER', 1); harmony.usermgt.enrich_role_to_user('TAMADOR2', 'ICL_AFF_REPORTER', 1); harmony.usermgt.enrich_role_to_user('TAMADOR2', 'ICL_AFF_REQUESTOR', 1); harmony.usermgt.enrich_role_to_user('TAMADOR2', 'NETTING_AFF_REPORTER_ST', 1); harmony.usermgt.enrich_role_to_user('TAUSTIN9', 'EFS_AFF_REQUESTOR', 1); harmony.usermgt.enrich_role_to_user('TBARRON', 'NETTING_AFF_REPORTER_ST', 1); harmony.usermgt.enrich_role_to_user('TBASTENS', 'AMMF_REPORTER', 3); harmony.usermgt.enrich_role_to_user('TBASTENS', 'BANKREPORTING', 3); harmony.usermgt.enrich_role_to_user('TBASTENS', 'BF_AUTHORIZER', 3); harmony.usermgt.enrich_role_to_user('TBASTENS', 'BF_REPORTER', 3); harmony.usermgt.enrich_role_to_user('TBASTENS', 'BF_REQUESTOR', 3); harmony.usermgt.enrich_role_to_user('TBASTENS', 'CITIDIRECT_AUTHORIZER', 3); harmony.usermgt.enrich_role_to_user('TBASTENS', 'DLINK_FX_MANAGER', 3); harmony.usermgt.enrich_role_to_user('TBASTENS', 'E-ICD_USER', 3); harmony.usermgt.enrich_role_to_user('TBASTENS', 'EFS_AFF_AUTHORIZER', 3); harmony.usermgt.enrich_role_to_user('TBASTENS', 'EFS_AUTHORIZER', 3); harmony.usermgt.enrich_role_to_user('TBASTENS', 'GXRS_GS_KEY_USER', 3); harmony.usermgt.enrich_role_to_user('TBASTENS', 'HB_COMBI_REQUESTOR', 3); harmony.usermgt.enrich_role_to_user('TBASTENS', 'HB_REPORTER', 3); harmony.usermgt.enrich_role_to_user('TBASTENS', 'HERMES_ACCOUNT_GROUP_REPORTER', 3); harmony.usermgt.enrich_role_to_user('TBASTENS', 'HERMES_ACCOUNT_STATUS_REPORTER', 3); harmony.usermgt.enrich_role_to_user('TBASTENS', 'HERMES_CASHMGT_EFFICIENCY_REP', 3); harmony.usermgt.enrich_role_to_user('TBASTENS', 'HERMES_ID_TRANSACTION_REPORTER', 3); harmony.usermgt.enrich_role_to_user('TBASTENS', 'HERMES_RECONCILIATION_REPORTER', 3); harmony.usermgt.enrich_role_to_user('TBASTENS', 'HERMES_STATEMENT_REPORTER', 3); harmony.usermgt.enrich_role_to_user('TBASTENS', 'HERMES_TRANSACTION_REPORTER', 3); harmony.usermgt.enrich_role_to_user('TBASTENS', 'HERMES_VALUE_VOLUME_REPORTER', 3); harmony.usermgt.enrich_role_to_user('TBASTENS', 'ICL_REPORTER', 3); harmony.usermgt.enrich_role_to_user('TBASTENS', 'IHCTF_AFF_REPORTER', 3); harmony.usermgt.enrich_role_to_user('TBASTENS', 'IHCTF_AFF_REQUESTOR', 3); harmony.usermgt.enrich_role_to_user('TBASTENS', 'IHC_POSITION_REPORTER', 3); harmony.usermgt.enrich_role_to_user('TBASTENS', 'L-DRIVE_DIRECTOR_1', 3); harmony.usermgt.enrich_role_to_user('TBASTENS', 'NETTING_MANAGER', 3); harmony.usermgt.enrich_role_to_user('TBASTENS', 'NETTING_REPORTER_TC', 3); harmony.usermgt.enrich_role_to_user('TBASTENS', 'OO_RELEASER', 3); harmony.usermgt.enrich_role_to_user('TBASTENS', 'OO_REPORTER', 3); harmony.usermgt.enrich_role_to_user('TBASTENS', 'P2P_GS_KEY_USER', 3); harmony.usermgt.enrich_role_to_user('TBASTENS', 'RCM_TRANSACTION_REPORTER', 3); harmony.usermgt.enrich_role_to_user('TBASTENS', 'SAA_LSO', 3); harmony.usermgt.enrich_role_to_user('TBASTENS', 'SAA_REPORTING', 3); harmony.usermgt.enrich_role_to_user('TBASTENS', 'SAA_RIGHTHAND', 3); harmony.usermgt.enrich_role_to_user('TBASTENS', 'SAA_SECURITY_OFFICER', 3); harmony.usermgt.enrich_role_to_user('TBASTENS', 'SAP_PRD_DIRECTOR', 3); harmony.usermgt.enrich_role_to_user('TBASTENS', 'SWIFTCOM_RELEASER', 3); harmony.usermgt.enrich_role_to_user('TBASTENS', 'TOPS2', 3); harmony.usermgt.enrich_role_to_user('TBASTENS', 'TOPS_COUNTERPARTY_EXPOSURE', 3); harmony.usermgt.enrich_role_to_user('TBASTENS', 'TPP_AUTHORIZER', 3); harmony.usermgt.enrich_role_to_user('TBERRY1', 'EFS_AFF_REPORTER', 1); harmony.usermgt.enrich_role_to_user('TBERRY1', 'SUBLEDGER_CASH_POOL_REPORTS', 1); harmony.usermgt.enrich_role_to_user('TBLOMME', 'EFS_AFF_REQUESTOR', 1); harmony.usermgt.enrich_role_to_user('TBOSSARD', 'AMMF_AFF_REPORTER', 2); harmony.usermgt.enrich_role_to_user('TBOSSARD', 'AMMF_AFF_REQUESTOR', 2); harmony.usermgt.enrich_role_to_user('TBOSSARD', 'BANKREPORTING', 2); harmony.usermgt.enrich_role_to_user('TBOSSARD', 'BF_AFF_AUTHORIZER', 2); harmony.usermgt.enrich_role_to_user('TBOSSARD', 'BF_AFF_REPORTER', 2); harmony.usermgt.enrich_role_to_user('TBOSSARD', 'BF_AFF_REQUESTOR', 2); harmony.usermgt.enrich_role_to_user('TBOSSARD', 'EFS_AFF_REQUESTOR', 2); harmony.usermgt.enrich_role_to_user('TBOSSARD', 'HERMES_AFF_STATEMENT_REPORTER', 2); harmony.usermgt.enrich_role_to_user('TBOSSARD', 'HERMES_AFF_TRANSACTION_REPORTER', 2); harmony.usermgt.enrich_role_to_user('TBOSSARD', 'ICL_AFF_REPORTER', 2); harmony.usermgt.enrich_role_to_user('TBOSSARD', 'ICL_AFF_REQUESTOR', 2); harmony.usermgt.enrich_role_to_user('TBOSSARD', 'IHCTF_AFF_REPORTER', 2); harmony.usermgt.enrich_role_to_user('TBOSSARD', 'IHCTF_AFF_REQUESTOR', 2); harmony.usermgt.enrich_role_to_user('TBOSSARD', 'IHC_AFF_POSITION_REPORTER', 2); harmony.usermgt.enrich_role_to_user('TBOSSARD', 'NETTING_AFF_REQUESTOR_ST', 2); harmony.usermgt.enrich_role_to_user('TBOSSARD', 'NETTING_REQUESTOR_TC', 3); harmony.usermgt.enrich_role_to_user('TBOSSARD', 'OO_AFF_COCO_AUTH/REL', 2); harmony.usermgt.enrich_role_to_user('TBOSSARD', 'OO_AFF_COCO_REPORTER', 2); harmony.usermgt.enrich_role_to_user('TBOSSARD', 'OO_AFF_COCO_REQUESTOR', 2); harmony.usermgt.enrich_role_to_user('TBOSSARD', 'RCM_TRANSACTION_REPORTER', 2); harmony.usermgt.enrich_role_to_user('TBOSSARD', 'SUBLEDGER_CASH_POOL_REPORTS', 2); harmony.usermgt.enrich_role_to_user('TBOSSARD', 'TPP_AFF_REQUESTOR', 2); harmony.usermgt.enrich_role_to_user('TBOSSARD', 'TPP_P2P_AFF_OFFER_REQUESTOR', 2); harmony.usermgt.enrich_role_to_user('TDUNHAM', 'EFS_AFF_REPORTER', 1); harmony.usermgt.enrich_role_to_user('TDVORAK', 'BANKREPORTING', 1); harmony.usermgt.enrich_role_to_user('TDVORAK', 'HERMES_AFF_STATEMENT_REPORTER', 1); harmony.usermgt.enrich_role_to_user('TDVORAK', 'HERMES_AFF_TRANSACTION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('TFONYONE', 'AMMF_AFF_REPORTER', 1); harmony.usermgt.enrich_role_to_user('TFONYONE', 'BANKREPORTING', 1); harmony.usermgt.enrich_role_to_user('TFONYONE', 'HERMES_AFF_STATEMENT_REPORTER', 1); harmony.usermgt.enrich_role_to_user('TFONYONE', 'HERMES_AFF_TRANSACTION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('TFONYONE', 'ICL_AFF_REPORTER', 1); harmony.usermgt.enrich_role_to_user('TFONYONE', 'NETTING_AFF_REPORTER_ST', 1); harmony.usermgt.enrich_role_to_user('TFONYONE', 'TPP_P2P_AFF_REPORTER', 1); harmony.usermgt.enrich_role_to_user('TGALIK2', 'BANKREPORTING', 1); harmony.usermgt.enrich_role_to_user('TGALIK2', 'EFS_AFF_REPORTER', 1); harmony.usermgt.enrich_role_to_user('TGALIK2', 'HERMES_AFF_STATEMENT_REPORTER', 1); harmony.usermgt.enrich_role_to_user('TGALIK2', 'HERMES_AFF_TRANSACTION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('TGALIK2', 'IHC_AFF_POSITION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('TGALIK2', 'NETTING_AFF_REQUESTOR_ST', 1); harmony.usermgt.enrich_role_to_user('TGALIK2', 'RCM_TRANSACTION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('TGALIK2', 'SUBLEDGER_CASH_POOL_REPORTS', 1); harmony.usermgt.enrich_role_to_user('TGALIK2', 'TPP_AFF_REPORTER', 1); harmony.usermgt.enrich_role_to_user('TGRANEY3', 'EFS_AFF_REPORTER', 1); harmony.usermgt.enrich_role_to_user('THEDWARD', 'AP2OLLO_SSC_MANAGER', 2); harmony.usermgt.enrich_role_to_user('THEDWARD', 'AP2PLE_SSC_MANAGER', 2); harmony.usermgt.enrich_role_to_user('THEDWARD', 'AP2PLE_SSC_USER', 2); harmony.usermgt.enrich_role_to_user('THEDWARD', 'BANKREPORTING', 1); harmony.usermgt.enrich_role_to_user('THEDWARD', 'HERMES_AFF_STATEMENT_REPORTER', 1); harmony.usermgt.enrich_role_to_user('THEDWARD', 'HERMES_AFF_TRANSACTION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('THEDWARD', 'IHC_AFF_POSITION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('THEDWARD', 'SUBLEDGER_CASH_POOL_REPORTS', 1); harmony.usermgt.enrich_role_to_user('THUCPTD', 'EFS_AFF_REQUESTOR', 1); harmony.usermgt.enrich_role_to_user('THUCPTD', 'HERMES_AFF_STATEMENT_REPORTER', 1); harmony.usermgt.enrich_role_to_user('THUCPTD', 'HERMES_AFF_TRANSACTION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('THUNTH1', 'EFS_AFF_REQUESTOR', 1); harmony.usermgt.enrich_role_to_user('THUYTTD', 'EFS_AFF_REQUESTOR', 1); harmony.usermgt.enrich_role_to_user('THYNDA', 'EFS_AFF_REQUESTOR', 1); harmony.usermgt.enrich_role_to_user('THYNDA', 'RCM_TRANSACTION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('TIIJIMA3', 'NETTING_AFF_REQUESTOR_ST', 1); harmony.usermgt.enrich_role_to_user('TILE', 'HERMES_AFF_STATEMENT_REPORTER', 1); harmony.usermgt.enrich_role_to_user('TILE', 'HERMES_AFF_TRANSACTION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('TIRIYAMA', 'TPP_AFF_AUTHORIZER', 1); harmony.usermgt.enrich_role_to_user('TITO6', 'BANKREPORTING', 1); harmony.usermgt.enrich_role_to_user('TITO6', 'HERMES_AFF_STATEMENT_REPORTER', 1); harmony.usermgt.enrich_role_to_user('TITO6', 'HERMES_AFF_TRANSACTION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('TKAMAL', 'AMMF_AFF_REQUESTOR', 1); harmony.usermgt.enrich_role_to_user('TKAMAL', 'EFS_AFF_AUTHORIZER', 1); harmony.usermgt.enrich_role_to_user('TKAMAL', 'EFS_AFF_REQUESTOR', 1); harmony.usermgt.enrich_role_to_user('TKAMAL', 'NETTING_AFF_REQUESTOR_ST', 1); harmony.usermgt.enrich_role_to_user('TKAMAL', 'TPP_AFF_AUTHORIZER', 1); harmony.usermgt.enrich_role_to_user('TKAMAL', 'TPP_AFF_REQUESTOR', 1); harmony.usermgt.enrich_role_to_user('TKOLODCH', 'EFS_AFF_REPORTER', 1); harmony.usermgt.enrich_role_to_user('TKOLODCH', 'NETTING_AFF_REPORTER_ST', 1); harmony.usermgt.enrich_role_to_user('TKONTIO', 'AMMF_AFF_REPORTER', 1); harmony.usermgt.enrich_role_to_user('TKONTIO', 'BANKREPORTING', 1); harmony.usermgt.enrich_role_to_user('TKONTIO', 'BF_AFF_AUTHORIZER', 1); harmony.usermgt.enrich_role_to_user('TKONTIO', 'HERMES_AFF_STATEMENT_REPORTER', 1); harmony.usermgt.enrich_role_to_user('TKONTIO', 'HERMES_AFF_TRANSACTION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('TKONTIO', 'ICL_AFF_REPORTER', 1); harmony.usermgt.enrich_role_to_user('TKONTIO', 'ICL_AFF_REQUESTOR', 1); harmony.usermgt.enrich_role_to_user('TKONTIO', 'IHC_AFF_POSITION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('TKONTIO', 'NETTING_AFF_REPORTER_ST', 1); harmony.usermgt.enrich_role_to_user('TKONTIO', 'OO_AFF_COCO_AUTH/REL', 1); harmony.usermgt.enrich_role_to_user('TKONTIO', 'RCM_TRANSACTION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('TKONTIO', 'SUBLEDGER_CASH_POOL_REPORTS', 1); harmony.usermgt.enrich_role_to_user('TKONTIO', 'TPP_P2P_AFF_OFFER_AUTHORIZER', 1); harmony.usermgt.enrich_role_to_user('TLASKY2', 'EFS_AFF_REPORTER', 1); harmony.usermgt.enrich_role_to_user('TLEHMUSK', 'BANKREPORTING', 1); harmony.usermgt.enrich_role_to_user('TLEHMUSK', 'HERMES_AFF_STATEMENT_REPORTER', 1); harmony.usermgt.enrich_role_to_user('TLEHMUSK', 'HERMES_AFF_TRANSACTION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('TLEHMUSK', 'ICL_AFF_REPORTER', 1); harmony.usermgt.enrich_role_to_user('TLEHMUSK', 'ICL_AFF_REQUESTOR', 1); harmony.usermgt.enrich_role_to_user('TLEHMUSK', 'IHCTF_AFF_REPORTER', 1); harmony.usermgt.enrich_role_to_user('TLEHMUSK', 'IHCTF_AFF_REQUESTOR', 1); harmony.usermgt.enrich_role_to_user('TLEHMUSK', 'IHC_AFF_POSITION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('TLEHMUSK', 'NETTING_AFF_REPORTER_ST', 1); harmony.usermgt.enrich_role_to_user('TLEHMUSK', 'TPP_P2P_AFF_OFFER_AUTHORIZER', 1); harmony.usermgt.enrich_role_to_user('TLIAKOPO', 'ICL_AFF_REPORTER', 1); harmony.usermgt.enrich_role_to_user('TLIAKOPO', 'ICL_AFF_REQUESTOR', 1); harmony.usermgt.enrich_role_to_user('TLLOYD', 'BF_AFF_REQUESTOR', 1); harmony.usermgt.enrich_role_to_user('TLLOYD', 'OO_AFF_SAMEDAY_COCO_REQUESTOR', 3); harmony.usermgt.enrich_role_to_user('TLNGO', 'EFS_AFF_REPORTER', 1); harmony.usermgt.enrich_role_to_user('TLOGAN', 'APPLOG_REPORTER', 3); harmony.usermgt.enrich_role_to_user('TLOGAN', 'BANKREPORTING', 1); harmony.usermgt.enrich_role_to_user('TLOGAN', 'BATCH_C4S_TO_SYM', 3); harmony.usermgt.enrich_role_to_user('TLOGAN', 'BATCH_HERMES-IHB', 3); harmony.usermgt.enrich_role_to_user('TLOGAN', 'HERMES_ACCOUNT_GROUP_REPORTER', 3); harmony.usermgt.enrich_role_to_user('TLOGAN', 'HERMES_ACCOUNT_STATUS_REPORTER', 3); harmony.usermgt.enrich_role_to_user('TLOGAN', 'HERMES_CASHMGT_EFFICIENCY_REP', 3); harmony.usermgt.enrich_role_to_user('TLOGAN', 'HERMES_ID_TRANSACTION_REPORTER', 3); harmony.usermgt.enrich_role_to_user('TLOGAN', 'HERMES_RECONCILIATION_REPORTER', 3); harmony.usermgt.enrich_role_to_user('TLOGAN', 'HERMES_STATEMENT_REPORTER', 3); harmony.usermgt.enrich_role_to_user('TLOGAN', 'HERMES_TRANSACTION_REPORTER', 3); harmony.usermgt.enrich_role_to_user('TLOGAN', 'HERMES_VALUE_VOLUME_REPORTER', 3); harmony.usermgt.enrich_role_to_user('TLOGAN', 'IHC_AFF_POSITION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('TLOGAN', 'IHC_POSITION_REPORTER', 3); harmony.usermgt.enrich_role_to_user('TLOGAN', 'SAP_PRD_US_ACC_SUPERVISOR', 3); harmony.usermgt.enrich_role_to_user('TLOI', 'EFS_AFF_AUTHORIZER', 1); harmony.usermgt.enrich_role_to_user('TLOI', 'NETTING_AFF_REPORTER_ST', 1); harmony.usermgt.enrich_role_to_user('TLOI', 'SUBLEDGER_CASH_POOL_REPORTS', 1); harmony.usermgt.enrich_role_to_user('TMASAKI2', 'TPP_AFF_AUTHORIZER', 1); harmony.usermgt.enrich_role_to_user('TMCGLONE', 'BANKREPORTING', 1); harmony.usermgt.enrich_role_to_user('TMCGLONE', 'HERMES_AFF_STATEMENT_REPORTER', 1); harmony.usermgt.enrich_role_to_user('TMCGLONE', 'HERMES_AFF_TRANSACTION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('TMCGLONE', 'IHC_AFF_POSITION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('TMCGLONE', 'NETTING_AFF_REQUESTOR_ST', 1); harmony.usermgt.enrich_role_to_user('TMELO22', 'EFS_AFF_REQUESTOR', 1); harmony.usermgt.enrich_role_to_user('TMORALES', 'EFS_AFF_AUTHORIZER', 1); harmony.usermgt.enrich_role_to_user('TMOUCHAE', 'BANKREPORTING', 1); harmony.usermgt.enrich_role_to_user('TMOUCHAE', 'HERMES_AFF_STATEMENT_REPORTER', 1); harmony.usermgt.enrich_role_to_user('TMOUCHAE', 'HERMES_AFF_TRANSACTION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('TMOUCHAE', 'IHC_AFF_POSITION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('TMOUCHAE', 'RCM_TRANSACTION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('TMOUCHAE', 'SUBLEDGER_CASH_POOL_REPORTS', 1); harmony.usermgt.enrich_role_to_user('TMOUSSOU', 'NETTING_AFF_REQUESTOR_ST', 1); harmony.usermgt.enrich_role_to_user('TNIE', 'NETTING_AFF_REPORTER_ST', 1); harmony.usermgt.enrich_role_to_user('TOZDEMIR', 'BANKREPORTING', 1); harmony.usermgt.enrich_role_to_user('TOZDEMIR', 'HERMES_AFF_STATEMENT_REPORTER', 1); harmony.usermgt.enrich_role_to_user('TOZDEMIR', 'HERMES_AFF_TRANSACTION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('TPASAOGL', 'AMMF_AFF_REPORTER', 1); harmony.usermgt.enrich_role_to_user('TPASAOGL', 'BANKREPORTING', 1); harmony.usermgt.enrich_role_to_user('TPASAOGL', 'HERMES_AFF_STATEMENT_REPORTER', 1); harmony.usermgt.enrich_role_to_user('TPASAOGL', 'HERMES_AFF_TRANSACTION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('TPASAOGL', 'ICL_AFF_REPORTER', 1); harmony.usermgt.enrich_role_to_user('TPASAOGL', 'IHC_AFF_POSITION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('TPASAOGL', 'RCM_TRANSACTION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('TPASAOGL', 'SUBLEDGER_CASH_POOL_REPORTS', 1); harmony.usermgt.enrich_role_to_user('TPAVLIK1', 'EFS_AFF_AUTHORIZER', 1); harmony.usermgt.enrich_role_to_user('TPEACH1', 'BANKREPORTING', 1); harmony.usermgt.enrich_role_to_user('TPEACH1', 'BF_AFF_REPORTER', 1); harmony.usermgt.enrich_role_to_user('TPEACH1', 'HERMES_AFF_STATEMENT_REPORTER', 1); harmony.usermgt.enrich_role_to_user('TPEACH1', 'HERMES_AFF_TRANSACTION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('TPEACH1', 'IHC_AFF_POSITION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('TPEACH1', 'NETTING_AFF_REPORTER_ST', 1); harmony.usermgt.enrich_role_to_user('TPEACH1', 'OO_AFF_COCO_REPORTER', 1); harmony.usermgt.enrich_role_to_user('TPEACH1', 'RCM_TRANSACTION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('TPEACH1', 'SUBLEDGER_CASH_POOL_REPORTS', 1); harmony.usermgt.enrich_role_to_user('TPEACH1', 'TPP_P2P_AFF_REPORTER', 1); harmony.usermgt.enrich_role_to_user('TPEREZ', 'BF_AUTHORIZER', 3); harmony.usermgt.enrich_role_to_user('TPEREZ', 'EFS_AFF_AUTHORIZER', 1); harmony.usermgt.enrich_role_to_user('TPEREZ', 'OO_REPORTER', 3); harmony.usermgt.enrich_role_to_user('TPINZON', 'AMMF_AFF_REPORTER', 1); harmony.usermgt.enrich_role_to_user('TPINZON', 'AMMF_AFF_REQUESTOR', 1); harmony.usermgt.enrich_role_to_user('TPINZON', 'NETTING_AFF_REQUESTOR_ST', 1); harmony.usermgt.enrich_role_to_user('TPIPISKA', 'BANKREPORTING', 1); harmony.usermgt.enrich_role_to_user('TPIROGOV', 'EFS_AFF_AUTHORIZER', 1); harmony.usermgt.enrich_role_to_user('TPIROGOV', 'NETTING_AFF_REPORTER_ST', 1); harmony.usermgt.enrich_role_to_user('TPURKISS', 'BANKREPORTING', 1); harmony.usermgt.enrich_role_to_user('TPURKISS', 'HERMES_AFF_STATEMENT_REPORTER', 1); harmony.usermgt.enrich_role_to_user('TPURKISS', 'HERMES_AFF_TRANSACTION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('TPURKISS', 'NETTING_AFF_REQUESTOR_ST', 1); harmony.usermgt.enrich_role_to_user('TPURKISS', 'TPP_AFF_REQUESTOR', 1); harmony.usermgt.enrich_role_to_user('TPURKISS', 'TPP_P2P_AFF_REPORTER', 1); harmony.usermgt.enrich_role_to_user('TRANDHEM', 'EFS_AFF_AUTHORIZER', 1); harmony.usermgt.enrich_role_to_user('TRANDHEM', 'NETTING_AFF_REPORTER_ST', 1); harmony.usermgt.enrich_role_to_user('TRANDHEM', 'TPP_P2P_AFF_REPORTER', 1); harmony.usermgt.enrich_role_to_user('TRODRIG9', 'EFS_AFF_REQUESTOR', 1); harmony.usermgt.enrich_role_to_user('TSEREDA', 'ICL_AFF_REPORTER', 1); harmony.usermgt.enrich_role_to_user('TSEREDA', 'ICL_AFF_REQUESTOR', 1); harmony.usermgt.enrich_role_to_user('TSIEPS1', 'AMMF_AFF_REPORTER', 1); harmony.usermgt.enrich_role_to_user('TSIEPS1', 'BANKREPORTING', 1); harmony.usermgt.enrich_role_to_user('TSIEPS1', 'HERMES_AFF_STATEMENT_REPORTER', 1); harmony.usermgt.enrich_role_to_user('TSIEPS1', 'HERMES_AFF_TRANSACTION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('TSIEPS1', 'ICL_AFF_REPORTER', 1); harmony.usermgt.enrich_role_to_user('TSIEPS1', 'IHC_AFF_POSITION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('TSIEPS1', 'NETTING_AFF_REPORTER_ST', 1); harmony.usermgt.enrich_role_to_user('TSIEPS1', 'RCM_TRANSACTION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('TSMITH9', 'EFS_AFF_AUTHORIZER', 1); harmony.usermgt.enrich_role_to_user('TSMITH9', 'EFS_AFF_REQUESTOR', 1); harmony.usermgt.enrich_role_to_user('TSUZUKI4', 'NETTING_AFF_REQUESTOR_ST', 1); harmony.usermgt.enrich_role_to_user('TSUZUKI4', 'TPP_AFF_REQUESTOR', 1); harmony.usermgt.enrich_role_to_user('TSUZUKI4', 'TPP_AFF_STOP_PAYMENT', 1); harmony.usermgt.enrich_role_to_user('TSUZUKI4', 'TPP_P2P_AFF_OFFER_AUTHORIZER', 1); harmony.usermgt.enrich_role_to_user('TSWAMINATHAN', 'EFS_AFF_AUTHORIZER', 1); harmony.usermgt.enrich_role_to_user('TSWAMINATHAN', 'NETTING_AFF_REPORTER_ST', 1); harmony.usermgt.enrich_role_to_user('TSWAMINATHAN', 'RCM_TRANSACTION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('TTASHIR2', 'EFS_AFF_REPORTER', 1); harmony.usermgt.enrich_role_to_user('TTHIJS', 'AGENT_FO_IHB_MANAGER', 3); harmony.usermgt.enrich_role_to_user('TTHIJS', 'AMMF_AFF_REPORTER', 3); harmony.usermgt.enrich_role_to_user('TTHIJS', 'AMMF_AFF_REQUESTOR', 3); harmony.usermgt.enrich_role_to_user('TTHIJS', 'AMMF_REPORTER', 3); harmony.usermgt.enrich_role_to_user('TTHIJS', 'APPLOG_REPORTER', 3); harmony.usermgt.enrich_role_to_user('TTHIJS', 'BAM_MANAGER', 3); harmony.usermgt.enrich_role_to_user('TTHIJS', 'BAM_REPORTER', 3); harmony.usermgt.enrich_role_to_user('TTHIJS', 'BANKREPORTING', 3); harmony.usermgt.enrich_role_to_user('TTHIJS', 'BATCH_C4S_TO_SYM', 3); harmony.usermgt.enrich_role_to_user('TTHIJS', 'BATCH_MT940_UPLOAD', 3); harmony.usermgt.enrich_role_to_user('TTHIJS', 'BF_REPORTER', 3); harmony.usermgt.enrich_role_to_user('TTHIJS', 'CITIDIRECT_REQUESTOR', 3); harmony.usermgt.enrich_role_to_user('TTHIJS', 'E-ICD_USER', 3); harmony.usermgt.enrich_role_to_user('TTHIJS', 'EFS_REPORTER', 3); harmony.usermgt.enrich_role_to_user('TTHIJS', 'HB_RELEASER', 3); harmony.usermgt.enrich_role_to_user('TTHIJS', 'HB_REPORTER', 3); harmony.usermgt.enrich_role_to_user('TTHIJS', 'HB_REQUESTOR', 3); harmony.usermgt.enrich_role_to_user('TTHIJS', 'HERMES_ACCOUNT_GROUP_REPORTER', 3); harmony.usermgt.enrich_role_to_user('TTHIJS', 'HERMES_ACCOUNT_STATUS_REPORTER', 3); harmony.usermgt.enrich_role_to_user('TTHIJS', 'HERMES_CASHMGT_EFFICIENCY_REP', 3); harmony.usermgt.enrich_role_to_user('TTHIJS', 'HERMES_ID_TRANSACTION_REPORTER', 3); harmony.usermgt.enrich_role_to_user('TTHIJS', 'HERMES_RECONCILIATION_REPORTER', 3); harmony.usermgt.enrich_role_to_user('TTHIJS', 'HERMES_STATEMENT_REPORTER', 3); harmony.usermgt.enrich_role_to_user('TTHIJS', 'HERMES_TRANSACTION_REPORTER', 3); harmony.usermgt.enrich_role_to_user('TTHIJS', 'HERMES_VALUE_VOLUME_REPORTER', 3); harmony.usermgt.enrich_role_to_user('TTHIJS', 'ICL_AFF_REPORTER', 3); harmony.usermgt.enrich_role_to_user('TTHIJS', 'ICL_AFF_REQUESTOR', 3); harmony.usermgt.enrich_role_to_user('TTHIJS', 'ICL_MANAGER', 3); harmony.usermgt.enrich_role_to_user('TTHIJS', 'ICL_REPORTER', 3); harmony.usermgt.enrich_role_to_user('TTHIJS', 'IHCTF_AFF_REQUESTOR', 3); harmony.usermgt.enrich_role_to_user('TTHIJS', 'IHCTF_MANAGER', 3); harmony.usermgt.enrich_role_to_user('TTHIJS', 'IHC_EXPORT', 3); harmony.usermgt.enrich_role_to_user('TTHIJS', 'IHC_POSITION_REPORTER', 3); harmony.usermgt.enrich_role_to_user('TTHIJS', 'L-DRIVE_FO_USER', 3); harmony.usermgt.enrich_role_to_user('TTHIJS', 'MR_REPORTER', 3); harmony.usermgt.enrich_role_to_user('TTHIJS', 'MR_REQUESTOR', 3); harmony.usermgt.enrich_role_to_user('TTHIJS', 'NETTING_AFF_REPORTER_ST', 3); harmony.usermgt.enrich_role_to_user('TTHIJS', 'NETTING_AFF_REQUESTOR_ST', 3); harmony.usermgt.enrich_role_to_user('TTHIJS', 'NETTING_REPORTER_TC', 3); harmony.usermgt.enrich_role_to_user('TTHIJS', 'NETTING_REQUESTOR_TC', 3); harmony.usermgt.enrich_role_to_user('TTHIJS', 'OO_AUTHORIZER', 3); harmony.usermgt.enrich_role_to_user('TTHIJS', 'OO_REPORTER', 3); harmony.usermgt.enrich_role_to_user('TTHIJS', 'OO_REQUESTOR', 3); harmony.usermgt.enrich_role_to_user('TTHIJS', 'RCM_TRANSACTION_REPORTER', 3); harmony.usermgt.enrich_role_to_user('TTHIJS', 'SAP_PRD_RCM_EMEA_USER', 3); harmony.usermgt.enrich_role_to_user('TTHIJS', 'SUBLEDGER_CASH_POOL_REPORTS', 3); harmony.usermgt.enrich_role_to_user('TTHIJS', 'SWIFTCOM_REPORTER', 3); harmony.usermgt.enrich_role_to_user('TTHIJS', 'TPP_REPORTER', 3); harmony.usermgt.enrich_role_to_user('TTHIJS', 'UME_REPORTER', 3); harmony.usermgt.enrich_role_to_user('TTODASCO', 'TPP_AFF_AUTHORIZER', 1); harmony.usermgt.enrich_role_to_user('TUSTUNGE', 'EFS_AFF_REQUESTOR', 1); harmony.usermgt.enrich_role_to_user('TVEIKKO', 'AMMF_AFF_REPORTER', 1); harmony.usermgt.enrich_role_to_user('TVEIKKO', 'BANKREPORTING', 1); harmony.usermgt.enrich_role_to_user('TVEIKKO', 'HERMES_AFF_STATEMENT_REPORTER', 1); harmony.usermgt.enrich_role_to_user('TVEIKKO', 'HERMES_AFF_TRANSACTION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('TVEIKKO', 'ICL_AFF_REPORTER', 1); harmony.usermgt.enrich_role_to_user('TVEIKKO', 'ICL_AFF_REQUESTOR', 1); harmony.usermgt.enrich_role_to_user('TVEIKKO', 'IHCTF_AFF_REQUESTOR', 1); harmony.usermgt.enrich_role_to_user('TVEIKKO', 'IHC_AFF_POSITION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('TVEIKKO', 'NETTING_AFF_REQUESTOR_ST', 1); harmony.usermgt.enrich_role_to_user('TVEIKKO', 'SUBLEDGER_CASH_POOL_REPORTS', 1); harmony.usermgt.enrich_role_to_user('TVISSERS', 'AMMF_AFF_REPORTER', 3); harmony.usermgt.enrich_role_to_user('TVISSERS', 'AMMF_REPORTER', 3); harmony.usermgt.enrich_role_to_user('TVISSERS', 'BAM_REPORTER', 3); harmony.usermgt.enrich_role_to_user('TVISSERS', 'BANKREPORTING', 3); harmony.usermgt.enrich_role_to_user('TVISSERS', 'BF_REPORTER', 3); harmony.usermgt.enrich_role_to_user('TVISSERS', 'CHAINS_IM_SUPPORT', 3); harmony.usermgt.enrich_role_to_user('TVISSERS', 'DLINK_IM_SUPPORT', 3); harmony.usermgt.enrich_role_to_user('TVISSERS', 'EFS_IM_SUPPORT', 3); harmony.usermgt.enrich_role_to_user('TVISSERS', 'GXRS_IM_SUPPORT', 3); harmony.usermgt.enrich_role_to_user('TVISSERS', 'HARMONY_REPORTER', 3); harmony.usermgt.enrich_role_to_user('TVISSERS', 'HB_COMBINATION_REPORTER', 3); harmony.usermgt.enrich_role_to_user('TVISSERS', 'HB_COMBI_REPORTER', 3); harmony.usermgt.enrich_role_to_user('TVISSERS', 'HB_REPORTER', 3); harmony.usermgt.enrich_role_to_user('TVISSERS', 'HERMES_IM_SUPPORT', 3); harmony.usermgt.enrich_role_to_user('TVISSERS', 'ICL_REPORTER', 3); harmony.usermgt.enrich_role_to_user('TVISSERS', 'IHCTF_AFF_REPORTER', 3); harmony.usermgt.enrich_role_to_user('TVISSERS', 'IHC_POSITION_REPORTER', 3); harmony.usermgt.enrich_role_to_user('TVISSERS', 'IT_SUPPORT', 3); harmony.usermgt.enrich_role_to_user('TVISSERS', 'MR_REPORTER', 3); harmony.usermgt.enrich_role_to_user('TVISSERS', 'OO_REPORTER', 3); harmony.usermgt.enrich_role_to_user('TVISSERS', 'P2P_IM_SUPPORT', 3); harmony.usermgt.enrich_role_to_user('TVISSERS', 'SAP_PRD_IT_SUPPORT', 3); harmony.usermgt.enrich_role_to_user('TVISSERS', 'SAP_PRD_IT_USER_DISPLAY', 3); harmony.usermgt.enrich_role_to_user('TVISSERS', 'SUBLEDGER_CASH_POOL_REPORTS', 3); harmony.usermgt.enrich_role_to_user('TVISSERS', 'SWIFTCOM_IM_SUPPORT', 3); harmony.usermgt.enrich_role_to_user('TVISSERS', 'TOPS_IM_SUPPORT', 3); harmony.usermgt.enrich_role_to_user('TVISSERS', 'TPP_IM_SUPPORT', 3); harmony.usermgt.enrich_role_to_user('TVISSERS', 'UME_REPORTER', 3); harmony.usermgt.enrich_role_to_user('TVLACHOU', 'NETTING_AFF_REQUESTOR_ST', 1); harmony.usermgt.enrich_role_to_user('TWANG22', 'IHC_AFF_POSITION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('TWANG22', 'RCM_TRANSACTION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('TWANG22', 'SUBLEDGER_CASH_POOL_REPORTS', 1); harmony.usermgt.enrich_role_to_user('TZIKOS', 'EFS_AFF_REQUESTOR', 1); harmony.usermgt.enrich_role_to_user('TZIKOS', 'NETTING_AFF_REQUESTOR_ST', 1); harmony.usermgt.enrich_role_to_user('TZIKOS', 'TPP_AFF_REPORTER', 1); harmony.usermgt.enrich_role_to_user('TZNATCHK', 'EFS_AFF_REPORTER', 1); harmony.usermgt.enrich_role_to_user('UBURGER', 'AMMF_AFF_REPORTER', 1); harmony.usermgt.enrich_role_to_user('UBURGER', 'AMMF_AFF_REQUESTOR', 1); harmony.usermgt.enrich_role_to_user('UBURGER', 'BANKREPORTING', 1); harmony.usermgt.enrich_role_to_user('UBURGER', 'EFS_AFF_AUTHORIZER', 1); harmony.usermgt.enrich_role_to_user('UBURGER', 'HERMES_AFF_STATEMENT_REPORTER', 1); harmony.usermgt.enrich_role_to_user('UBURGER', 'HERMES_AFF_TRANSACTION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('UBURGER', 'ICL_AFF_REPORTER', 1); harmony.usermgt.enrich_role_to_user('UBURGER', 'IHC_AFF_POSITION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('UBURGER', 'OO_AFF_ACCOUNT_AUTH/REL', 1); harmony.usermgt.enrich_role_to_user('UBURGER', 'OO_AFF_ACCOUNT_REPORTER', 1); harmony.usermgt.enrich_role_to_user('UBURGER', 'RCM_TRANSACTION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('UBURGER', 'SUBLEDGER_CASH_POOL_REPORTS', 1); harmony.usermgt.enrich_role_to_user('UOZKUL', 'EFS_AFF_AUTHORIZER', 1); harmony.usermgt.enrich_role_to_user('VAGUIAR4', 'EFS_AFF_REQUESTOR', 1); harmony.usermgt.enrich_role_to_user('VBACHO', 'AMMF_AFF_REPORTER', 1); harmony.usermgt.enrich_role_to_user('VBACHO', 'BANKREPORTING', 1); harmony.usermgt.enrich_role_to_user('VBACHO', 'BF_AFF_REPORTER', 1); harmony.usermgt.enrich_role_to_user('VBACHO', 'HERMES_AFF_STATEMENT_REPORTER', 1); harmony.usermgt.enrich_role_to_user('VBACHO', 'HERMES_AFF_TRANSACTION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('VBACHO', 'IHC_AFF_POSITION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('VBACHO', 'NETTING_AFF_REPORTER_ST', 1); harmony.usermgt.enrich_role_to_user('VBACHO', 'OO_AFF_COCO_REPORTER', 1); harmony.usermgt.enrich_role_to_user('VBACHO', 'RCM_TRANSACTION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('VBACHO', 'SUBLEDGER_CASH_POOL_REPORTS', 1); harmony.usermgt.enrich_role_to_user('VBACHO', 'TPP_AFF_REPORTER', 1); harmony.usermgt.enrich_role_to_user('VBACHO', 'TPP_P2P_AFF_REPORTER', 1); harmony.usermgt.enrich_role_to_user('VBARRAGA', 'EFS_AFF_REPORTER', 1); harmony.usermgt.enrich_role_to_user('VBISETTY', 'TPP_AFF_REQUESTOR', 1); harmony.usermgt.enrich_role_to_user('VBOSMAN2', 'AMMF_REPORTER', 3); harmony.usermgt.enrich_role_to_user('VBOSMAN2', 'BAM_REPORTER', 3); harmony.usermgt.enrich_role_to_user('VBOSMAN2', 'BANKREPORTING', 3); harmony.usermgt.enrich_role_to_user('VBOSMAN2', 'CHAINS_IM_SUPPORT', 3); harmony.usermgt.enrich_role_to_user('VBOSMAN2', 'DLINK_IM_SUPPORT', 3); harmony.usermgt.enrich_role_to_user('VBOSMAN2', 'EFS_IM_SUPPORT', 3); harmony.usermgt.enrich_role_to_user('VBOSMAN2', 'GXRS_IM_SUPPORT', 3); harmony.usermgt.enrich_role_to_user('VBOSMAN2', 'HB_COMBINATION_REPORTER', 3); harmony.usermgt.enrich_role_to_user('VBOSMAN2', 'HB_COMBI_REPORTER', 3); harmony.usermgt.enrich_role_to_user('VBOSMAN2', 'HB_REPORTER', 3); harmony.usermgt.enrich_role_to_user('VBOSMAN2', 'HERMES_IM_SUPPORT', 3); harmony.usermgt.enrich_role_to_user('VBOSMAN2', 'ICL_REPORTER', 3); harmony.usermgt.enrich_role_to_user('VBOSMAN2', 'IHCTF_AFF_REPORTER', 3); harmony.usermgt.enrich_role_to_user('VBOSMAN2', 'IHC_POSITION_REPORTER', 3); harmony.usermgt.enrich_role_to_user('VBOSMAN2', 'IT_SUPPORT', 3); harmony.usermgt.enrich_role_to_user('VBOSMAN2', 'L-DRIVE_SOX_USER', 3); harmony.usermgt.enrich_role_to_user('VBOSMAN2', 'MR_REPORTER', 3); harmony.usermgt.enrich_role_to_user('VBOSMAN2', 'OO_REPORTER', 3); harmony.usermgt.enrich_role_to_user('VBOSMAN2', 'P2P_IM_SUPPORT', 3); harmony.usermgt.enrich_role_to_user('VBOSMAN2', 'SAP_PRD_IT_SUPPORT', 3); harmony.usermgt.enrich_role_to_user('VBOSMAN2', 'SAP_PRD_IT_USER_DISPLAY', 3); harmony.usermgt.enrich_role_to_user('VBOSMAN2', 'SAP_PRD_SOX_AUDITLOG', 3); harmony.usermgt.enrich_role_to_user('VBOSMAN2', 'SAP_PRD_SOX_AUDITOR', 3); harmony.usermgt.enrich_role_to_user('VBOSMAN2', 'SUBLEDGER_CASH_POOL_REPORTS', 3); harmony.usermgt.enrich_role_to_user('VBOSMAN2', 'SWIFTCOM_IM_SUPPORT', 3); harmony.usermgt.enrich_role_to_user('VBOSMAN2', 'TOPS_IM_SUPPORT', 3); harmony.usermgt.enrich_role_to_user('VBOSMAN2', 'TPP_IM_SUPPORT', 3); harmony.usermgt.enrich_role_to_user('VBOSMAN2', 'UME_REPORTER', 3); harmony.usermgt.enrich_role_to_user('VBRAGA12', 'BANKREPORTING', 1); harmony.usermgt.enrich_role_to_user('VBRAGA12', 'HERMES_AFF_STATEMENT_REPORTER', 1); harmony.usermgt.enrich_role_to_user('VBRAGA12', 'HERMES_AFF_TRANSACTION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('VCARRUT1', 'BANKREPORTING', 1); harmony.usermgt.enrich_role_to_user('VCARRUT1', 'EFS_AFF_AUTHORIZER', 1); harmony.usermgt.enrich_role_to_user('VCARRUT1', 'HERMES_AFF_STATEMENT_REPORTER', 1); harmony.usermgt.enrich_role_to_user('VCARRUT1', 'HERMES_AFF_TRANSACTION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('VCARRUT1', 'ICL_AFF_REPORTER', 1); harmony.usermgt.enrich_role_to_user('VCARRUT1', 'ICL_AFF_REQUESTOR', 1); harmony.usermgt.enrich_role_to_user('VCARRUT1', 'IHC_AFF_POSITION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('VCARRUT1', 'NETTING_AFF_REPORTER_ST', 1); harmony.usermgt.enrich_role_to_user('VCARRUT1', 'SUBLEDGER_CASH_POOL_REPORTS', 1); harmony.usermgt.enrich_role_to_user('VCARRUT1', 'TPP_P2P_AFF_OFFER_AUTHORIZER', 1); harmony.usermgt.enrich_role_to_user('VCHAUHA1', 'EFS_AFF_REQUESTOR', 1); harmony.usermgt.enrich_role_to_user('VCHAUHA1', 'NETTING_AFF_REPORTER_ST', 1); harmony.usermgt.enrich_role_to_user('VCHAUHA1', 'NETTING_AFF_REQUESTOR_ST', 1); harmony.usermgt.enrich_role_to_user('VDAWKINS', 'BANKREPORTING', 1); harmony.usermgt.enrich_role_to_user('VDAWKINS', 'EFS_AFF_AUTHORIZER', 1); harmony.usermgt.enrich_role_to_user('VDAWKINS', 'HERMES_AFF_STATEMENT_REPORTER', 1); harmony.usermgt.enrich_role_to_user('VDAWKINS', 'HERMES_AFF_TRANSACTION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('VDAWKINS', 'IHC_AFF_POSITION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('VDAWKINS', 'NETTING_AFF_REPORTER_ST', 1); harmony.usermgt.enrich_role_to_user('VDAWKINS', 'SUBLEDGER_CASH_POOL_REPORTS', 1); harmony.usermgt.enrich_role_to_user('VDAWKINS', 'TPP_P2P_AFF_REPORTER', 1); harmony.usermgt.enrich_role_to_user('VDUGAS', 'BANKREPORTING', 1); harmony.usermgt.enrich_role_to_user('VDUGAS', 'HERMES_AFF_STATEMENT_REPORTER', 1); harmony.usermgt.enrich_role_to_user('VDUGAS', 'HERMES_AFF_TRANSACTION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('VFEUVRIE', 'AMMF_AFF_REPORTER', 1); harmony.usermgt.enrich_role_to_user('VFEUVRIE', 'BANKREPORTING', 1); harmony.usermgt.enrich_role_to_user('VFEUVRIE', 'HERMES_AFF_STATEMENT_REPORTER', 1); harmony.usermgt.enrich_role_to_user('VFEUVRIE', 'HERMES_AFF_TRANSACTION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('VFEUVRIE', 'ICL_AFF_REPORTER', 1); harmony.usermgt.enrich_role_to_user('VFEUVRIE', 'IHC_AFF_POSITION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('VFEUVRIE', 'RCM_TRANSACTION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('VFEUVRIE', 'SUBLEDGER_CASH_POOL_REPORTS', 1); harmony.usermgt.enrich_role_to_user('VFIELD4', 'AMMF_AFF_REPORTER', 1); harmony.usermgt.enrich_role_to_user('VFIELD4', 'EFS_AFF_REQUESTOR', 1); harmony.usermgt.enrich_role_to_user('VFIELD4', 'HERMES_AFF_STATEMENT_REPORTER', 1); harmony.usermgt.enrich_role_to_user('VFIELD4', 'HERMES_AFF_TRANSACTION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('VFIELD4', 'ICL_AFF_REPORTER', 1); harmony.usermgt.enrich_role_to_user('VFIELD4', 'IHCTF_AFF_REPORTER', 1); harmony.usermgt.enrich_role_to_user('VFIELD4', 'IHC_AFF_POSITION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('VFIELD4', 'RCM_TRANSACTION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('VFOURNIO', 'BF_AFF_AUTHORIZER', 1); harmony.usermgt.enrich_role_to_user('VFOURNIO', 'EFS_AFF_AUTHORIZER', 1); harmony.usermgt.enrich_role_to_user('VFOURNIO', 'ICL_AFF_REPORTER', 1); harmony.usermgt.enrich_role_to_user('VFOURNIO', 'ICL_AFF_REQUESTOR', 1); harmony.usermgt.enrich_role_to_user('VFOURNIO', 'OO_AFF_COCO_AUTH/REL', 1); harmony.usermgt.enrich_role_to_user('VFOURNIO', 'RCM_TRANSACTION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('VFOURNIO', 'SUBLEDGER_CASH_POOL_REPORTS', 1); harmony.usermgt.enrich_role_to_user('VFOURNIO', 'TPP_P2P_AFF_OFFER_AUTHORIZER', 1); harmony.usermgt.enrich_role_to_user('VGALGAT', 'NETTING_AFF_REPORTER_ST', 1); harmony.usermgt.enrich_role_to_user('VGEUDEN1', 'AMMF_AFF_REPORTER', 3); harmony.usermgt.enrich_role_to_user('VGEUDEN1', 'AMMF_REPORTER', 3); harmony.usermgt.enrich_role_to_user('VGEUDEN1', 'BAM_REPORTER', 3); harmony.usermgt.enrich_role_to_user('VGEUDEN1', 'BANKREPORTING', 3); harmony.usermgt.enrich_role_to_user('VGEUDEN1', 'CHAINS_IM_SUPPORT', 3); harmony.usermgt.enrich_role_to_user('VGEUDEN1', 'DLINK_IM_SUPPORT', 3); harmony.usermgt.enrich_role_to_user('VGEUDEN1', 'EFS_IM_SUPPORT', 3); harmony.usermgt.enrich_role_to_user('VGEUDEN1', 'GXRS_IM_SUPPORT', 3); harmony.usermgt.enrich_role_to_user('VGEUDEN1', 'HARMONY_REPORTER', 3); harmony.usermgt.enrich_role_to_user('VGEUDEN1', 'HB_COMBINATION_REPORTER', 3); harmony.usermgt.enrich_role_to_user('VGEUDEN1', 'HB_COMBI_REPORTER', 3); harmony.usermgt.enrich_role_to_user('VGEUDEN1', 'HB_REPORTER', 3); harmony.usermgt.enrich_role_to_user('VGEUDEN1', 'HERMES_IM_SUPPORT', 3); harmony.usermgt.enrich_role_to_user('VGEUDEN1', 'ICL_REPORTER', 3); harmony.usermgt.enrich_role_to_user('VGEUDEN1', 'IHCTF_AFF_REPORTER', 3); harmony.usermgt.enrich_role_to_user('VGEUDEN1', 'IHC_POSITION_REPORTER', 3); harmony.usermgt.enrich_role_to_user('VGEUDEN1', 'IT_SUPPORT', 3); harmony.usermgt.enrich_role_to_user('VGEUDEN1', 'L-DRIVE_SOX_USER', 3); harmony.usermgt.enrich_role_to_user('VGEUDEN1', 'MR_REPORTER', 3); harmony.usermgt.enrich_role_to_user('VGEUDEN1', 'OO_REPORTER', 3); harmony.usermgt.enrich_role_to_user('VGEUDEN1', 'P2P_IM_SUPPORT', 3); harmony.usermgt.enrich_role_to_user('VGEUDEN1', 'SAP_PRD_IT_SUPPORT', 3); harmony.usermgt.enrich_role_to_user('VGEUDEN1', 'SAP_PRD_IT_USER_DISPLAY', 3); harmony.usermgt.enrich_role_to_user('VGEUDEN1', 'SAP_PRD_SOX_AUDITLOG', 3); harmony.usermgt.enrich_role_to_user('VGEUDEN1', 'SAP_PRD_SOX_AUDITOR', 3); harmony.usermgt.enrich_role_to_user('VGEUDEN1', 'SUBLEDGER_CASH_POOL_REPORTS', 3); harmony.usermgt.enrich_role_to_user('VGEUDEN1', 'SWIFTCOM_IM_SUPPORT', 3); harmony.usermgt.enrich_role_to_user('VGEUDEN1', 'TOPS_IM_SUPPORT', 3); harmony.usermgt.enrich_role_to_user('VGEUDEN1', 'TPP_IM_SUPPORT', 3); harmony.usermgt.enrich_role_to_user('VGEUDEN1', 'UME_REPORTER', 3); harmony.usermgt.enrich_role_to_user('VGUCE', 'RCM_TRANSACTION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('VGUCE', 'SUBLEDGER_CASH_POOL_REPORTS', 1); harmony.usermgt.enrich_role_to_user('VHADDEN', 'NETTING_AFF_REPORTER_ST', 1); harmony.usermgt.enrich_role_to_user('VHENDRYC', 'NETTING_AFF_REQUESTOR_ST', 1); harmony.usermgt.enrich_role_to_user('VHOLGADO', 'NETTING_AFF_REQUESTOR_ST', 1); harmony.usermgt.enrich_role_to_user('VHOLGADO', 'RCM_TRANSACTION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('VHOLGADO', 'SUBLEDGER_CASH_POOL_REPORTS', 1); harmony.usermgt.enrich_role_to_user('VIRAMOS', 'AMMF_AFF_REPORTER', 1); harmony.usermgt.enrich_role_to_user('VIRAMOS', 'BANKREPORTING', 1); harmony.usermgt.enrich_role_to_user('VIRAMOS', 'HERMES_AFF_STATEMENT_REPORTER', 1); harmony.usermgt.enrich_role_to_user('VIRAMOS', 'HERMES_AFF_TRANSACTION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('VIRAMOS', 'ICL_AFF_REPORTER', 1); harmony.usermgt.enrich_role_to_user('VIRAMOS', 'ICL_AFF_REQUESTOR', 1); harmony.usermgt.enrich_role_to_user('VIRAMOS', 'IHC_AFF_POSITION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('VIRAMOS', 'NETTING_AFF_REPORTER_ST', 1); harmony.usermgt.enrich_role_to_user('VIRAMOS', 'RCM_TRANSACTION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('VIRAMOS', 'SUBLEDGER_CASH_POOL_REPORTS', 1); harmony.usermgt.enrich_role_to_user('VJACOTPA', 'EFS_AFF_REPORTER', 1); harmony.usermgt.enrich_role_to_user('VJACOTPA', 'NETTING_AFF_REQUESTOR_ST', 1); harmony.usermgt.enrich_role_to_user('VKAUFMA2', 'AMMF_AFF_REPORTER', 1); harmony.usermgt.enrich_role_to_user('VKAUFMA2', 'BANKREPORTING', 1); harmony.usermgt.enrich_role_to_user('VKAUFMA2', 'HERMES_AFF_STATEMENT_REPORTER', 1); harmony.usermgt.enrich_role_to_user('VKAUFMA2', 'HERMES_AFF_TRANSACTION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('VKAUFMA2', 'ICL_AFF_REPORTER', 1); harmony.usermgt.enrich_role_to_user('VKAUFMA2', 'IHC_AFF_POSITION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('VKAUFMA2', 'RCM_TRANSACTION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('VKAUFMA2', 'TPP_AFF_REPORTER', 1); harmony.usermgt.enrich_role_to_user('VKAUFMA2', 'TPP_P2P_AFF_REPORTER', 1); harmony.usermgt.enrich_role_to_user('VKEK', 'AMMF_AFF_REPORTER', 1); harmony.usermgt.enrich_role_to_user('VKEK', 'AMMF_AFF_REQUESTOR', 1); harmony.usermgt.enrich_role_to_user('VKEK', 'EFS_AFF_REQUESTOR', 1); harmony.usermgt.enrich_role_to_user('VKEK', 'ICL_AFF_REPORTER', 1); harmony.usermgt.enrich_role_to_user('VKEK', 'ICL_AFF_REQUESTOR', 1); harmony.usermgt.enrich_role_to_user('VKEK', 'NETTING_AFF_REQUESTOR_ST', 1); harmony.usermgt.enrich_role_to_user('VKEK', 'SUBLEDGER_CASH_POOL_REPORTS', 1); harmony.usermgt.enrich_role_to_user('VKEK', 'TPP_AFF_REQUESTOR', 1); harmony.usermgt.enrich_role_to_user('VKREMPA', 'BANKREPORTING', 1); harmony.usermgt.enrich_role_to_user('VKREMPA', 'HERMES_AFF_STATEMENT_REPORTER', 1); harmony.usermgt.enrich_role_to_user('VKREMPA', 'HERMES_AFF_TRANSACTION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('VKREMPA', 'NETTING_AFF_REQUESTOR_ST', 1); harmony.usermgt.enrich_role_to_user('VKRIZOVI', 'AMMF_AFF_REPORTER', 1); harmony.usermgt.enrich_role_to_user('VKRIZOVI', 'BANKREPORTING', 1); harmony.usermgt.enrich_role_to_user('VKRIZOVI', 'HERMES_AFF_STATEMENT_REPORTER', 1); harmony.usermgt.enrich_role_to_user('VKRIZOVI', 'HERMES_AFF_TRANSACTION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('VKRIZOVI', 'ICL_AFF_REPORTER', 1); harmony.usermgt.enrich_role_to_user('VKRIZOVI', 'IHCTF_AFF_REPORTER', 1); harmony.usermgt.enrich_role_to_user('VKRIZOVI', 'IHC_AFF_POSITION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('VKRIZOVI', 'NETTING_AFF_REQUESTOR_ST', 1); harmony.usermgt.enrich_role_to_user('VKRIZOVI', 'SUBLEDGER_CASH_POOL_REPORTS', 1); harmony.usermgt.enrich_role_to_user('VKRIZOVI', 'TPP_P2P_AFF_REPORTER', 1); harmony.usermgt.enrich_role_to_user('VKRUZIKO', 'AMMF_AFF_REPORTER', 1); harmony.usermgt.enrich_role_to_user('VKRUZIKO', 'BANKREPORTING', 1); harmony.usermgt.enrich_role_to_user('VKRUZIKO', 'EFS_AFF_REQUESTOR', 1); harmony.usermgt.enrich_role_to_user('VKRUZIKO', 'HERMES_AFF_STATEMENT_REPORTER', 1); harmony.usermgt.enrich_role_to_user('VKRUZIKO', 'HERMES_AFF_TRANSACTION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('VKRUZIKO', 'ICL_AFF_REPORTER', 1); harmony.usermgt.enrich_role_to_user('VKRUZIKO', 'IHCTF_AFF_REPORTER', 1); harmony.usermgt.enrich_role_to_user('VKRUZIKO', 'IHC_AFF_POSITION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('VKRUZIKO', 'NETTING_AFF_REPORTER_ST', 1); harmony.usermgt.enrich_role_to_user('VKRUZIKO', 'NETTING_AFF_REQUESTOR_ST', 1); harmony.usermgt.enrich_role_to_user('VKRUZIKO', 'RCM_TRANSACTION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('VKRUZIKO', 'SUBLEDGER_CASH_POOL_REPORTS', 1); harmony.usermgt.enrich_role_to_user('VKRUZIKO', 'TPP_P2P_AFF_REPORTER', 1); harmony.usermgt.enrich_role_to_user('VLAGRANG', 'AGENT_FO_IHB_MANAGER', 3); harmony.usermgt.enrich_role_to_user('VLAGRANG', 'AMMF_AFF_REPORTER', 3); harmony.usermgt.enrich_role_to_user('VLAGRANG', 'AMMF_AFF_REQUESTOR', 3); harmony.usermgt.enrich_role_to_user('VLAGRANG', 'AMMF_AUTHORIZER', 3); harmony.usermgt.enrich_role_to_user('VLAGRANG', 'AMMF_REPORTER', 3); harmony.usermgt.enrich_role_to_user('VLAGRANG', 'APPLOG_ENDSTAMP_UPDATE', 3); harmony.usermgt.enrich_role_to_user('VLAGRANG', 'BAM_MANAGER', 3); harmony.usermgt.enrich_role_to_user('VLAGRANG', 'BAM_REPORTER', 3); harmony.usermgt.enrich_role_to_user('VLAGRANG', 'BANKREPORTING', 3); harmony.usermgt.enrich_role_to_user('VLAGRANG', 'BATCH_C4S_TO_SYM', 3); harmony.usermgt.enrich_role_to_user('VLAGRANG', 'BATCH_MT940_UPLOAD', 3); harmony.usermgt.enrich_role_to_user('VLAGRANG', 'BF_REPORTER', 3); harmony.usermgt.enrich_role_to_user('VLAGRANG', 'CITIDIRECT_AUTHORIZER', 3); harmony.usermgt.enrich_role_to_user('VLAGRANG', 'E-ICD_USER', 3); harmony.usermgt.enrich_role_to_user('VLAGRANG', 'ECP_REPORTER', 3); harmony.usermgt.enrich_role_to_user('VLAGRANG', 'EFS_REPORTER', 3); harmony.usermgt.enrich_role_to_user('VLAGRANG', 'HB_COMBI_REPORTER', 3); harmony.usermgt.enrich_role_to_user('VLAGRANG', 'HB_RELEASER', 3); harmony.usermgt.enrich_role_to_user('VLAGRANG', 'HB_REPORTER', 3); harmony.usermgt.enrich_role_to_user('VLAGRANG', 'HB_REQUESTOR', 3); harmony.usermgt.enrich_role_to_user('VLAGRANG', 'HERMES_ACCOUNT_GROUP_REPORTER', 3); harmony.usermgt.enrich_role_to_user('VLAGRANG', 'HERMES_ACCOUNT_STATUS_REPORTER', 3); harmony.usermgt.enrich_role_to_user('VLAGRANG', 'HERMES_CASHMGT_EFFICIENCY_REP', 3); harmony.usermgt.enrich_role_to_user('VLAGRANG', 'HERMES_ID_TRANSACTION_REPORTER', 3); harmony.usermgt.enrich_role_to_user('VLAGRANG', 'HERMES_RECONCILIATION_REPORTER', 3); harmony.usermgt.enrich_role_to_user('VLAGRANG', 'HERMES_STATEMENT_REPORTER', 3); harmony.usermgt.enrich_role_to_user('VLAGRANG', 'HERMES_TRANSACTION_REPORTER', 3); harmony.usermgt.enrich_role_to_user('VLAGRANG', 'HERMES_VALUE_VOLUME_REPORTER', 3); harmony.usermgt.enrich_role_to_user('VLAGRANG', 'ICL_AFF_REPORTER', 3); harmony.usermgt.enrich_role_to_user('VLAGRANG', 'ICL_AFF_REQUESTOR', 3); harmony.usermgt.enrich_role_to_user('VLAGRANG', 'ICL_MANAGER', 3); harmony.usermgt.enrich_role_to_user('VLAGRANG', 'ICL_REPORTER', 3); harmony.usermgt.enrich_role_to_user('VLAGRANG', 'IHCTF_AFF_REPORTER', 3); harmony.usermgt.enrich_role_to_user('VLAGRANG', 'IHCTF_AFF_REQUESTOR', 3); harmony.usermgt.enrich_role_to_user('VLAGRANG', 'IHCTF_MANAGER', 3); harmony.usermgt.enrich_role_to_user('VLAGRANG', 'IHC_EXPORT', 3); harmony.usermgt.enrich_role_to_user('VLAGRANG', 'IHC_POSITION_REPORTER', 3); harmony.usermgt.enrich_role_to_user('VLAGRANG', 'L-DRIVE_FO_USER', 3); harmony.usermgt.enrich_role_to_user('VLAGRANG', 'MR_REPORTER', 3); harmony.usermgt.enrich_role_to_user('VLAGRANG', 'MR_REQUESTOR', 3); harmony.usermgt.enrich_role_to_user('VLAGRANG', 'NETTING_AFF_REPORTER_ST', 3); harmony.usermgt.enrich_role_to_user('VLAGRANG', 'NETTING_AFF_REQUESTOR_ST', 3); harmony.usermgt.enrich_role_to_user('VLAGRANG', 'NETTING_MANAGER', 3); harmony.usermgt.enrich_role_to_user('VLAGRANG', 'NETTING_REPORTER_TC', 3); harmony.usermgt.enrich_role_to_user('VLAGRANG', 'OO_AUTHORIZER', 3); harmony.usermgt.enrich_role_to_user('VLAGRANG', 'OO_REPORTER', 3); harmony.usermgt.enrich_role_to_user('VLAGRANG', 'OO_REQUESTOR', 3); harmony.usermgt.enrich_role_to_user('VLAGRANG', 'RCM_TRANSACTION_REPORTER', 3); harmony.usermgt.enrich_role_to_user('VLAGRANG', 'SAA_LEFTHAND', 3); harmony.usermgt.enrich_role_to_user('VLAGRANG', 'SAA_LSO', 3); harmony.usermgt.enrich_role_to_user('VLAGRANG', 'SAP_PRD_DIRECTOR', 3); harmony.usermgt.enrich_role_to_user('VLAGRANG', 'SAP_PRD_RCM_EMEA_USER', 3); harmony.usermgt.enrich_role_to_user('VLAGRANG', 'SUBLEDGER_CASH_POOL_REPORTS', 3); harmony.usermgt.enrich_role_to_user('VLAGRANG', 'SWIFTCOM_RELEASER', 3); harmony.usermgt.enrich_role_to_user('VLAGRANG', 'TOPS2', 3); harmony.usermgt.enrich_role_to_user('VLAGRANG', 'TOPS_FO_USER', 3); harmony.usermgt.enrich_role_to_user('VLAGRANG', 'TPP_REPORTER', 3); harmony.usermgt.enrich_role_to_user('VLANTZ', 'EFS_AFF_REPORTER', 1); harmony.usermgt.enrich_role_to_user('VLEGROS', 'AMMF_AFF_REPORTER', 1); harmony.usermgt.enrich_role_to_user('VLEGROS', 'AMMF_AFF_REQUESTOR', 1); harmony.usermgt.enrich_role_to_user('VLEGROS', 'RCM_TRANSACTION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('VLEGROS', 'SUBLEDGER_CASH_POOL_REPORTS', 1); harmony.usermgt.enrich_role_to_user('VLIMONE', 'EFS_AFF_REQUESTOR', 1); harmony.usermgt.enrich_role_to_user('VMARTI2', 'AMMF_AFF_REPORTER', 1); harmony.usermgt.enrich_role_to_user('VMARTI2', 'BANKREPORTING', 1); harmony.usermgt.enrich_role_to_user('VMARTI2', 'HERMES_AFF_STATEMENT_REPORTER', 1); harmony.usermgt.enrich_role_to_user('VMARTI2', 'HERMES_AFF_TRANSACTION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('VMARTI2', 'ICL_AFF_REPORTER', 1); harmony.usermgt.enrich_role_to_user('VMARTI2', 'ICL_AFF_REQUESTOR', 1); harmony.usermgt.enrich_role_to_user('VMARTI2', 'IHC_AFF_POSITION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('VMARTI2', 'NETTING_AFF_REPORTER_ST', 1); harmony.usermgt.enrich_role_to_user('VMARTI2', 'RCM_TRANSACTION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('VNEO', 'AMMF_AFF_REPORTER', 3); harmony.usermgt.enrich_role_to_user('VNEO', 'AMMF_AFF_REQUESTOR', 3); harmony.usermgt.enrich_role_to_user('VNEO', 'AMMF_MANAGER', 3); harmony.usermgt.enrich_role_to_user('VNEO', 'AMMF_REPORTER', 3); harmony.usermgt.enrich_role_to_user('VNEO', 'APPLOG_ENDSTAMP_UPDATE', 3); harmony.usermgt.enrich_role_to_user('VNEO', 'APPLOG_REPORTER', 3); harmony.usermgt.enrich_role_to_user('VNEO', 'BAM_MANAGER', 3); harmony.usermgt.enrich_role_to_user('VNEO', 'BAM_REPORTER', 3); harmony.usermgt.enrich_role_to_user('VNEO', 'BANKREPORTING', 3); harmony.usermgt.enrich_role_to_user('VNEO', 'BATCH_HERMES-IHB', 3); harmony.usermgt.enrich_role_to_user('VNEO', 'BATCH_MT940_UPLOAD', 3); harmony.usermgt.enrich_role_to_user('VNEO', 'BATCH_MT940_UPLOAD_US', 3); harmony.usermgt.enrich_role_to_user('VNEO', 'BF_REPORTER', 3); harmony.usermgt.enrich_role_to_user('VNEO', 'BF_REQUESTOR', 3); harmony.usermgt.enrich_role_to_user('VNEO', 'EFS_AFF_REPORTER', 3); harmony.usermgt.enrich_role_to_user('VNEO', 'EFS_REPORTER', 3); harmony.usermgt.enrich_role_to_user('VNEO', 'HB_RELEASER', 3); harmony.usermgt.enrich_role_to_user('VNEO', 'HB_REPORTER', 3); harmony.usermgt.enrich_role_to_user('VNEO', 'HB_REQUESTOR', 3); harmony.usermgt.enrich_role_to_user('VNEO', 'HERMES_ACCOUNT_GROUP_REPORTER', 3); harmony.usermgt.enrich_role_to_user('VNEO', 'HERMES_ACCOUNT_STATUS_REPORTER', 3); harmony.usermgt.enrich_role_to_user('VNEO', 'HERMES_CASHMGT_EFFICIENCY_REP', 3); harmony.usermgt.enrich_role_to_user('VNEO', 'HERMES_ID_TRANSACTION_REPORTER', 3); harmony.usermgt.enrich_role_to_user('VNEO', 'HERMES_RECONCILIATION_REPORTER', 3); harmony.usermgt.enrich_role_to_user('VNEO', 'HERMES_STATEMENT_REPORTER', 3); harmony.usermgt.enrich_role_to_user('VNEO', 'HERMES_TRANSACTION_REPORTER', 3); harmony.usermgt.enrich_role_to_user('VNEO', 'HERMES_VALUE_VOLUME_REPORTER', 3); harmony.usermgt.enrich_role_to_user('VNEO', 'ICL_AFF_REPORTER', 3); harmony.usermgt.enrich_role_to_user('VNEO', 'ICL_AFF_REQUESTOR', 3); harmony.usermgt.enrich_role_to_user('VNEO', 'ICL_MANAGER', 3); harmony.usermgt.enrich_role_to_user('VNEO', 'ICL_REPORTER', 3); harmony.usermgt.enrich_role_to_user('VNEO', 'IHCTF_AFF_REPORTER', 3); harmony.usermgt.enrich_role_to_user('VNEO', 'IHC_POSITION_REPORTER', 3); harmony.usermgt.enrich_role_to_user('VNEO', 'MR_REPORTER', 3); harmony.usermgt.enrich_role_to_user('VNEO', 'MR_REQUESTOR', 3); harmony.usermgt.enrich_role_to_user('VNEO', 'NETTING_AFF_REPORTER_ST', 3); harmony.usermgt.enrich_role_to_user('VNEO', 'NETTING_AFF_REQUESTOR_ST', 3); harmony.usermgt.enrich_role_to_user('VNEO', 'NETTING_REPORTER', 3); harmony.usermgt.enrich_role_to_user('VNEO', 'NETTING_REPORTER_TC', 3); harmony.usermgt.enrich_role_to_user('VNEO', 'NETTING_REQUESTOR_TC', 3); harmony.usermgt.enrich_role_to_user('VNEO', 'OO_AUTHORIZER', 3); harmony.usermgt.enrich_role_to_user('VNEO', 'OO_RELEASER', 3); harmony.usermgt.enrich_role_to_user('VNEO', 'OO_REPORTER', 3); harmony.usermgt.enrich_role_to_user('VNEO', 'OO_REQUESTOR', 3); harmony.usermgt.enrich_role_to_user('VNEO', 'RCM_TRANSACTION_REPORTER', 3); harmony.usermgt.enrich_role_to_user('VNEO', 'SAP_PRD_AP_FO_USER', 3); harmony.usermgt.enrich_role_to_user('VNEO', 'SUBLEDGER_CASH_POOL_REPORTS', 3); harmony.usermgt.enrich_role_to_user('VNEO', 'SWIFTCOM_REPORTER', 3); harmony.usermgt.enrich_role_to_user('VNEO', 'TOPS2', 3); harmony.usermgt.enrich_role_to_user('VNEO', 'TOPS_COUNTERPARTY_EXPOSURE', 3); harmony.usermgt.enrich_role_to_user('VNEO', 'TPP_AFF_REQUESTOR', 3); harmony.usermgt.enrich_role_to_user('VNEO', 'TPP_REPORTER', 3); harmony.usermgt.enrich_role_to_user('VOSULLI1', 'TPP_AFF_REQUESTOR', 1); harmony.usermgt.enrich_role_to_user('VPARASUR', 'AMMF_AFF_REPORTER', 3); harmony.usermgt.enrich_role_to_user('VPARASUR', 'AMMF_AFF_REQUESTOR', 3); harmony.usermgt.enrich_role_to_user('VPARASUR', 'AMMF_MANAGER', 3); harmony.usermgt.enrich_role_to_user('VPARASUR', 'AMMF_REPORTER', 3); harmony.usermgt.enrich_role_to_user('VPARASUR', 'APPLOG_ENDSTAMP_UPDATE', 3); harmony.usermgt.enrich_role_to_user('VPARASUR', 'BAM_MANAGER', 3); harmony.usermgt.enrich_role_to_user('VPARASUR', 'BAM_REPORTER', 3); harmony.usermgt.enrich_role_to_user('VPARASUR', 'BANKREPORTING', 3); harmony.usermgt.enrich_role_to_user('VPARASUR', 'BATCH_MT940_UPLOAD', 3); harmony.usermgt.enrich_role_to_user('VPARASUR', 'BF_REPORTER', 3); harmony.usermgt.enrich_role_to_user('VPARASUR', 'EFS_AFF_AUTHORIZER', 3); harmony.usermgt.enrich_role_to_user('VPARASUR', 'EFS_REPORTER', 3); harmony.usermgt.enrich_role_to_user('VPARASUR', 'HB_RELEASER', 3); harmony.usermgt.enrich_role_to_user('VPARASUR', 'HB_REPORTER', 3); harmony.usermgt.enrich_role_to_user('VPARASUR', 'HB_REQUESTOR', 3); harmony.usermgt.enrich_role_to_user('VPARASUR', 'HERMES_ACCOUNT_GROUP_REPORTER', 3); harmony.usermgt.enrich_role_to_user('VPARASUR', 'HERMES_ACCOUNT_STATUS_REPORTER', 3); harmony.usermgt.enrich_role_to_user('VPARASUR', 'HERMES_CASHMGT_EFFICIENCY_REP', 3); harmony.usermgt.enrich_role_to_user('VPARASUR', 'HERMES_ID_TRANSACTION_REPORTER', 3); harmony.usermgt.enrich_role_to_user('VPARASUR', 'HERMES_RECONCILIATION_REPORTER', 3); harmony.usermgt.enrich_role_to_user('VPARASUR', 'HERMES_STATEMENT_REPORTER', 3); harmony.usermgt.enrich_role_to_user('VPARASUR', 'HERMES_TRANSACTION_REPORTER', 3); harmony.usermgt.enrich_role_to_user('VPARASUR', 'HERMES_VALUE_VOLUME_REPORTER', 3); harmony.usermgt.enrich_role_to_user('VPARASUR', 'ICL_AFF_REPORTER', 3); harmony.usermgt.enrich_role_to_user('VPARASUR', 'ICL_AFF_REQUESTOR', 3); harmony.usermgt.enrich_role_to_user('VPARASUR', 'ICL_MANAGER', 3); harmony.usermgt.enrich_role_to_user('VPARASUR', 'ICL_REPORTER', 3); harmony.usermgt.enrich_role_to_user('VPARASUR', 'IHCTF_AFF_REPORTER', 3); harmony.usermgt.enrich_role_to_user('VPARASUR', 'IHC_POSITION_REPORTER', 3); harmony.usermgt.enrich_role_to_user('VPARASUR', 'MR_REPORTER', 3); harmony.usermgt.enrich_role_to_user('VPARASUR', 'MR_REQUESTOR', 3); harmony.usermgt.enrich_role_to_user('VPARASUR', 'NETTING_AFF_REPORTER_ST', 3); harmony.usermgt.enrich_role_to_user('VPARASUR', 'NETTING_AFF_REQUESTOR_ST', 3); harmony.usermgt.enrich_role_to_user('VPARASUR', 'NETTING_REPORTER', 3); harmony.usermgt.enrich_role_to_user('VPARASUR', 'NETTING_REPORTER_TC', 3); harmony.usermgt.enrich_role_to_user('VPARASUR', 'OO_AUTHORIZER', 3); harmony.usermgt.enrich_role_to_user('VPARASUR', 'OO_REPORTER', 3); harmony.usermgt.enrich_role_to_user('VPARASUR', 'OO_REQUESTOR', 3); harmony.usermgt.enrich_role_to_user('VPARASUR', 'RCM_TRANSACTION_REPORTER', 3); harmony.usermgt.enrich_role_to_user('VPARASUR', 'SAP_PRD_AP_FO_USER', 3); harmony.usermgt.enrich_role_to_user('VPARASUR', 'SUBLEDGER_CASH_POOL_REPORTS', 3); harmony.usermgt.enrich_role_to_user('VPARASUR', 'SWIFTCOM_REPORTER', 3); harmony.usermgt.enrich_role_to_user('VPARASUR', 'TOPS2', 3); harmony.usermgt.enrich_role_to_user('VPARASUR', 'TOPS_COUNTERPARTY_EXPOSURE', 3); harmony.usermgt.enrich_role_to_user('VPARASUR', 'TPP_REPORTER', 3); harmony.usermgt.enrich_role_to_user('VPETROVI', 'AMMF_AFF_REPORTER', 1); harmony.usermgt.enrich_role_to_user('VPETROVI', 'BANKREPORTING', 1); harmony.usermgt.enrich_role_to_user('VPETROVI', 'HERMES_AFF_STATEMENT_REPORTER', 1); harmony.usermgt.enrich_role_to_user('VPETROVI', 'HERMES_AFF_TRANSACTION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('VPETROVI', 'ICL_AFF_REPORTER', 1); harmony.usermgt.enrich_role_to_user('VPETROVI', 'IHC_AFF_POSITION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('VPETROVI', 'RCM_TRANSACTION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('VPETROVI', 'SUBLEDGER_CASH_POOL_REPORTS', 1); harmony.usermgt.enrich_role_to_user('VPINEGRE', 'TPP_AFF_AUTHORIZER', 1); harmony.usermgt.enrich_role_to_user('VRAUT1', 'EFS_AFF_AUTHORIZER', 1); harmony.usermgt.enrich_role_to_user('VRAUT1', 'IHC_AFF_POSITION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('VRAUT1', 'NETTING_AFF_REQUESTOR_ST', 1); harmony.usermgt.enrich_role_to_user('VRAUT1', 'RCM_TRANSACTION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('VRAUT1', 'SUBLEDGER_CASH_POOL_REPORTS', 1); harmony.usermgt.enrich_role_to_user('VRAUT1', 'TPP_P2P_AFF_OFFER_AUTHORIZER', 1); harmony.usermgt.enrich_role_to_user('VROJAS', 'AMMF_AFF_REQUESTOR', 1); harmony.usermgt.enrich_role_to_user('VROJAS', 'BANKREPORTING', 1); harmony.usermgt.enrich_role_to_user('VROJAS', 'EFS_AFF_AUTHORIZER', 1); harmony.usermgt.enrich_role_to_user('VROJAS', 'EFS_AFF_REQUESTOR', 1); harmony.usermgt.enrich_role_to_user('VROJAS', 'HERMES_AFF_STATEMENT_REPORTER', 1); harmony.usermgt.enrich_role_to_user('VROJAS', 'HERMES_AFF_TRANSACTION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('VROJAS', 'ICL_AFF_REQUESTOR', 1); harmony.usermgt.enrich_role_to_user('VROJAS', 'IHCTF_AFF_REQUESTOR', 1); harmony.usermgt.enrich_role_to_user('VROJAS', 'NETTING_AFF_REPORTER_ST', 1); harmony.usermgt.enrich_role_to_user('VROJAS', 'NETTING_AFF_REQUESTOR_ST', 1); harmony.usermgt.enrich_role_to_user('VROOSENB', 'AMMF_AFF_REPORTER', 1); harmony.usermgt.enrich_role_to_user('VROOSENB', 'BANKREPORTING', 1); harmony.usermgt.enrich_role_to_user('VROOSENB', 'BF_AFF_REQUESTOR', 1); harmony.usermgt.enrich_role_to_user('VROOSENB', 'HERMES_AFF_STATEMENT_REPORTER', 1); harmony.usermgt.enrich_role_to_user('VROOSENB', 'HERMES_AFF_TRANSACTION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('VROOSENB', 'ICL_AFF_REPORTER', 1); harmony.usermgt.enrich_role_to_user('VROOSENB', 'IHC_AFF_POSITION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('VROOSENB', 'NETTING_AFF_REPORTER_ST', 1); harmony.usermgt.enrich_role_to_user('VROOSENB', 'OO_AFF_COCO_REQUESTOR', 1); harmony.usermgt.enrich_role_to_user('VROOSENB', 'RCM_TRANSACTION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('VROOSENB', 'SUBLEDGER_CASH_POOL_REPORTS', 1); harmony.usermgt.enrich_role_to_user('VROOSENB', 'TPP_P2P_AFF_OFFER_REQUESTOR', 1); harmony.usermgt.enrich_role_to_user('VROVETTA', 'TPP_P2P_AFF_REPORTER', 1); harmony.usermgt.enrich_role_to_user('VSOLEM', 'AMMF_AFF_REPORTER', 1); harmony.usermgt.enrich_role_to_user('VSOLEM', 'BANKREPORTING', 1); harmony.usermgt.enrich_role_to_user('VSOLEM', 'BF_AFF_REPORTER', 1); harmony.usermgt.enrich_role_to_user('VSOLEM', 'HERMES_AFF_STATEMENT_REPORTER', 1); harmony.usermgt.enrich_role_to_user('VSOLEM', 'HERMES_AFF_TRANSACTION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('VSOLEM', 'ICL_AFF_REPORTER', 1); harmony.usermgt.enrich_role_to_user('VSOLEM', 'IHC_AFF_POSITION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('VSOLEM', 'NETTING_AFF_REPORTER_ST', 1); harmony.usermgt.enrich_role_to_user('VSOLEM', 'NETTING_AFF_REQUESTOR_ST', 1); harmony.usermgt.enrich_role_to_user('VSOLEM', 'OO_AFF_COCO_REPORTER', 1); harmony.usermgt.enrich_role_to_user('VSOLEM', 'RCM_TRANSACTION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('VSOLEM', 'SUBLEDGER_CASH_POOL_REPORTS', 1); harmony.usermgt.enrich_role_to_user('VSOLEM', 'TPP_P2P_AFF_REPORTER', 1); harmony.usermgt.enrich_role_to_user('VTRUBITS', 'EFS_AFF_AUTHORIZER', 1); harmony.usermgt.enrich_role_to_user('VTRUBITS', 'NETTING_AFF_REPORTER_ST', 1); harmony.usermgt.enrich_role_to_user('VVAILLAR', 'TPP_AFF_REPORTER', 1); harmony.usermgt.enrich_role_to_user('VVILLAJO', 'BANKREPORTING', 1); harmony.usermgt.enrich_role_to_user('VVILLAJO', 'HERMES_AFF_STATEMENT_REPORTER', 1); harmony.usermgt.enrich_role_to_user('VVILLAJO', 'HERMES_AFF_TRANSACTION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('VWANG3', 'EFS_AFF_REQUESTOR', 1); harmony.usermgt.enrich_role_to_user('VWANG3', 'NETTING_AFF_REPORTER_ST', 1); harmony.usermgt.enrich_role_to_user('VWANG3', 'RCM_TRANSACTION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('VWANG3', 'SUBLEDGER_CASH_POOL_REPORTS', 1); harmony.usermgt.enrich_role_to_user('WAN', 'TPP_AFF_REQUESTOR', 1); harmony.usermgt.enrich_role_to_user('WATHERD1', 'BANKREPORTING', 1); harmony.usermgt.enrich_role_to_user('WATHERD1', 'HERMES_AFF_STATEMENT_REPORTER', 1); harmony.usermgt.enrich_role_to_user('WATHERD1', 'HERMES_AFF_TRANSACTION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('WATHERD1', 'NETTING_AFF_REPORTER_ST', 1); harmony.usermgt.enrich_role_to_user('WBOWLER', 'AMMF_AFF_REPORTER', 1); harmony.usermgt.enrich_role_to_user('WBOWLER', 'BANKREPORTING', 1); harmony.usermgt.enrich_role_to_user('WBOWLER', 'EFS_AFF_AUTHORIZER', 1); harmony.usermgt.enrich_role_to_user('WBOWLER', 'HERMES_AFF_STATEMENT_REPORTER', 1); harmony.usermgt.enrich_role_to_user('WBOWLER', 'HERMES_AFF_TRANSACTION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('WBOWLER', 'ICL_AFF_REPORTER', 1); harmony.usermgt.enrich_role_to_user('WBOWLER', 'IHC_AFF_POSITION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('WBOWLER', 'NETTING_AFF_REPORTER_ST', 1); harmony.usermgt.enrich_role_to_user('WBOWLER', 'RCM_TRANSACTION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('WBOWLER', 'SUBLEDGER_CASH_POOL_REPORTS', 1); harmony.usermgt.enrich_role_to_user('WBOWLER', 'TPP_P2P_AFF_REPORTER', 1); harmony.usermgt.enrich_role_to_user('WCHAMNAN', 'EFS_AFF_REQUESTOR', 1); harmony.usermgt.enrich_role_to_user('WCHAMNAN', 'NETTING_AFF_REQUESTOR_ST', 1); harmony.usermgt.enrich_role_to_user('WCHAMNAN', 'RCM_TRANSACTION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('WCHENG', 'EFS_AFF_AUTHORIZER', 1); harmony.usermgt.enrich_role_to_user('WCHENG', 'TPP_AFF_AUTHORIZER', 1); harmony.usermgt.enrich_role_to_user('WCOSTA22', 'EFS_AFF_REQUESTOR', 1); harmony.usermgt.enrich_role_to_user('WDEBIE', 'AMMF_AFF_REPORTER', 3); harmony.usermgt.enrich_role_to_user('WDEBIE', 'AMMF_REPORTER', 3); harmony.usermgt.enrich_role_to_user('WDEBIE', 'BAM_REPORTER', 3); harmony.usermgt.enrich_role_to_user('WDEBIE', 'BANKREPORTING', 3); harmony.usermgt.enrich_role_to_user('WDEBIE', 'BF_REPORTER', 3); harmony.usermgt.enrich_role_to_user('WDEBIE', 'CHAINS_IM_SUPPORT', 3); harmony.usermgt.enrich_role_to_user('WDEBIE', 'DLINK_IM_SUPPORT', 3); harmony.usermgt.enrich_role_to_user('WDEBIE', 'EFS_IM_SUPPORT', 3); harmony.usermgt.enrich_role_to_user('WDEBIE', 'GXRS_IM_SUPPORT', 3); harmony.usermgt.enrich_role_to_user('WDEBIE', 'HARMONY_REPORTER', 3); harmony.usermgt.enrich_role_to_user('WDEBIE', 'HB_COMBINATION_REPORTER', 3); harmony.usermgt.enrich_role_to_user('WDEBIE', 'HB_COMBI_REPORTER', 3); harmony.usermgt.enrich_role_to_user('WDEBIE', 'HB_REPORTER', 3); harmony.usermgt.enrich_role_to_user('WDEBIE', 'HERMES_IM_SUPPORT', 3); harmony.usermgt.enrich_role_to_user('WDEBIE', 'ICL_REPORTER', 3); harmony.usermgt.enrich_role_to_user('WDEBIE', 'IHCTF_AFF_REPORTER', 3); harmony.usermgt.enrich_role_to_user('WDEBIE', 'IHC_POSITION_REPORTER', 3); harmony.usermgt.enrich_role_to_user('WDEBIE', 'IT_SUPPORT', 3); harmony.usermgt.enrich_role_to_user('WDEBIE', 'MR_REPORTER', 3); harmony.usermgt.enrich_role_to_user('WDEBIE', 'OO_REPORTER', 3); harmony.usermgt.enrich_role_to_user('WDEBIE', 'P2P_IM_SUPPORT', 3); harmony.usermgt.enrich_role_to_user('WDEBIE', 'RCM_TRANSACTION_REPORTER', 3); harmony.usermgt.enrich_role_to_user('WDEBIE', 'SAP_PRD_IT_SUPPORT', 3); harmony.usermgt.enrich_role_to_user('WDEBIE', 'SAP_PRD_IT_USER_DISPLAY', 3); harmony.usermgt.enrich_role_to_user('WDEBIE', 'SUBLEDGER_CASH_POOL_REPORTS', 3); harmony.usermgt.enrich_role_to_user('WDEBIE', 'SWIFTCOM_IM_SUPPORT', 3); harmony.usermgt.enrich_role_to_user('WDEBIE', 'TOPS_IM_SUPPORT', 3); harmony.usermgt.enrich_role_to_user('WDEBIE', 'TPP_IM_SUPPORT', 3); harmony.usermgt.enrich_role_to_user('WDEBIE', 'UME_REPORTER', 3); harmony.usermgt.enrich_role_to_user('WDEBOECK', 'AMMF_REPORTER', 3); harmony.usermgt.enrich_role_to_user('WDEBOECK', 'BANKREPORTING', 3); harmony.usermgt.enrich_role_to_user('WDEBOECK', 'BATCH_MT940_UPLOAD', 3); harmony.usermgt.enrich_role_to_user('WDEBOECK', 'BRAVO_REQUESTOR', 3); harmony.usermgt.enrich_role_to_user('WDEBOECK', 'EFS_AFF_REPORTER', 3); harmony.usermgt.enrich_role_to_user('WDEBOECK', 'HB_REPORTER', 3); harmony.usermgt.enrich_role_to_user('WDEBOECK', 'HERMES_ACCOUNT_GROUP_REPORTER', 3); harmony.usermgt.enrich_role_to_user('WDEBOECK', 'HERMES_ACCOUNT_STATUS_REPORTER', 3); harmony.usermgt.enrich_role_to_user('WDEBOECK', 'HERMES_RECONCILIATION_REPORTER', 3); harmony.usermgt.enrich_role_to_user('WDEBOECK', 'HERMES_STATEMENT_REPORTER', 3); harmony.usermgt.enrich_role_to_user('WDEBOECK', 'HERMES_TRANSACTION_REPORTER', 3); harmony.usermgt.enrich_role_to_user('WDEBOECK', 'HERMES_VALUE_VOLUME_REPORTER', 3); harmony.usermgt.enrich_role_to_user('WDEBOECK', 'ICL_REPORTER', 3); harmony.usermgt.enrich_role_to_user('WDEBOECK', 'IHCTF_AFF_REPORTER', 3); harmony.usermgt.enrich_role_to_user('WDEBOECK', 'IHC_POSITION_REPORTER', 3); harmony.usermgt.enrich_role_to_user('WDEBOECK', 'L-DRIVE_ACC_USER', 3); harmony.usermgt.enrich_role_to_user('WDEBOECK', 'NETTING_AFF_REPORTER_ST', 3); harmony.usermgt.enrich_role_to_user('WDEBOECK', 'NETTING_REPORTER_TC', 3); harmony.usermgt.enrich_role_to_user('WDEBOECK', 'RCM_TRANSACTION_REPORTER', 3); harmony.usermgt.enrich_role_to_user('WDEBOECK', 'SAP_PRD_ACC_USER', 3); harmony.usermgt.enrich_role_to_user('WDEBOECK', 'SUBLEDGER_CASH_POOL_REPORTS', 3); harmony.usermgt.enrich_role_to_user('WDEBOECK', 'TPP_P2P_AFF_REPORTER', 3); harmony.usermgt.enrich_role_to_user('WDEBOECK', 'TPP_REPORTER', 3); harmony.usermgt.enrich_role_to_user('WEMHOF', 'TPP_AFF_REPORTER', 1); harmony.usermgt.enrich_role_to_user('WEMHOF', 'TPP_P2P_AFF_REPORTER', 1); harmony.usermgt.enrich_role_to_user('WGRAHAM4', 'NETTING_AFF_REPORTER_ST', 1); harmony.usermgt.enrich_role_to_user('WGUO10', 'BANKREPORTING', 2); harmony.usermgt.enrich_role_to_user('WGUO10', 'HERMES_AFF_STATEMENT_REPORTER', 2); harmony.usermgt.enrich_role_to_user('WGUO10', 'HERMES_AFF_TRANSACTION_REPORTER', 2); harmony.usermgt.enrich_role_to_user('WGUO10', 'IHC_AFF_POSITION_REPORTER', 2); harmony.usermgt.enrich_role_to_user('WGUO10', 'NETTING_AFF_REPORTER_ST', 2); harmony.usermgt.enrich_role_to_user('WGUO10', 'SUBLEDGER_CASH_POOL_REPORTS', 2); harmony.usermgt.enrich_role_to_user('WGUO10', 'TPP_AFF_REPORTER', 2); harmony.usermgt.enrich_role_to_user('WHADDAD2', 'EFS_AFF_AUTHORIZER', 1); harmony.usermgt.enrich_role_to_user('WHURLBUR', 'BANKREPORTING', 1); harmony.usermgt.enrich_role_to_user('WHURLBUR', 'EFS_AFF_REPORTER', 1); harmony.usermgt.enrich_role_to_user('WHURLBUR', 'HERMES_AFF_STATEMENT_REPORTER', 1); harmony.usermgt.enrich_role_to_user('WHURLBUR', 'HERMES_AFF_TRANSACTION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('WHURLBUR', 'IHCTF_AFF_REPORTER', 1); harmony.usermgt.enrich_role_to_user('WHURLBUR', 'IHCTF_AFF_REQUESTOR', 1); harmony.usermgt.enrich_role_to_user('WHURLBUR', 'IHC_AFF_POSITION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('WHURLBUR', 'NETTING_AFF_REPORTER_ST', 1); harmony.usermgt.enrich_role_to_user('WHURLBUR', 'NETTING_AFF_REQUESTOR_ST', 1); harmony.usermgt.enrich_role_to_user('WJANSSE4', 'AGENT_FO_IHB_MANAGER', 3); harmony.usermgt.enrich_role_to_user('WJANSSE4', 'AMMF_AFF_REPORTER', 3); harmony.usermgt.enrich_role_to_user('WJANSSE4', 'AMMF_AFF_REQUESTOR', 3); harmony.usermgt.enrich_role_to_user('WJANSSE4', 'AMMF_AUTHORIZER', 3); harmony.usermgt.enrich_role_to_user('WJANSSE4', 'AMMF_REPORTER', 3); harmony.usermgt.enrich_role_to_user('WJANSSE4', 'APPLOG_ENDSTAMP_UPDATE', 3); harmony.usermgt.enrich_role_to_user('WJANSSE4', 'BAM_MANAGER', 3); harmony.usermgt.enrich_role_to_user('WJANSSE4', 'BAM_REPORTER', 3); harmony.usermgt.enrich_role_to_user('WJANSSE4', 'BANKREPORTING', 3); harmony.usermgt.enrich_role_to_user('WJANSSE4', 'BATCH_C4S_TO_SYM', 3); harmony.usermgt.enrich_role_to_user('WJANSSE4', 'BATCH_MT940_UPLOAD', 3); harmony.usermgt.enrich_role_to_user('WJANSSE4', 'BF_REPORTER', 3); harmony.usermgt.enrich_role_to_user('WJANSSE4', 'CITIDIRECT_AUTHORIZER', 3); harmony.usermgt.enrich_role_to_user('WJANSSE4', 'E-ICD_USER', 3); harmony.usermgt.enrich_role_to_user('WJANSSE4', 'EFS_REPORTER', 3); harmony.usermgt.enrich_role_to_user('WJANSSE4', 'HB_RELEASER', 3); harmony.usermgt.enrich_role_to_user('WJANSSE4', 'HB_REPORTER', 3); harmony.usermgt.enrich_role_to_user('WJANSSE4', 'HB_REQUESTOR', 3); harmony.usermgt.enrich_role_to_user('WJANSSE4', 'HERMES_ACCOUNT_GROUP_REPORTER', 3); harmony.usermgt.enrich_role_to_user('WJANSSE4', 'HERMES_ACCOUNT_STATUS_REPORTER', 3); harmony.usermgt.enrich_role_to_user('WJANSSE4', 'HERMES_CASHMGT_EFFICIENCY_REP', 3); harmony.usermgt.enrich_role_to_user('WJANSSE4', 'HERMES_ID_TRANSACTION_REPORTER', 3); harmony.usermgt.enrich_role_to_user('WJANSSE4', 'HERMES_RECONCILIATION_REPORTER', 3); harmony.usermgt.enrich_role_to_user('WJANSSE4', 'HERMES_STATEMENT_REPORTER', 3); harmony.usermgt.enrich_role_to_user('WJANSSE4', 'HERMES_TRANSACTION_REPORTER', 3); harmony.usermgt.enrich_role_to_user('WJANSSE4', 'HERMES_VALUE_VOLUME_REPORTER', 3); harmony.usermgt.enrich_role_to_user('WJANSSE4', 'ICL_AFF_REPORTER', 3); harmony.usermgt.enrich_role_to_user('WJANSSE4', 'ICL_AFF_REQUESTOR', 3); harmony.usermgt.enrich_role_to_user('WJANSSE4', 'ICL_MANAGER', 3); harmony.usermgt.enrich_role_to_user('WJANSSE4', 'ICL_REPORTER', 3); harmony.usermgt.enrich_role_to_user('WJANSSE4', 'IHCTF_AFF_REPORTER', 3); harmony.usermgt.enrich_role_to_user('WJANSSE4', 'IHCTF_AFF_REQUESTOR', 3); harmony.usermgt.enrich_role_to_user('WJANSSE4', 'IHCTF_MANAGER', 3); harmony.usermgt.enrich_role_to_user('WJANSSE4', 'IHC_EXPORT', 3); harmony.usermgt.enrich_role_to_user('WJANSSE4', 'IHC_POSITION_REPORTER', 3); harmony.usermgt.enrich_role_to_user('WJANSSE4', 'L-DRIVE_FO_USER', 3); harmony.usermgt.enrich_role_to_user('WJANSSE4', 'MR_REPORTER', 3); harmony.usermgt.enrich_role_to_user('WJANSSE4', 'MR_REQUESTOR', 3); harmony.usermgt.enrich_role_to_user('WJANSSE4', 'NETTING_AFF_REPORTER_ST', 3); harmony.usermgt.enrich_role_to_user('WJANSSE4', 'NETTING_AFF_REQUESTOR_ST', 3); harmony.usermgt.enrich_role_to_user('WJANSSE4', 'NETTING_REPORTER_TC', 3); harmony.usermgt.enrich_role_to_user('WJANSSE4', 'OO_AUTHORIZER', 3); harmony.usermgt.enrich_role_to_user('WJANSSE4', 'OO_REPORTER', 3); harmony.usermgt.enrich_role_to_user('WJANSSE4', 'OO_REQUESTOR', 3); harmony.usermgt.enrich_role_to_user('WJANSSE4', 'RCM_TRANSACTION_REPORTER', 3); harmony.usermgt.enrich_role_to_user('WJANSSE4', 'SAA_LEFTHAND', 3); harmony.usermgt.enrich_role_to_user('WJANSSE4', 'SAP_PRD_RCM_EMEA_USER', 3); harmony.usermgt.enrich_role_to_user('WJANSSE4', 'SUBLEDGER_CASH_POOL_REPORTS', 3); harmony.usermgt.enrich_role_to_user('WJANSSE4', 'SWIFTCOM_RELEASER', 3); harmony.usermgt.enrich_role_to_user('WJANSSE4', 'TPP_REPORTER', 3); harmony.usermgt.enrich_role_to_user('WJINTAKA', 'EFS_AFF_REQUESTOR', 1); harmony.usermgt.enrich_role_to_user('WJINTAKA', 'NETTING_AFF_REPORTER_ST', 1); harmony.usermgt.enrich_role_to_user('WJINTAKA', 'RCM_TRANSACTION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('WKLOKIS', 'BF_AFF_AUTHORIZER', 1); harmony.usermgt.enrich_role_to_user('WKLOKIS', 'BF_AFF_REPORTER', 1); harmony.usermgt.enrich_role_to_user('WKLOKIS', 'OO_AFF_ACCOUNT_AUTH/REL', 1); harmony.usermgt.enrich_role_to_user('WKLOKIS', 'OO_AFF_ACCOUNT_REPORTER', 1); harmony.usermgt.enrich_role_to_user('WLCASTIL', 'TPP_AFF_REPORTER', 1); harmony.usermgt.enrich_role_to_user('WLCASTIL', 'TPP_P2P_AFF_REPORTER', 1); harmony.usermgt.enrich_role_to_user('WLIM', 'EFS_AFF_REQUESTOR', 1); harmony.usermgt.enrich_role_to_user('WLIM', 'NETTING_AFF_REPORTER_ST', 1); harmony.usermgt.enrich_role_to_user('WLIM', 'SUBLEDGER_CASH_POOL_REPORTS', 1); harmony.usermgt.enrich_role_to_user('WMCCABE', 'BANKREPORTING', 1); harmony.usermgt.enrich_role_to_user('WMCCABE', 'HERMES_AFF_STATEMENT_REPORTER', 1); harmony.usermgt.enrich_role_to_user('WMCCABE', 'HERMES_AFF_TRANSACTION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('WMCCABE', 'IHC_AFF_POSITION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('WMCCABE', 'NETTING_AFF_REPORTER_ST', 1); harmony.usermgt.enrich_role_to_user('WMEJOS', 'TPP_AFF_REPORTER', 1); harmony.usermgt.enrich_role_to_user('WMELIS', 'AMMF_AFF_REPORTER', 3); harmony.usermgt.enrich_role_to_user('WMELIS', 'AMMF_REPORTER', 3); harmony.usermgt.enrich_role_to_user('WMELIS', 'BAM_REPORTER', 3); harmony.usermgt.enrich_role_to_user('WMELIS', 'BANKREPORTING', 3); harmony.usermgt.enrich_role_to_user('WMELIS', 'BF_REPORTER', 3); harmony.usermgt.enrich_role_to_user('WMELIS', 'CHAINS_IM_SUPPORT', 3); harmony.usermgt.enrich_role_to_user('WMELIS', 'DLINK_IM_SUPPORT', 3); harmony.usermgt.enrich_role_to_user('WMELIS', 'EFS_IM_SUPPORT', 3); harmony.usermgt.enrich_role_to_user('WMELIS', 'GXRS_IM_SUPPORT', 3); harmony.usermgt.enrich_role_to_user('WMELIS', 'HARMONY_REPORTER', 3); harmony.usermgt.enrich_role_to_user('WMELIS', 'HB_COMBINATION_REPORTER', 3); harmony.usermgt.enrich_role_to_user('WMELIS', 'HB_COMBI_REPORTER', 3); harmony.usermgt.enrich_role_to_user('WMELIS', 'HB_REPORTER', 3); harmony.usermgt.enrich_role_to_user('WMELIS', 'HERMES_IM_SUPPORT', 3); harmony.usermgt.enrich_role_to_user('WMELIS', 'ICL_REPORTER', 3); harmony.usermgt.enrich_role_to_user('WMELIS', 'IHCTF_AFF_REPORTER', 3); harmony.usermgt.enrich_role_to_user('WMELIS', 'IHCTF_AFF_REQUESTOR', 3); harmony.usermgt.enrich_role_to_user('WMELIS', 'IHC_POSITION_REPORTER', 3); harmony.usermgt.enrich_role_to_user('WMELIS', 'IT_SUPPORT', 3); harmony.usermgt.enrich_role_to_user('WMELIS', 'MR_REPORTER', 3); harmony.usermgt.enrich_role_to_user('WMELIS', 'OO_REPORTER', 3); harmony.usermgt.enrich_role_to_user('WMELIS', 'P2P_IM_SUPPORT', 3); harmony.usermgt.enrich_role_to_user('WMELIS', 'SAA_ADMINISTRATOR_(ELEVATED)', 3); harmony.usermgt.enrich_role_to_user('WMELIS', 'SAA_IM_SUPPORT', 3); harmony.usermgt.enrich_role_to_user('WMELIS', 'SAP_PRD_IT_SUPPORT', 3); harmony.usermgt.enrich_role_to_user('WMELIS', 'SAP_PRD_IT_USER_DISPLAY', 3); harmony.usermgt.enrich_role_to_user('WMELIS', 'SUBLEDGER_CASH_POOL_REPORTS', 3); harmony.usermgt.enrich_role_to_user('WMELIS', 'SWIFTCOM_IM_SUPPORT', 3); harmony.usermgt.enrich_role_to_user('WMELIS', 'TOPS_IM_SUPPORT', 3); harmony.usermgt.enrich_role_to_user('WMELIS', 'TPP_IM_SUPPORT', 3); harmony.usermgt.enrich_role_to_user('WMELIS', 'TRAX_IT_USER', 3); harmony.usermgt.enrich_role_to_user('WMELIS', 'UME_REPORTER', 3); harmony.usermgt.enrich_role_to_user('WMERKENT', 'NETTING_AFF_REQUESTOR_ST', 1); harmony.usermgt.enrich_role_to_user('WMONSCHA', 'AMMF_AFF_REPORTER', 1); harmony.usermgt.enrich_role_to_user('WMONSCHA', 'AMMF_AFF_REQUESTOR', 1); harmony.usermgt.enrich_role_to_user('WMONSCHA', 'BANKREPORTING', 1); harmony.usermgt.enrich_role_to_user('WMONSCHA', 'EFS_AFF_AUTHORIZER', 1); harmony.usermgt.enrich_role_to_user('WMONSCHA', 'HERMES_AFF_STATEMENT_REPORTER', 1); harmony.usermgt.enrich_role_to_user('WMONSCHA', 'HERMES_AFF_TRANSACTION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('WMONSCHA', 'ICL_AFF_REPORTER', 1); harmony.usermgt.enrich_role_to_user('WMONSCHA', 'IHC_AFF_POSITION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('WMONSCHA', 'NETTING_AFF_REPORTER_ST', 1); harmony.usermgt.enrich_role_to_user('WMONSCHA', 'RCM_TRANSACTION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('WMONSCHA', 'SUBLEDGER_CASH_POOL_REPORTS', 1); harmony.usermgt.enrich_role_to_user('WMONSCHA', 'TPP_AFF_REPORTER', 1); harmony.usermgt.enrich_role_to_user('WMONSCHA', 'TPP_P2P_AFF_REPORTER', 1); harmony.usermgt.enrich_role_to_user('WPOETS1', 'AMMF_AFF_REPORTER', 3); harmony.usermgt.enrich_role_to_user('WPOETS1', 'AMMF_REPORTER', 3); harmony.usermgt.enrich_role_to_user('WPOETS1', 'BAM_REPORTER', 3); harmony.usermgt.enrich_role_to_user('WPOETS1', 'BANKREPORTING', 3); harmony.usermgt.enrich_role_to_user('WPOETS1', 'BF_REPORTER', 3); harmony.usermgt.enrich_role_to_user('WPOETS1', 'CHAINS_IM_SUPPORT', 3); harmony.usermgt.enrich_role_to_user('WPOETS1', 'DLINK_IM_SUPPORT', 3); harmony.usermgt.enrich_role_to_user('WPOETS1', 'EFS_IM_SUPPORT', 3); harmony.usermgt.enrich_role_to_user('WPOETS1', 'GXRS_IM_SUPPORT', 3); harmony.usermgt.enrich_role_to_user('WPOETS1', 'HARMONY_REPORTER', 3); harmony.usermgt.enrich_role_to_user('WPOETS1', 'HB_COMBINATION_REPORTER', 3); harmony.usermgt.enrich_role_to_user('WPOETS1', 'HB_COMBI_REPORTER', 3); harmony.usermgt.enrich_role_to_user('WPOETS1', 'HB_REPORTER', 3); harmony.usermgt.enrich_role_to_user('WPOETS1', 'HERMES_IM_SUPPORT', 3); harmony.usermgt.enrich_role_to_user('WPOETS1', 'ICL_REPORTER', 3); harmony.usermgt.enrich_role_to_user('WPOETS1', 'IHCTF_AFF_REPORTER', 3); harmony.usermgt.enrich_role_to_user('WPOETS1', 'IHC_POSITION_REPORTER', 3); harmony.usermgt.enrich_role_to_user('WPOETS1', 'IT_SUPPORT', 3); harmony.usermgt.enrich_role_to_user('WPOETS1', 'MR_REPORTER', 3); harmony.usermgt.enrich_role_to_user('WPOETS1', 'OO_REPORTER', 3); harmony.usermgt.enrich_role_to_user('WPOETS1', 'P2P_IM_SUPPORT', 3); harmony.usermgt.enrich_role_to_user('WPOETS1', 'SAA_IM_SUPPORT', 3); harmony.usermgt.enrich_role_to_user('WPOETS1', 'SAP_PRD_IT_SUPPORT', 3); harmony.usermgt.enrich_role_to_user('WPOETS1', 'SAP_PRD_IT_USER_DISPLAY', 3); harmony.usermgt.enrich_role_to_user('WPOETS1', 'SUBLEDGER_CASH_POOL_REPORTS', 3); harmony.usermgt.enrich_role_to_user('WPOETS1', 'SWIFTCOM_IM_SUPPORT', 3); harmony.usermgt.enrich_role_to_user('WPOETS1', 'TOPS_IM_SUPPORT', 3); harmony.usermgt.enrich_role_to_user('WPOETS1', 'TPP_IM_SUPPORT', 3); harmony.usermgt.enrich_role_to_user('WPOETS1', 'UME_REPORTER', 3); harmony.usermgt.enrich_role_to_user('WRAMIRE2', 'EFS_AFF_REQUESTOR', 1); harmony.usermgt.enrich_role_to_user('WRAMIRE2', 'NETTING_AFF_REQUESTOR_ST', 1); harmony.usermgt.enrich_role_to_user('WRAMIRE2', 'TPP_AFF_REQUESTOR', 1); harmony.usermgt.enrich_role_to_user('WSALCHLI', 'EFS_AFF_REPORTER', 1); harmony.usermgt.enrich_role_to_user('WSPTAN', 'NETTING_AFF_REPORTER_ST', 1); harmony.usermgt.enrich_role_to_user('WTIAN1', 'BANKREPORTING', 1); harmony.usermgt.enrich_role_to_user('WTIAN1', 'BF_AFF_REPORTER', 1); harmony.usermgt.enrich_role_to_user('WTIAN1', 'HERMES_AFF_STATEMENT_REPORTER', 1); harmony.usermgt.enrich_role_to_user('WTIAN1', 'HERMES_AFF_TRANSACTION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('WTIAN1', 'IHC_AFF_POSITION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('WTIAN1', 'NETTING_AFF_REQUESTOR_ST', 1); harmony.usermgt.enrich_role_to_user('WTIAN1', 'OO_AFF_COCO_REPORTER', 1); harmony.usermgt.enrich_role_to_user('WTIAN1', 'RCM_TRANSACTION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('WTIAN1', 'SUBLEDGER_CASH_POOL_REPORTS', 1); harmony.usermgt.enrich_role_to_user('WTIAN1', 'TPP_AFF_REQUESTOR', 1); harmony.usermgt.enrich_role_to_user('WUY1', 'IHC_AFF_POSITION_REPORTER', 2); harmony.usermgt.enrich_role_to_user('WUY1', 'NETTING_AFF_REQUESTOR_ST', 2); harmony.usermgt.enrich_role_to_user('WVANGENE', 'AMMF_AFF_REPORTER', 3); harmony.usermgt.enrich_role_to_user('WVANGENE', 'AMMF_REPORTER', 3); harmony.usermgt.enrich_role_to_user('WVANGENE', 'BAM_REPORTER', 3); harmony.usermgt.enrich_role_to_user('WVANGENE', 'BANKREPORTING', 3); harmony.usermgt.enrich_role_to_user('WVANGENE', 'BF_REPORTER', 3); harmony.usermgt.enrich_role_to_user('WVANGENE', 'CHAINS_IM_SUPPORT', 3); harmony.usermgt.enrich_role_to_user('WVANGENE', 'DLINK_IM_SUPPORT', 3); harmony.usermgt.enrich_role_to_user('WVANGENE', 'EFS_IM_SUPPORT', 3); harmony.usermgt.enrich_role_to_user('WVANGENE', 'GXRS_IM_SUPPORT', 3); harmony.usermgt.enrich_role_to_user('WVANGENE', 'HARMONY_REPORTER', 3); harmony.usermgt.enrich_role_to_user('WVANGENE', 'HB_COMBINATION_REPORTER', 3); harmony.usermgt.enrich_role_to_user('WVANGENE', 'HB_COMBI_REPORTER', 3); harmony.usermgt.enrich_role_to_user('WVANGENE', 'HB_REPORTER', 3); harmony.usermgt.enrich_role_to_user('WVANGENE', 'HERMES_IM_SUPPORT', 3); harmony.usermgt.enrich_role_to_user('WVANGENE', 'ICL_REPORTER', 3); harmony.usermgt.enrich_role_to_user('WVANGENE', 'IHCTF_AFF_REPORTER', 3); harmony.usermgt.enrich_role_to_user('WVANGENE', 'IHC_POSITION_REPORTER', 3); harmony.usermgt.enrich_role_to_user('WVANGENE', 'IT_SUPPORT', 3); harmony.usermgt.enrich_role_to_user('WVANGENE', 'MR_REPORTER', 3); harmony.usermgt.enrich_role_to_user('WVANGENE', 'OO_REPORTER', 3); harmony.usermgt.enrich_role_to_user('WVANGENE', 'P2P_IM_SUPPORT', 3); harmony.usermgt.enrich_role_to_user('WVANGENE', 'SAP_PRD_IT_SUPPORT', 3); harmony.usermgt.enrich_role_to_user('WVANGENE', 'SAP_PRD_IT_USER_DISPLAY', 3); harmony.usermgt.enrich_role_to_user('WVANGENE', 'SUBLEDGER_CASH_POOL_REPORTS', 3); harmony.usermgt.enrich_role_to_user('WVANGENE', 'SWIFTCOM_IM_SUPPORT', 3); harmony.usermgt.enrich_role_to_user('WVANGENE', 'TOPS_IM_SUPPORT', 3); harmony.usermgt.enrich_role_to_user('WVANGENE', 'TPP_IM_SUPPORT', 3); harmony.usermgt.enrich_role_to_user('WVANGENE', 'UME_REPORTER', 3); harmony.usermgt.enrich_role_to_user('WVANROY', 'ACCESS_EDGE_REPORTER_EMEA', 3); harmony.usermgt.enrich_role_to_user('WVANROY', 'ACCESS_EDGE_REPORTER_US', 3); harmony.usermgt.enrich_role_to_user('WVANROY', 'ACCESS_EDGE_SECURITY_ADMINISTRATOR_EMEA', 3); harmony.usermgt.enrich_role_to_user('WVANROY', 'ACCESS_EDGE_SECURITY_ADMINISTRATOR_US', 3); harmony.usermgt.enrich_role_to_user('WVANROY', 'AFRAX_APPROVER_L-DRIVE', 3); harmony.usermgt.enrich_role_to_user('WVANROY', 'AFRAX_APPROVER_SAP_RPS_200', 3); harmony.usermgt.enrich_role_to_user('WVANROY', 'AGENT_BANKDIR_BO_USER', 3); harmony.usermgt.enrich_role_to_user('WVANROY', 'AMMF_AFF_REPORTER', 3); harmony.usermgt.enrich_role_to_user('WVANROY', 'AMMF_REPORTER', 3); harmony.usermgt.enrich_role_to_user('WVANROY', 'APPLOG_ENDSTAMP_UPDATE', 3); harmony.usermgt.enrich_role_to_user('WVANROY', 'APPLOG_REPORTER', 3); harmony.usermgt.enrich_role_to_user('WVANROY', 'BAM_REPORTER', 3); harmony.usermgt.enrich_role_to_user('WVANROY', 'BANKREPORTING', 3); harmony.usermgt.enrich_role_to_user('WVANROY', 'BATCH_MT940_UPLOAD', 3); harmony.usermgt.enrich_role_to_user('WVANROY', 'BATCH_PAYMENT_PROCESSING', 3); harmony.usermgt.enrich_role_to_user('WVANROY', 'BF_AUTHORIZER', 3); harmony.usermgt.enrich_role_to_user('WVANROY', 'BF_REPORTER', 3); harmony.usermgt.enrich_role_to_user('WVANROY', 'BF_REQUESTOR', 3); harmony.usermgt.enrich_role_to_user('WVANROY', 'CITIDIRECT_USER_MANAGER', 3); harmony.usermgt.enrich_role_to_user('WVANROY', 'COMMONS_BO_USER', 3); harmony.usermgt.enrich_role_to_user('WVANROY', 'CURRENEX_BO_USER', 3); harmony.usermgt.enrich_role_to_user('WVANROY', 'DLINK_BO_SUPERVISOR', 3); harmony.usermgt.enrich_role_to_user('WVANROY', 'DLINK_BO_USER', 3); harmony.usermgt.enrich_role_to_user('WVANROY', 'DLINK_REPORTER', 3); harmony.usermgt.enrich_role_to_user('WVANROY', 'E-ICD_POWER_USER', 3); harmony.usermgt.enrich_role_to_user('WVANROY', 'ECP_APPROVER', 3); harmony.usermgt.enrich_role_to_user('WVANROY', 'EFS_BO_USER', 3); harmony.usermgt.enrich_role_to_user('WVANROY', 'FM_RULES_REQUESTOR', 3); harmony.usermgt.enrich_role_to_user('WVANROY', 'GXRS_BO_USER', 3); harmony.usermgt.enrich_role_to_user('WVANROY', 'HB_COMBINATION_REQUESTOR', 3); harmony.usermgt.enrich_role_to_user('WVANROY', 'HB_COMBI_REQUESTOR', 3); harmony.usermgt.enrich_role_to_user('WVANROY', 'HB_REPORTER', 3); harmony.usermgt.enrich_role_to_user('WVANROY', 'HERMES_ACCOUNT_GROUP_REPORTER', 3); harmony.usermgt.enrich_role_to_user('WVANROY', 'HERMES_ACCOUNT_STATUS_REPORTER', 3); harmony.usermgt.enrich_role_to_user('WVANROY', 'HERMES_CASHMGT_EFFICIENCY_REP', 3); harmony.usermgt.enrich_role_to_user('WVANROY', 'HERMES_ID_TRANSACTION_REPORTER', 3); harmony.usermgt.enrich_role_to_user('WVANROY', 'HERMES_RECONCILIATION_REPORTER', 3); harmony.usermgt.enrich_role_to_user('WVANROY', 'HERMES_STATEMENT_REPORTER', 3); harmony.usermgt.enrich_role_to_user('WVANROY', 'HERMES_TRANSACTION_REPORTER', 3); harmony.usermgt.enrich_role_to_user('WVANROY', 'HERMES_VALUE_VOLUME_REPORTER', 3); harmony.usermgt.enrich_role_to_user('WVANROY', 'ICL_REPORTER', 3); harmony.usermgt.enrich_role_to_user('WVANROY', 'IHCTF_AFF_REPORTER', 3); harmony.usermgt.enrich_role_to_user('WVANROY', 'IHCTF_AFF_REQUESTOR', 3); harmony.usermgt.enrich_role_to_user('WVANROY', 'IHC_POSITION_REPORTER', 3); harmony.usermgt.enrich_role_to_user('WVANROY', 'JPMORGAN_AUTHORIZER', 3); harmony.usermgt.enrich_role_to_user('WVANROY', 'L-DRIVE_TSG_USER', 3); harmony.usermgt.enrich_role_to_user('WVANROY', 'MISYS_SUPERVISOR', 3); harmony.usermgt.enrich_role_to_user('WVANROY', 'NETTING_AFF_REPORTER_ST', 3); harmony.usermgt.enrich_role_to_user('WVANROY', 'NETTING_BO_SUPERVISOR', 3); harmony.usermgt.enrich_role_to_user('WVANROY', 'NETTING_BO_USER', 3); harmony.usermgt.enrich_role_to_user('WVANROY', 'NETTING_REPORTER_TC', 3); harmony.usermgt.enrich_role_to_user('WVANROY', 'OO_RELEASER', 3); harmony.usermgt.enrich_role_to_user('WVANROY', 'OO_REPORTER', 3); harmony.usermgt.enrich_role_to_user('WVANROY', 'P2P_BO_USER', 3); harmony.usermgt.enrich_role_to_user('WVANROY', 'RCM_TRANSACTION_REPORTER', 3); harmony.usermgt.enrich_role_to_user('WVANROY', 'SAA_BO_KEY_USER', 3); harmony.usermgt.enrich_role_to_user('WVANROY', 'SAA_LEFTHAND', 3); harmony.usermgt.enrich_role_to_user('WVANROY', 'SAP_PRD_TSG_USER', 3); harmony.usermgt.enrich_role_to_user('WVANROY', 'SUNGARD_BO_USER', 3); harmony.usermgt.enrich_role_to_user('WVANROY', 'SWIFTCOM_RELEASER', 3); harmony.usermgt.enrich_role_to_user('WVANROY', 'SWIFTCOM_REPORTER', 3); harmony.usermgt.enrich_role_to_user('WVANROY', 'SWIFTCOM_STATIC_DATA_MANAGER', 3); harmony.usermgt.enrich_role_to_user('WVANROY', 'SWIFTREF_MANAGER', 3); harmony.usermgt.enrich_role_to_user('WVANROY', 'TOPS2', 3); harmony.usermgt.enrich_role_to_user('WVANROY', 'TOPS_BO_USER', 3); harmony.usermgt.enrich_role_to_user('WVANROY', 'TPP_BO_USER', 3); harmony.usermgt.enrich_role_to_user('WVANROY', 'TRAX_BO_USER', 3); harmony.usermgt.enrich_role_to_user('WVANROY', 'UME_REPORTER', 3); harmony.usermgt.enrich_role_to_user('WVROOY', 'AMMF_AFF_REPORTER', 1); harmony.usermgt.enrich_role_to_user('WVROOY', 'AMMF_AFF_REQUESTOR', 1); harmony.usermgt.enrich_role_to_user('WVROOY', 'BANKREPORTING', 1); harmony.usermgt.enrich_role_to_user('WVROOY', 'HERMES_AFF_STATEMENT_REPORTER', 1); harmony.usermgt.enrich_role_to_user('WVROOY', 'HERMES_AFF_TRANSACTION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('WVROOY', 'ICL_AFF_REPORTER', 1); harmony.usermgt.enrich_role_to_user('WVROOY', 'ICL_AFF_REQUESTOR', 1); harmony.usermgt.enrich_role_to_user('WVROOY', 'IHC_AFF_POSITION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('WVROOY', 'RCM_TRANSACTION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('WVROOY', 'REPORT_C4S_TO_SYM', 3); harmony.usermgt.enrich_role_to_user('WVROOY', 'SAP_PRD_JPH_ACC_USER', 3); harmony.usermgt.enrich_role_to_user('WVROOY', 'TPP_AFF_AUTHORIZER', 1); harmony.usermgt.enrich_role_to_user('WVROOY', 'TPP_P2P_AFF_REPORTER', 1); harmony.usermgt.enrich_role_to_user('WVVELDHO', 'AMMF_AFF_REQUESTOR', 1); harmony.usermgt.enrich_role_to_user('WVVELDHO', 'BANKREPORTING', 1); harmony.usermgt.enrich_role_to_user('WVVELDHO', 'BF_AFF_AUTHORIZER', 1); harmony.usermgt.enrich_role_to_user('WVVELDHO', 'EFS_AFF_AUTHORIZER', 1); harmony.usermgt.enrich_role_to_user('WVVELDHO', 'HERMES_AFF_STATEMENT_REPORTER', 1); harmony.usermgt.enrich_role_to_user('WVVELDHO', 'HERMES_AFF_TRANSACTION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('WVVELDHO', 'ICL_AFF_REQUESTOR', 1); harmony.usermgt.enrich_role_to_user('WVVELDHO', 'IHC_AFF_POSITION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('WVVELDHO', 'NETTING_AFF_REPORTER_ST', 1); harmony.usermgt.enrich_role_to_user('WVVELDHO', 'OO_AFF_COCO_AUTH/REL', 1); harmony.usermgt.enrich_role_to_user('WVVELDHO', 'RCM_TRANSACTION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('WWANG9', 'NETTING_AFF_REPORTER_ST', 1); harmony.usermgt.enrich_role_to_user('WWANG9', 'RCM_TRANSACTION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('WWANG9', 'SUBLEDGER_CASH_POOL_REPORTS', 1); harmony.usermgt.enrich_role_to_user('WWAUTER', 'AGENT_BANKDIR_BO_USER', 3); harmony.usermgt.enrich_role_to_user('WWAUTER', 'AMMF_AFF_REPORTER', 3); harmony.usermgt.enrich_role_to_user('WWAUTER', 'AMMF_REPORTER', 3); harmony.usermgt.enrich_role_to_user('WWAUTER', 'APPLOG_ENDSTAMP_UPDATE', 3); harmony.usermgt.enrich_role_to_user('WWAUTER', 'APPLOG_REPORTER', 3); harmony.usermgt.enrich_role_to_user('WWAUTER', 'BAM_REPORTER', 3); harmony.usermgt.enrich_role_to_user('WWAUTER', 'BANKREPORTING', 3); harmony.usermgt.enrich_role_to_user('WWAUTER', 'BATCH_MT940_UPLOAD', 3); harmony.usermgt.enrich_role_to_user('WWAUTER', 'BATCH_PAYMENT_PROCESSING', 3); harmony.usermgt.enrich_role_to_user('WWAUTER', 'BF_AUTHORIZER', 3); harmony.usermgt.enrich_role_to_user('WWAUTER', 'BF_REPORTER', 3); harmony.usermgt.enrich_role_to_user('WWAUTER', 'BF_REQUESTOR', 3); harmony.usermgt.enrich_role_to_user('WWAUTER', 'COMMONS_BO_USER', 3); harmony.usermgt.enrich_role_to_user('WWAUTER', 'COMMONS_REPORTER', 3); harmony.usermgt.enrich_role_to_user('WWAUTER', 'CURRENEX_FX_USER', 3); harmony.usermgt.enrich_role_to_user('WWAUTER', 'DLINK_BO_SUPERVISOR', 3); harmony.usermgt.enrich_role_to_user('WWAUTER', 'DLINK_BO_USER', 3); harmony.usermgt.enrich_role_to_user('WWAUTER', 'DLINK_FX_KEY_USER', 3); harmony.usermgt.enrich_role_to_user('WWAUTER', 'DLINK_REPORTER', 3); harmony.usermgt.enrich_role_to_user('WWAUTER', 'E-ICD_USER', 3); harmony.usermgt.enrich_role_to_user('WWAUTER', 'EFS_BO_USER', 3); harmony.usermgt.enrich_role_to_user('WWAUTER', 'EFS_FX_KEY_USER', 3); harmony.usermgt.enrich_role_to_user('WWAUTER', 'FM_RULES_REQUESTOR', 3); harmony.usermgt.enrich_role_to_user('WWAUTER', 'GXRS_BO_USER', 3); harmony.usermgt.enrich_role_to_user('WWAUTER', 'HB_COMBINATION_REQUESTOR', 3); harmony.usermgt.enrich_role_to_user('WWAUTER', 'HB_COMBI_REQUESTOR', 3); harmony.usermgt.enrich_role_to_user('WWAUTER', 'HB_REPORTER', 3); harmony.usermgt.enrich_role_to_user('WWAUTER', 'HEDGING_FX_KEY_USER', 3); harmony.usermgt.enrich_role_to_user('WWAUTER', 'HERMES_ACCOUNT_GROUP_REPORTER', 3); harmony.usermgt.enrich_role_to_user('WWAUTER', 'HERMES_ACCOUNT_STATUS_REPORTER', 3); harmony.usermgt.enrich_role_to_user('WWAUTER', 'HERMES_CASHMGT_EFFICIENCY_REP', 3); harmony.usermgt.enrich_role_to_user('WWAUTER', 'HERMES_ID_TRANSACTION_REPORTER', 3); harmony.usermgt.enrich_role_to_user('WWAUTER', 'HERMES_RECONCILIATION_REPORTER', 3); harmony.usermgt.enrich_role_to_user('WWAUTER', 'HERMES_STATEMENT_REPORTER', 3); harmony.usermgt.enrich_role_to_user('WWAUTER', 'HERMES_TRANSACTION_REPORTER', 3); harmony.usermgt.enrich_role_to_user('WWAUTER', 'HERMES_VALUE_VOLUME_REPORTER', 3); harmony.usermgt.enrich_role_to_user('WWAUTER', 'ICL_REPORTER', 3); harmony.usermgt.enrich_role_to_user('WWAUTER', 'IHCTF_AFF_REPORTER', 3); harmony.usermgt.enrich_role_to_user('WWAUTER', 'IHCTF_AFF_REQUESTOR', 3); harmony.usermgt.enrich_role_to_user('WWAUTER', 'IHC_POSITION_REPORTER', 3); harmony.usermgt.enrich_role_to_user('WWAUTER', 'L-DRIVE_FX_USER', 3); harmony.usermgt.enrich_role_to_user('WWAUTER', 'NETTING_AFF_REPORTER_ST', 3); harmony.usermgt.enrich_role_to_user('WWAUTER', 'NETTING_BO_SUPERVISOR', 3); harmony.usermgt.enrich_role_to_user('WWAUTER', 'NETTING_BO_USER', 3); harmony.usermgt.enrich_role_to_user('WWAUTER', 'NETTING_REPORTER_TC', 3); harmony.usermgt.enrich_role_to_user('WWAUTER', 'OO_RELEASER', 3); harmony.usermgt.enrich_role_to_user('WWAUTER', 'OO_REPORTER', 3); harmony.usermgt.enrich_role_to_user('WWAUTER', 'P2P_BO_USER', 3); harmony.usermgt.enrich_role_to_user('WWAUTER', 'RCM_TRANSACTION_REPORTER', 3); harmony.usermgt.enrich_role_to_user('WWAUTER', 'SAP_PRD_FX_USER', 3); harmony.usermgt.enrich_role_to_user('WWAUTER', 'SWIFTCOM_RELEASER', 3); harmony.usermgt.enrich_role_to_user('WWAUTER', 'SWIFTCOM_REPORTER', 3); harmony.usermgt.enrich_role_to_user('WWAUTER', 'SWIFTCOM_STATIC_DATA_MANAGER', 3); harmony.usermgt.enrich_role_to_user('WWAUTER', 'TOPS2', 3); harmony.usermgt.enrich_role_to_user('WWAUTER', 'TOPS_BO_USER', 3); harmony.usermgt.enrich_role_to_user('WWAUTER', 'TPP_BO_USER', 3); harmony.usermgt.enrich_role_to_user('WWAUTER', 'UME_REPORTER', 3); harmony.usermgt.enrich_role_to_user('WWU15', 'EFS_AFF_REQUESTOR', 1); harmony.usermgt.enrich_role_to_user('WXUE1', 'BANKREPORTING', 1); harmony.usermgt.enrich_role_to_user('WXUE1', 'BF_AFF_REPORTER', 1); harmony.usermgt.enrich_role_to_user('WXUE1', 'HERMES_AFF_STATEMENT_REPORTER', 1); harmony.usermgt.enrich_role_to_user('WXUE1', 'HERMES_AFF_TRANSACTION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('WXUE1', 'IHC_AFF_POSITION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('WXUE1', 'NETTING_AFF_REPORTER_ST', 1); harmony.usermgt.enrich_role_to_user('WXUE1', 'OO_AFF_COCO_REPORTER', 1); harmony.usermgt.enrich_role_to_user('WXUE1', 'RCM_TRANSACTION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('WXUE1', 'SUBLEDGER_CASH_POOL_REPORTS', 1); harmony.usermgt.enrich_role_to_user('WYIP', 'BANKREPORTING', 1); harmony.usermgt.enrich_role_to_user('WYIP', 'HERMES_AFF_STATEMENT_REPORTER', 1); harmony.usermgt.enrich_role_to_user('WYIP', 'HERMES_AFF_TRANSACTION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('WYIP', 'NETTING_AFF_REQUESTOR_ST', 1); harmony.usermgt.enrich_role_to_user('WYIP', 'SUBLEDGER_CASH_POOL_REPORTS', 1); harmony.usermgt.enrich_role_to_user('XATIENZA', 'NETTING_AFF_REPORTER_ST', 2); harmony.usermgt.enrich_role_to_user('XFANG2', 'SUBLEDGER_CASH_POOL_REPORTS', 2); harmony.usermgt.enrich_role_to_user('XJIA2', 'EFS_AFF_AUTHORIZER', 1); harmony.usermgt.enrich_role_to_user('XLI29', 'ICL_AFF_REPORTER', 1); harmony.usermgt.enrich_role_to_user('XLI29', 'ICL_AFF_REQUESTOR', 1); harmony.usermgt.enrich_role_to_user('XLUO13', 'AMMF_AFF_REPORTER', 2); harmony.usermgt.enrich_role_to_user('XLUO13', 'EFS_AFF_REPORTER', 2); harmony.usermgt.enrich_role_to_user('XLUO13', 'NETTING_AFF_REQUESTOR_ST', 2); harmony.usermgt.enrich_role_to_user('XLUO13', 'TPP_AFF_REQUESTOR', 2); harmony.usermgt.enrich_role_to_user('XLUO13', 'TPP_P2P_AFF_REPORTER', 2); harmony.usermgt.enrich_role_to_user('XPIAO2', 'RCM_TRANSACTION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('XTANG3', 'NETTING_AFF_REQUESTOR_ST', 1); harmony.usermgt.enrich_role_to_user('XTANG3', 'SUBLEDGER_CASH_POOL_REPORTS', 1); harmony.usermgt.enrich_role_to_user('XWANG15', 'EFS_AFF_REQUESTOR', 1); harmony.usermgt.enrich_role_to_user('XYU16', 'BANKREPORTING', 2); harmony.usermgt.enrich_role_to_user('XYU16', 'HERMES_AFF_STATEMENT_REPORTER', 2); harmony.usermgt.enrich_role_to_user('XYU16', 'HERMES_AFF_TRANSACTION_REPORTER', 2); harmony.usermgt.enrich_role_to_user('XYU16', 'IHC_AFF_POSITION_REPORTER', 2); harmony.usermgt.enrich_role_to_user('XYU16', 'NETTING_AFF_REPORTER_ST', 2); harmony.usermgt.enrich_role_to_user('XYU16', 'SUBLEDGER_CASH_POOL_REPORTS', 2); harmony.usermgt.enrich_role_to_user('XYU16', 'TPP_AFF_REPORTER', 2); harmony.usermgt.enrich_role_to_user('XZHUANG3', 'NETTING_AFF_REQUESTOR_ST', 2); harmony.usermgt.enrich_role_to_user('YBEITIA1', 'NETTING_AFF_REQUESTOR_ST', 1); harmony.usermgt.enrich_role_to_user('YCHAO', 'SUBLEDGER_CASH_POOL_REPORTS', 1); harmony.usermgt.enrich_role_to_user('YCHEAM', 'NETTING_AFF_REPORTER_ST', 1); harmony.usermgt.enrich_role_to_user('YCHEN8', 'EFS_AFF_AUTHORIZER', 1); harmony.usermgt.enrich_role_to_user('YCHO13', 'EFS_AFF_REQUESTOR', 1); harmony.usermgt.enrich_role_to_user('YCHO13', 'RCM_TRANSACTION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('YCHU2', 'TPP_AFF_AUTHORIZER', 1); harmony.usermgt.enrich_role_to_user('YCONROY', 'AMMF_AFF_REPORTER', 1); harmony.usermgt.enrich_role_to_user('YCONROY', 'BANKREPORTING', 1); harmony.usermgt.enrich_role_to_user('YCONROY', 'EFS_AFF_REQUESTOR', 1); harmony.usermgt.enrich_role_to_user('YCONROY', 'HERMES_AFF_STATEMENT_REPORTER', 1); harmony.usermgt.enrich_role_to_user('YCONROY', 'HERMES_AFF_TRANSACTION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('YCONROY', 'IHCTF_AFF_REPORTER', 1); harmony.usermgt.enrich_role_to_user('YCONROY', 'IHCTF_AFF_REQUESTOR', 1); harmony.usermgt.enrich_role_to_user('YCONROY', 'IHC_AFF_POSITION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('YCONROY', 'NETTING_AFF_REQUESTOR_ST', 1); harmony.usermgt.enrich_role_to_user('YCONROY', 'TPP_P2P_AFF_OFFER_REQUESTOR', 1); harmony.usermgt.enrich_role_to_user('YCONROY', 'TPP_P2P_AFF_REPORTER', 1); harmony.usermgt.enrich_role_to_user('YELMEZZ', 'AMMF_AFF_REPORTER', 1); harmony.usermgt.enrich_role_to_user('YELMEZZ', 'BANKREPORTING', 1); harmony.usermgt.enrich_role_to_user('YELMEZZ', 'HERMES_AFF_STATEMENT_REPORTER', 1); harmony.usermgt.enrich_role_to_user('YELMEZZ', 'HERMES_AFF_TRANSACTION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('YELMEZZ', 'IHC_AFF_POSITION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('YELMEZZ', 'NETTING_AFF_REQUESTOR_ST', 1); harmony.usermgt.enrich_role_to_user('YELMEZZ', 'RCM_TRANSACTION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('YELMEZZ', 'SUBLEDGER_CASH_POOL_REPORTS', 1); harmony.usermgt.enrich_role_to_user('YFAN11', 'BANKREPORTING', 2); harmony.usermgt.enrich_role_to_user('YFAN11', 'HERMES_AFF_STATEMENT_REPORTER', 2); harmony.usermgt.enrich_role_to_user('YFAN11', 'HERMES_AFF_TRANSACTION_REPORTER', 2); harmony.usermgt.enrich_role_to_user('YFAN11', 'IHC_AFF_POSITION_REPORTER', 2); harmony.usermgt.enrich_role_to_user('YFAN11', 'NETTING_AFF_REPORTER_ST', 2); harmony.usermgt.enrich_role_to_user('YFAN11', 'SUBLEDGER_CASH_POOL_REPORTS', 2); harmony.usermgt.enrich_role_to_user('YFAN11', 'TPP_AFF_REPORTER', 2); harmony.usermgt.enrich_role_to_user('YFARAH', 'AMMF_AFF_REPORTER', 1); harmony.usermgt.enrich_role_to_user('YFARAH', 'BANKREPORTING', 1); harmony.usermgt.enrich_role_to_user('YFARAH', 'HERMES_AFF_STATEMENT_REPORTER', 1); harmony.usermgt.enrich_role_to_user('YFARAH', 'HERMES_AFF_TRANSACTION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('YFARAH', 'IHC_AFF_POSITION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('YFARAH', 'NETTING_AFF_REQUESTOR_ST', 1); harmony.usermgt.enrich_role_to_user('YJIA', 'EFS_AFF_REQUESTOR', 1); harmony.usermgt.enrich_role_to_user('YKAWAKA2', 'EFS_AFF_AUTHORIZER', 1); harmony.usermgt.enrich_role_to_user('YKAWAKA2', 'NETTING_AFF_REPORTER_ST', 1); harmony.usermgt.enrich_role_to_user('YLEE15', 'AMMF_AFF_REPORTER', 3); harmony.usermgt.enrich_role_to_user('YLEE15', 'AMMF_AFF_REQUESTOR', 3); harmony.usermgt.enrich_role_to_user('YLEE15', 'AMMF_MANAGER', 3); harmony.usermgt.enrich_role_to_user('YLEE15', 'AMMF_REPORTER', 3); harmony.usermgt.enrich_role_to_user('YLEE15', 'APPLOG_ENDSTAMP_UPDATE', 3); harmony.usermgt.enrich_role_to_user('YLEE15', 'BAM_MANAGER', 3); harmony.usermgt.enrich_role_to_user('YLEE15', 'BAM_REPORTER', 3); harmony.usermgt.enrich_role_to_user('YLEE15', 'BANKREPORTING', 3); harmony.usermgt.enrich_role_to_user('YLEE15', 'BATCH_MT940_UPLOAD', 3); harmony.usermgt.enrich_role_to_user('YLEE15', 'BF_REPORTER', 3); harmony.usermgt.enrich_role_to_user('YLEE15', 'EFS_REPORTER', 3); harmony.usermgt.enrich_role_to_user('YLEE15', 'HB_RELEASER', 3); harmony.usermgt.enrich_role_to_user('YLEE15', 'HB_REPORTER', 3); harmony.usermgt.enrich_role_to_user('YLEE15', 'HB_REQUESTOR', 3); harmony.usermgt.enrich_role_to_user('YLEE15', 'HERMES_ACCOUNT_GROUP_REPORTER', 3); harmony.usermgt.enrich_role_to_user('YLEE15', 'HERMES_ACCOUNT_STATUS_REPORTER', 3); harmony.usermgt.enrich_role_to_user('YLEE15', 'HERMES_CASHMGT_EFFICIENCY_REP', 3); harmony.usermgt.enrich_role_to_user('YLEE15', 'HERMES_ID_TRANSACTION_REPORTER', 3); harmony.usermgt.enrich_role_to_user('YLEE15', 'HERMES_RECONCILIATION_REPORTER', 3); harmony.usermgt.enrich_role_to_user('YLEE15', 'HERMES_STATEMENT_REPORTER', 3); harmony.usermgt.enrich_role_to_user('YLEE15', 'HERMES_TRANSACTION_REPORTER', 3); harmony.usermgt.enrich_role_to_user('YLEE15', 'HERMES_VALUE_VOLUME_REPORTER', 3); harmony.usermgt.enrich_role_to_user('YLEE15', 'ICL_AFF_REPORTER', 3); harmony.usermgt.enrich_role_to_user('YLEE15', 'ICL_AFF_REQUESTOR', 3); harmony.usermgt.enrich_role_to_user('YLEE15', 'ICL_MANAGER', 3); harmony.usermgt.enrich_role_to_user('YLEE15', 'ICL_REPORTER', 3); harmony.usermgt.enrich_role_to_user('YLEE15', 'IHCTF_AFF_REPORTER', 3); harmony.usermgt.enrich_role_to_user('YLEE15', 'IHC_POSITION_REPORTER', 3); harmony.usermgt.enrich_role_to_user('YLEE15', 'MR_REPORTER', 3); harmony.usermgt.enrich_role_to_user('YLEE15', 'MR_REQUESTOR', 3); harmony.usermgt.enrich_role_to_user('YLEE15', 'NETTING_AFF_REPORTER_ST', 3); harmony.usermgt.enrich_role_to_user('YLEE15', 'NETTING_AFF_REQUESTOR_ST', 3); harmony.usermgt.enrich_role_to_user('YLEE15', 'NETTING_REPORTER', 3); harmony.usermgt.enrich_role_to_user('YLEE15', 'NETTING_REPORTER_TC', 3); harmony.usermgt.enrich_role_to_user('YLEE15', 'OO_AUTHORIZER', 3); harmony.usermgt.enrich_role_to_user('YLEE15', 'OO_REPORTER', 3); harmony.usermgt.enrich_role_to_user('YLEE15', 'OO_REQUESTOR', 3); harmony.usermgt.enrich_role_to_user('YLEE15', 'RCM_TRANSACTION_REPORTER', 3); harmony.usermgt.enrich_role_to_user('YLEE15', 'SAP_PRD_AP_FO_USER', 3); harmony.usermgt.enrich_role_to_user('YLEE15', 'SUBLEDGER_CASH_POOL_REPORTS', 3); harmony.usermgt.enrich_role_to_user('YLEE15', 'SWIFTCOM_REPORTER', 3); harmony.usermgt.enrich_role_to_user('YLEE15', 'TOPS2', 3); harmony.usermgt.enrich_role_to_user('YLEE15', 'TOPS_COUNTERPARTY_EXPOSURE', 3); harmony.usermgt.enrich_role_to_user('YLEE15', 'TPP_REPORTER', 3); harmony.usermgt.enrich_role_to_user('YLI125', 'NETTING_AFF_REPORTER_ST', 2); harmony.usermgt.enrich_role_to_user('YLINSHAF', 'BANKREPORTING', 1); harmony.usermgt.enrich_role_to_user('YLINSHAF', 'EFS_AFF_AUTHORIZER', 1); harmony.usermgt.enrich_role_to_user('YLINSHAF', 'EFS_AFF_REQUESTOR', 1); harmony.usermgt.enrich_role_to_user('YLINSHAF', 'HERMES_AFF_STATEMENT_REPORTER', 1); harmony.usermgt.enrich_role_to_user('YLINSHAF', 'HERMES_AFF_TRANSACTION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('YLINSHAF', 'NETTING_AFF_REPORTER_ST', 1); harmony.usermgt.enrich_role_to_user('YMA15', 'NETTING_AFF_REQUESTOR_ST', 2); harmony.usermgt.enrich_role_to_user('YMA15', 'SUBLEDGER_CASH_POOL_REPORTS', 2); harmony.usermgt.enrich_role_to_user('YNATH', 'EFS_AFF_AUTHORIZER', 1); harmony.usermgt.enrich_role_to_user('YNOSOVET', 'EFS_AFF_REQUESTOR', 1); harmony.usermgt.enrich_role_to_user('YOZEKI1', 'BANKREPORTING', 1); harmony.usermgt.enrich_role_to_user('YOZEKI1', 'EFS_AFF_REPORTER', 1); harmony.usermgt.enrich_role_to_user('YOZEKI1', 'HERMES_AFF_STATEMENT_REPORTER', 1); harmony.usermgt.enrich_role_to_user('YOZEKI1', 'HERMES_AFF_TRANSACTION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('YOZEKI1', 'IHC_AFF_POSITION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('YOZEKI1', 'NETTING_AFF_REPORTER_ST', 1); harmony.usermgt.enrich_role_to_user('YOZEKI1', 'RCM_TRANSACTION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('YOZEKI1', 'SUBLEDGER_CASH_POOL_REPORTS', 1); harmony.usermgt.enrich_role_to_user('YOZEKI1', 'TPP_P2P_AFF_REPORTER', 1); harmony.usermgt.enrich_role_to_user('YRAO', 'NETTING_AFF_REQUESTOR_ST', 2); harmony.usermgt.enrich_role_to_user('YRAO', 'SUBLEDGER_CASH_POOL_REPORTS', 2); harmony.usermgt.enrich_role_to_user('YROA1', 'AMMF_AFF_REPORTER', 1); harmony.usermgt.enrich_role_to_user('YROA1', 'BANKREPORTING', 1); harmony.usermgt.enrich_role_to_user('YROA1', 'EFS_AFF_AUTHORIZER', 1); harmony.usermgt.enrich_role_to_user('YROA1', 'EFS_AFF_REQUESTOR', 1); harmony.usermgt.enrich_role_to_user('YROA1', 'HERMES_AFF_STATEMENT_REPORTER', 1); harmony.usermgt.enrich_role_to_user('YROA1', 'HERMES_AFF_TRANSACTION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('YROA1', 'ICL_AFF_REPORTER', 1); harmony.usermgt.enrich_role_to_user('YROA1', 'ICL_AFF_REQUESTOR', 1); harmony.usermgt.enrich_role_to_user('YROA1', 'NETTING_AFF_REPORTER_ST', 1); harmony.usermgt.enrich_role_to_user('YROA1', 'NETTING_AFF_REQUESTOR_ST', 1); harmony.usermgt.enrich_role_to_user('YROEX', 'BANKREPORTING', 1); harmony.usermgt.enrich_role_to_user('YROEX', 'HERMES_AFF_STATEMENT_REPORTER', 1); harmony.usermgt.enrich_role_to_user('YROEX', 'HERMES_AFF_TRANSACTION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('YROEX', 'IHC_AFF_POSITION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('YROEX', 'NETTING_AFF_REPORTER_ST', 1); harmony.usermgt.enrich_role_to_user('YROEX', 'RCM_TRANSACTION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('YROEX', 'TPP_P2P_AFF_REPORTER', 1); harmony.usermgt.enrich_role_to_user('YROSIANO', 'AMMF_AFF_REQUESTOR', 3); harmony.usermgt.enrich_role_to_user('YROSIANO', 'AMMF_REPORTER', 3); harmony.usermgt.enrich_role_to_user('YROSIANO', 'BAM_MANAGER', 3); harmony.usermgt.enrich_role_to_user('YROSIANO', 'BAM_REPORTER', 3); harmony.usermgt.enrich_role_to_user('YROSIANO', 'BANKREPORTING', 3); harmony.usermgt.enrich_role_to_user('YROSIANO', 'BF_REPORTER', 3); harmony.usermgt.enrich_role_to_user('YROSIANO', 'HB_RELEASER', 3); harmony.usermgt.enrich_role_to_user('YROSIANO', 'HB_REPORTER', 3); harmony.usermgt.enrich_role_to_user('YROSIANO', 'HB_REQUESTOR', 3); harmony.usermgt.enrich_role_to_user('YROSIANO', 'HERMES_ACCOUNT_GROUP_REPORTER', 3); harmony.usermgt.enrich_role_to_user('YROSIANO', 'HERMES_ACCOUNT_STATUS_REPORTER', 3); harmony.usermgt.enrich_role_to_user('YROSIANO', 'HERMES_CASHMGT_EFFICIENCY_REP', 3); harmony.usermgt.enrich_role_to_user('YROSIANO', 'HERMES_RECONCILIATION_REPORTER', 3); harmony.usermgt.enrich_role_to_user('YROSIANO', 'HERMES_STATEMENT_REPORTER', 3); harmony.usermgt.enrich_role_to_user('YROSIANO', 'HERMES_TRANSACTION_REPORTER', 3); harmony.usermgt.enrich_role_to_user('YROSIANO', 'HERMES_VALUE_VOLUME_REPORTER', 3); harmony.usermgt.enrich_role_to_user('YROSIANO', 'ICL_AFF_REQUESTOR', 3); harmony.usermgt.enrich_role_to_user('YROSIANO', 'ICL_REPORTER', 3); harmony.usermgt.enrich_role_to_user('YROSIANO', 'MR_REPORTER', 3); harmony.usermgt.enrich_role_to_user('YROSIANO', 'MR_REQUESTOR', 3); harmony.usermgt.enrich_role_to_user('YROSIANO', 'OO_AUTHORIZER', 3); harmony.usermgt.enrich_role_to_user('YROSIANO', 'OO_REPORTER', 3); harmony.usermgt.enrich_role_to_user('YROSIANO', 'OO_REQUESTOR', 3); harmony.usermgt.enrich_role_to_user('YROSIANO', 'RCM_TRANSACTION_REPORTER', 3); harmony.usermgt.enrich_role_to_user('YROSIANO', 'SAP_PRD_LA_FO_USER', 3); harmony.usermgt.enrich_role_to_user('YROSIANO', 'SUBLEDGER_CASH_POOL_REPORTS', 3); harmony.usermgt.enrich_role_to_user('YROSIANO', 'SWIFTCOM_REPORTER', 3); harmony.usermgt.enrich_role_to_user('YROSIANO', 'TOPS2', 3); harmony.usermgt.enrich_role_to_user('YROSIANO', 'TOPS_COUNTERPARTY_EXPOSURE', 3); harmony.usermgt.enrich_role_to_user('YSAULNIE', 'IHC_AFF_POSITION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('YSAULNIE', 'SUBLEDGER_CASH_POOL_REPORTS', 1); harmony.usermgt.enrich_role_to_user('YSAULNIE', 'TPP_AFF_REQUESTOR', 1); harmony.usermgt.enrich_role_to_user('YSAULNIE', 'TPP_P2P_AFF_OFFER_REQUESTOR', 1); harmony.usermgt.enrich_role_to_user('YSHEN11', 'EFS_AFF_AUTHORIZER', 1); harmony.usermgt.enrich_role_to_user('YSONG19', 'EFS_AFF_REQUESTOR', 1); harmony.usermgt.enrich_role_to_user('YSTANLEY', 'EFS_AFF_REQUESTOR', 1); harmony.usermgt.enrich_role_to_user('YSU3', 'ASP2PIRE1_SSC_MANAGER', 2); harmony.usermgt.enrich_role_to_user('YSU3', 'ASP2PIRE2_SSC_MANAGER', 2); harmony.usermgt.enrich_role_to_user('YSU3', 'BANKREPORTING', 2); harmony.usermgt.enrich_role_to_user('YSU3', 'HERMES_AFF_STATEMENT_REPORTER', 2); harmony.usermgt.enrich_role_to_user('YSU3', 'HERMES_AFF_TRANSACTION_REPORTER', 2); harmony.usermgt.enrich_role_to_user('YSU3', 'IHC_AFF_POSITION_REPORTER', 2); harmony.usermgt.enrich_role_to_user('YSU3', 'NETTING_AFF_REPORTER_ST', 2); harmony.usermgt.enrich_role_to_user('YSU3', 'SUBLEDGER_CASH_POOL_REPORTS', 2); harmony.usermgt.enrich_role_to_user('YSU3', 'TPP_AFF_REPORTER', 2); harmony.usermgt.enrich_role_to_user('YSU3', 'TPP_AFF_REQUESTOR', 2); harmony.usermgt.enrich_role_to_user('YSU3', 'TPP_P2P_AFF_REPORTER', 2); harmony.usermgt.enrich_role_to_user('YSUHERMA', 'AMMF_AFF_REQUESTOR', 3); harmony.usermgt.enrich_role_to_user('YSUHERMA', 'AMMF_MANAGER', 3); harmony.usermgt.enrich_role_to_user('YSUHERMA', 'AMMF_REPORTER', 3); harmony.usermgt.enrich_role_to_user('YSUHERMA', 'APPLOG_ENDSTAMP_UPDATE', 3); harmony.usermgt.enrich_role_to_user('YSUHERMA', 'BAM_MANAGER', 3); harmony.usermgt.enrich_role_to_user('YSUHERMA', 'BAM_REPORTER', 3); harmony.usermgt.enrich_role_to_user('YSUHERMA', 'BANKREPORTING', 3); harmony.usermgt.enrich_role_to_user('YSUHERMA', 'BATCH_MT940_UPLOAD', 3); harmony.usermgt.enrich_role_to_user('YSUHERMA', 'EFS_REPORTER', 3); harmony.usermgt.enrich_role_to_user('YSUHERMA', 'HB_RELEASER', 3); harmony.usermgt.enrich_role_to_user('YSUHERMA', 'HB_REPORTER', 3); harmony.usermgt.enrich_role_to_user('YSUHERMA', 'HB_REQUESTOR', 3); harmony.usermgt.enrich_role_to_user('YSUHERMA', 'HERMES_ACCOUNT_GROUP_REPORTER', 3); harmony.usermgt.enrich_role_to_user('YSUHERMA', 'HERMES_ACCOUNT_STATUS_REPORTER', 3); harmony.usermgt.enrich_role_to_user('YSUHERMA', 'HERMES_CASHMGT_EFFICIENCY_REP', 3); harmony.usermgt.enrich_role_to_user('YSUHERMA', 'HERMES_ID_TRANSACTION_REPORTER', 3); harmony.usermgt.enrich_role_to_user('YSUHERMA', 'HERMES_RECONCILIATION_REPORTER', 3); harmony.usermgt.enrich_role_to_user('YSUHERMA', 'HERMES_STATEMENT_REPORTER', 3); harmony.usermgt.enrich_role_to_user('YSUHERMA', 'HERMES_TRANSACTION_REPORTER', 3); harmony.usermgt.enrich_role_to_user('YSUHERMA', 'HERMES_VALUE_VOLUME_REPORTER', 3); harmony.usermgt.enrich_role_to_user('YSUHERMA', 'ICL_AFF_REQUESTOR', 3); harmony.usermgt.enrich_role_to_user('YSUHERMA', 'ICL_MANAGER', 3); harmony.usermgt.enrich_role_to_user('YSUHERMA', 'ICL_REPORTER', 3); harmony.usermgt.enrich_role_to_user('YSUHERMA', 'IHCTF_AFF_REPORTER', 3); harmony.usermgt.enrich_role_to_user('YSUHERMA', 'IHC_POSITION_REPORTER', 3); harmony.usermgt.enrich_role_to_user('YSUHERMA', 'MR_REPORTER', 3); harmony.usermgt.enrich_role_to_user('YSUHERMA', 'MR_REQUESTOR', 3); harmony.usermgt.enrich_role_to_user('YSUHERMA', 'NETTING_AFF_REPORTER_ST', 3); harmony.usermgt.enrich_role_to_user('YSUHERMA', 'NETTING_AFF_REQUESTOR_ST', 3); harmony.usermgt.enrich_role_to_user('YSUHERMA', 'NETTING_REPORTER', 3); harmony.usermgt.enrich_role_to_user('YSUHERMA', 'NETTING_REPORTER_TC', 3); harmony.usermgt.enrich_role_to_user('YSUHERMA', 'OO_AUTHORIZER', 3); harmony.usermgt.enrich_role_to_user('YSUHERMA', 'OO_REPORTER', 3); harmony.usermgt.enrich_role_to_user('YSUHERMA', 'OO_REQUESTOR', 3); harmony.usermgt.enrich_role_to_user('YSUHERMA', 'RCM_TRANSACTION_REPORTER', 3); harmony.usermgt.enrich_role_to_user('YSUHERMA', 'SAP_PRD_AP_FO_USER', 3); harmony.usermgt.enrich_role_to_user('YSUHERMA', 'SUBLEDGER_CASH_POOL_REPORTS', 3); harmony.usermgt.enrich_role_to_user('YSUHERMA', 'SWIFTCOM_REPORTER', 3); harmony.usermgt.enrich_role_to_user('YSUHERMA', 'TOPS2', 3); harmony.usermgt.enrich_role_to_user('YSUHERMA', 'TOPS_COUNTERPARTY_EXPOSURE', 3); harmony.usermgt.enrich_role_to_user('YSUHERMA', 'TPP_REPORTER', 3); harmony.usermgt.enrich_role_to_user('YSUN24', 'NETTING_AFF_REPORTER_ST', 1); harmony.usermgt.enrich_role_to_user('YTCHASOV', 'NETTING_AFF_REQUESTOR_ST', 1); harmony.usermgt.enrich_role_to_user('YUEDA3', 'BANKREPORTING', 1); harmony.usermgt.enrich_role_to_user('YUEDA3', 'BF_AFF_REPORTER', 1); harmony.usermgt.enrich_role_to_user('YUEDA3', 'HERMES_AFF_STATEMENT_REPORTER', 1); harmony.usermgt.enrich_role_to_user('YUEDA3', 'HERMES_AFF_TRANSACTION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('YUEDA3', 'IHC_AFF_POSITION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('YUEDA3', 'RCM_TRANSACTION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('YUEDA3', 'SUBLEDGER_CASH_POOL_REPORTS', 1); harmony.usermgt.enrich_role_to_user('YVELAZQU', 'EFS_AFF_REQUESTOR', 1); harmony.usermgt.enrich_role_to_user('YVELAZQU', 'NETTING_AFF_REQUESTOR_ST', 1); harmony.usermgt.enrich_role_to_user('YWANG132', 'NETTING_AFF_REQUESTOR_ST', 2); harmony.usermgt.enrich_role_to_user('YWANG132', 'SUBLEDGER_CASH_POOL_REPORTS', 2); harmony.usermgt.enrich_role_to_user('YWANG51', 'EFS_AFF_AUTHORIZER', 1); harmony.usermgt.enrich_role_to_user('YWANG51', 'SUBLEDGER_CASH_POOL_REPORTS', 1); harmony.usermgt.enrich_role_to_user('YXIE24', 'EFS_AFF_AUTHORIZER', 1); harmony.usermgt.enrich_role_to_user('YYAMAGI1', 'BANKREPORTING', 1); harmony.usermgt.enrich_role_to_user('YYAMAGI1', 'HERMES_AFF_STATEMENT_REPORTER', 1); harmony.usermgt.enrich_role_to_user('YYAMAGI1', 'HERMES_AFF_TRANSACTION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('YYAMAGI1', 'ICL_AFF_REPORTER', 1); harmony.usermgt.enrich_role_to_user('YYAMAGI1', 'ICL_AFF_REQUESTOR', 1); harmony.usermgt.enrich_role_to_user('YYAMAGI1', 'IHC_AFF_POSITION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('YYAMAGI1', 'NETTING_AFF_REQUESTOR_ST', 1); harmony.usermgt.enrich_role_to_user('YYAMAGI1', 'RCM_TRANSACTION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('YYAMAGI1', 'SUBLEDGER_CASH_POOL_REPORTS', 1); harmony.usermgt.enrich_role_to_user('YYAMAGI1', 'TPP_P2P_AFF_REPORTER', 1); harmony.usermgt.enrich_role_to_user('ZATAJAR', 'BANKREPORTING', 1); harmony.usermgt.enrich_role_to_user('ZATAJAR', 'HERMES_AFF_STATEMENT_REPORTER', 1); harmony.usermgt.enrich_role_to_user('ZATAJAR', 'HERMES_AFF_TRANSACTION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('ZATAJAR', 'TPP_AFF_REQUESTOR', 1); harmony.usermgt.enrich_role_to_user('ZCHIA', 'AMMF_AFF_REPORTER', 3); harmony.usermgt.enrich_role_to_user('ZCHIA', 'AMMF_AFF_REQUESTOR', 3); harmony.usermgt.enrich_role_to_user('ZCHIA', 'AMMF_MANAGER', 3); harmony.usermgt.enrich_role_to_user('ZCHIA', 'AMMF_REPORTER', 3); harmony.usermgt.enrich_role_to_user('ZCHIA', 'APPLOG_ENDSTAMP_UPDATE', 3); harmony.usermgt.enrich_role_to_user('ZCHIA', 'BAM_MANAGER', 3); harmony.usermgt.enrich_role_to_user('ZCHIA', 'BAM_REPORTER', 3); harmony.usermgt.enrich_role_to_user('ZCHIA', 'BANKREPORTING', 3); harmony.usermgt.enrich_role_to_user('ZCHIA', 'BATCH_MT940_UPLOAD', 3); harmony.usermgt.enrich_role_to_user('ZCHIA', 'BF_REPORTER', 3); harmony.usermgt.enrich_role_to_user('ZCHIA', 'EFS_REPORTER', 3); harmony.usermgt.enrich_role_to_user('ZCHIA', 'HB_RELEASER', 3); harmony.usermgt.enrich_role_to_user('ZCHIA', 'HB_REPORTER', 3); harmony.usermgt.enrich_role_to_user('ZCHIA', 'HB_REQUESTOR', 3); harmony.usermgt.enrich_role_to_user('ZCHIA', 'HERMES_ACCOUNT_GROUP_REPORTER', 3); harmony.usermgt.enrich_role_to_user('ZCHIA', 'HERMES_ACCOUNT_STATUS_REPORTER', 3); harmony.usermgt.enrich_role_to_user('ZCHIA', 'HERMES_CASHMGT_EFFICIENCY_REP', 3); harmony.usermgt.enrich_role_to_user('ZCHIA', 'HERMES_ID_TRANSACTION_REPORTER', 3); harmony.usermgt.enrich_role_to_user('ZCHIA', 'HERMES_RECONCILIATION_REPORTER', 3); harmony.usermgt.enrich_role_to_user('ZCHIA', 'HERMES_STATEMENT_REPORTER', 3); harmony.usermgt.enrich_role_to_user('ZCHIA', 'HERMES_TRANSACTION_REPORTER', 3); harmony.usermgt.enrich_role_to_user('ZCHIA', 'HERMES_VALUE_VOLUME_REPORTER', 3); harmony.usermgt.enrich_role_to_user('ZCHIA', 'ICL_AFF_REPORTER', 3); harmony.usermgt.enrich_role_to_user('ZCHIA', 'ICL_AFF_REQUESTOR', 3); harmony.usermgt.enrich_role_to_user('ZCHIA', 'ICL_MANAGER', 3); harmony.usermgt.enrich_role_to_user('ZCHIA', 'ICL_REPORTER', 3); harmony.usermgt.enrich_role_to_user('ZCHIA', 'IHCTF_AFF_REPORTER', 3); harmony.usermgt.enrich_role_to_user('ZCHIA', 'IHC_POSITION_REPORTER', 3); harmony.usermgt.enrich_role_to_user('ZCHIA', 'MR_REPORTER', 3); harmony.usermgt.enrich_role_to_user('ZCHIA', 'MR_REQUESTOR', 3); harmony.usermgt.enrich_role_to_user('ZCHIA', 'NETTING_AFF_REPORTER_ST', 3); harmony.usermgt.enrich_role_to_user('ZCHIA', 'NETTING_AFF_REQUESTOR_ST', 3); harmony.usermgt.enrich_role_to_user('ZCHIA', 'NETTING_REPORTER', 3); harmony.usermgt.enrich_role_to_user('ZCHIA', 'NETTING_REPORTER_TC', 3); harmony.usermgt.enrich_role_to_user('ZCHIA', 'OO_AUTHORIZER', 3); harmony.usermgt.enrich_role_to_user('ZCHIA', 'OO_REPORTER', 3); harmony.usermgt.enrich_role_to_user('ZCHIA', 'OO_REQUESTOR', 3); harmony.usermgt.enrich_role_to_user('ZCHIA', 'RCM_TRANSACTION_REPORTER', 3); harmony.usermgt.enrich_role_to_user('ZCHIA', 'SAP_PRD_AP_FO_USER', 3); harmony.usermgt.enrich_role_to_user('ZCHIA', 'SUBLEDGER_CASH_POOL_REPORTS', 3); harmony.usermgt.enrich_role_to_user('ZCHIA', 'SWIFTCOM_REPORTER', 3); harmony.usermgt.enrich_role_to_user('ZCHIA', 'TOPS2', 3); harmony.usermgt.enrich_role_to_user('ZCHIA', 'TOPS_COUNTERPARTY_EXPOSURE', 3); harmony.usermgt.enrich_role_to_user('ZCHIA', 'TPP_REPORTER', 3); harmony.usermgt.enrich_role_to_user('ZFOSTER1', 'EFS_AFF_REQUESTOR', 1); harmony.usermgt.enrich_role_to_user('ZGENG', 'AMMF_AFF_REPORTER', 2); harmony.usermgt.enrich_role_to_user('ZGENG', 'BANKREPORTING', 2); harmony.usermgt.enrich_role_to_user('ZGENG', 'EFS_AFF_REPORTER', 2); harmony.usermgt.enrich_role_to_user('ZGENG', 'HERMES_AFF_STATEMENT_REPORTER', 2); harmony.usermgt.enrich_role_to_user('ZGENG', 'HERMES_AFF_TRANSACTION_REPORTER', 2); harmony.usermgt.enrich_role_to_user('ZGENG', 'IHC_AFF_POSITION_REPORTER', 2); harmony.usermgt.enrich_role_to_user('ZGENG', 'NETTING_AFF_REPORTER_ST', 2); harmony.usermgt.enrich_role_to_user('ZGENG', 'NETTING_AFF_REQUESTOR_ST', 2); harmony.usermgt.enrich_role_to_user('ZGENG', 'SUBLEDGER_CASH_POOL_REPORTS', 2); harmony.usermgt.enrich_role_to_user('ZGENG', 'TPP_AFF_REPORTER', 2); harmony.usermgt.enrich_role_to_user('ZGENG', 'TPP_P2P_AFF_REPORTER', 2); harmony.usermgt.enrich_role_to_user('ZGRUBER', 'AMMF_AFF_REPORTER', 1); harmony.usermgt.enrich_role_to_user('ZGRUBER', 'BANKREPORTING', 1); harmony.usermgt.enrich_role_to_user('ZGRUBER', 'HERMES_AFF_STATEMENT_REPORTER', 1); harmony.usermgt.enrich_role_to_user('ZGRUBER', 'HERMES_AFF_TRANSACTION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('ZGRUBER', 'ICL_AFF_REPORTER', 1); harmony.usermgt.enrich_role_to_user('ZGRUBER', 'IHC_AFF_POSITION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('ZGRUBER', 'RCM_TRANSACTION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('ZGRUBER', 'SUBLEDGER_CASH_POOL_REPORTS', 1); harmony.usermgt.enrich_role_to_user('ZGUITCHE', 'IHC_AFF_POSITION_REPORTER', 2); harmony.usermgt.enrich_role_to_user('ZGUITCHE', 'NETTING_AFF_REQUESTOR_ST', 2); harmony.usermgt.enrich_role_to_user('ZGUITCHE', 'SUBLEDGER_CASH_POOL_REPORTS', 2); harmony.usermgt.enrich_role_to_user('ZKEMPS', 'ACCESS_EDGE_REPORTER_EMEA', 3); harmony.usermgt.enrich_role_to_user('ZKEMPS', 'ACCESS_EDGE_REPORTER_US', 3); harmony.usermgt.enrich_role_to_user('ZKEMPS', 'ACCESS_EDGE_SECURITY_ADMINISTRATOR_EMEA', 3); harmony.usermgt.enrich_role_to_user('ZKEMPS', 'ACCESS_EDGE_SECURITY_ADMINISTRATOR_US', 3); harmony.usermgt.enrich_role_to_user('ZKEMPS', 'AFRAX_APPROVER_L-DRIVE', 3); harmony.usermgt.enrich_role_to_user('ZKEMPS', 'AFRAX_APPROVER_SAP_RPS_200', 3); harmony.usermgt.enrich_role_to_user('ZKEMPS', 'AGENT_BANKDIR_BO_USER', 3); harmony.usermgt.enrich_role_to_user('ZKEMPS', 'AMMF_AFF_REPORTER', 3); harmony.usermgt.enrich_role_to_user('ZKEMPS', 'AMMF_REPORTER', 3); harmony.usermgt.enrich_role_to_user('ZKEMPS', 'APPLOG_ENDSTAMP_UPDATE', 3); harmony.usermgt.enrich_role_to_user('ZKEMPS', 'APPLOG_REPORTER', 3); harmony.usermgt.enrich_role_to_user('ZKEMPS', 'BAM_REPORTER', 3); harmony.usermgt.enrich_role_to_user('ZKEMPS', 'BANKREPORTING', 3); harmony.usermgt.enrich_role_to_user('ZKEMPS', 'BATCH_MT940_UPLOAD', 3); harmony.usermgt.enrich_role_to_user('ZKEMPS', 'BATCH_PAYMENT_PROCESSING', 3); harmony.usermgt.enrich_role_to_user('ZKEMPS', 'BF_AUTHORIZER', 3); harmony.usermgt.enrich_role_to_user('ZKEMPS', 'BF_REPORTER', 3); harmony.usermgt.enrich_role_to_user('ZKEMPS', 'BF_REQUESTOR', 3); harmony.usermgt.enrich_role_to_user('ZKEMPS', 'CITIDIRECT_USER_MANAGER', 3); harmony.usermgt.enrich_role_to_user('ZKEMPS', 'COMMONS_BO_USER', 3); harmony.usermgt.enrich_role_to_user('ZKEMPS', 'CURRENEX_BO_USER', 3); harmony.usermgt.enrich_role_to_user('ZKEMPS', 'DLINK_BO_SUPERVISOR', 3); harmony.usermgt.enrich_role_to_user('ZKEMPS', 'DLINK_BO_USER', 3); harmony.usermgt.enrich_role_to_user('ZKEMPS', 'DLINK_REPORTER', 3); harmony.usermgt.enrich_role_to_user('ZKEMPS', 'E-ICD_POWER_USER', 3); harmony.usermgt.enrich_role_to_user('ZKEMPS', 'ECP_APPROVER', 3); harmony.usermgt.enrich_role_to_user('ZKEMPS', 'EFS_BO_USER', 3); harmony.usermgt.enrich_role_to_user('ZKEMPS', 'FM_RULES_REQUESTOR', 3); harmony.usermgt.enrich_role_to_user('ZKEMPS', 'GXRS_BO_USER', 3); harmony.usermgt.enrich_role_to_user('ZKEMPS', 'HARMONY_STATIC_DATA_MANAGER', 3); harmony.usermgt.enrich_role_to_user('ZKEMPS', 'HARMONY_TSGAM', 3); harmony.usermgt.enrich_role_to_user('ZKEMPS', 'HARMONY_TSGRM', 3); harmony.usermgt.enrich_role_to_user('ZKEMPS', 'HB_COMBINATION_REQUESTOR', 3); harmony.usermgt.enrich_role_to_user('ZKEMPS', 'HB_COMBI_REQUESTOR', 3); harmony.usermgt.enrich_role_to_user('ZKEMPS', 'HB_REPORTER', 3); harmony.usermgt.enrich_role_to_user('ZKEMPS', 'HERMES_ACCOUNT_GROUP_REPORTER', 3); harmony.usermgt.enrich_role_to_user('ZKEMPS', 'HERMES_ACCOUNT_STATUS_REPORTER', 3); harmony.usermgt.enrich_role_to_user('ZKEMPS', 'HERMES_CASHMGT_EFFICIENCY_REP', 3); harmony.usermgt.enrich_role_to_user('ZKEMPS', 'HERMES_ID_TRANSACTION_REPORTER', 3); harmony.usermgt.enrich_role_to_user('ZKEMPS', 'HERMES_RECONCILIATION_REPORTER', 3); harmony.usermgt.enrich_role_to_user('ZKEMPS', 'HERMES_STATEMENT_REPORTER', 3); harmony.usermgt.enrich_role_to_user('ZKEMPS', 'HERMES_TRANSACTION_REPORTER', 3); harmony.usermgt.enrich_role_to_user('ZKEMPS', 'HERMES_VALUE_VOLUME_REPORTER', 3); harmony.usermgt.enrich_role_to_user('ZKEMPS', 'ICL_REPORTER', 3); harmony.usermgt.enrich_role_to_user('ZKEMPS', 'IHCTF_AFF_REPORTER', 3); harmony.usermgt.enrich_role_to_user('ZKEMPS', 'IHCTF_AFF_REQUESTOR', 3); harmony.usermgt.enrich_role_to_user('ZKEMPS', 'IHC_POSITION_REPORTER', 3); harmony.usermgt.enrich_role_to_user('ZKEMPS', 'JPMORGAN_AUTHORIZER', 3); harmony.usermgt.enrich_role_to_user('ZKEMPS', 'L-DRIVE_TSG_USER', 3); harmony.usermgt.enrich_role_to_user('ZKEMPS', 'MISYS_SUPERVISOR', 3); harmony.usermgt.enrich_role_to_user('ZKEMPS', 'NETTING_AFF_REPORTER_ST', 3); harmony.usermgt.enrich_role_to_user('ZKEMPS', 'NETTING_BO_SUPERVISOR', 3); harmony.usermgt.enrich_role_to_user('ZKEMPS', 'NETTING_BO_USER', 3); harmony.usermgt.enrich_role_to_user('ZKEMPS', 'NETTING_REPORTER_TC', 3); harmony.usermgt.enrich_role_to_user('ZKEMPS', 'OO_RELEASER', 3); harmony.usermgt.enrich_role_to_user('ZKEMPS', 'OO_REPORTER', 3); harmony.usermgt.enrich_role_to_user('ZKEMPS', 'P2P_BO_USER', 3); harmony.usermgt.enrich_role_to_user('ZKEMPS', 'RCM_TRANSACTION_REPORTER', 3); harmony.usermgt.enrich_role_to_user('ZKEMPS', 'SAA_BO_KEY_USER', 3); harmony.usermgt.enrich_role_to_user('ZKEMPS', 'SAP_PRD_TSG_USER', 3); harmony.usermgt.enrich_role_to_user('ZKEMPS', 'SUNGARD_BO_USER', 3); harmony.usermgt.enrich_role_to_user('ZKEMPS', 'SWIFTCOM_RELEASER', 3); harmony.usermgt.enrich_role_to_user('ZKEMPS', 'SWIFTCOM_REPORTER', 3); harmony.usermgt.enrich_role_to_user('ZKEMPS', 'SWIFTCOM_STATIC_DATA_MANAGER', 3); harmony.usermgt.enrich_role_to_user('ZKEMPS', 'SWIFTREF_KEY_USER', 3); harmony.usermgt.enrich_role_to_user('ZKEMPS', 'TOPS2', 3); harmony.usermgt.enrich_role_to_user('ZKEMPS', 'TOPS_BO_USER', 3); harmony.usermgt.enrich_role_to_user('ZKEMPS', 'TPP_BO_USER', 3); harmony.usermgt.enrich_role_to_user('ZKEMPS', 'TRAX_BO_USER', 3); harmony.usermgt.enrich_role_to_user('ZKEMPS', 'UME_REPORTER', 3); harmony.usermgt.enrich_role_to_user('ZKOTLER', 'BANKREPORTING', 1); harmony.usermgt.enrich_role_to_user('ZKOTLER', 'HERMES_AFF_STATEMENT_REPORTER', 1); harmony.usermgt.enrich_role_to_user('ZKOTLER', 'HERMES_AFF_TRANSACTION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('ZKOTLER', 'ICL_AFF_REQUESTOR', 1); harmony.usermgt.enrich_role_to_user('ZKOTLER', 'NETTING_AFF_REQUESTOR_ST', 1); harmony.usermgt.enrich_role_to_user('ZKOULER1', 'EFS_AFF_AUTHORIZER', 1); harmony.usermgt.enrich_role_to_user('ZKOULER1', 'EFS_AFF_REPORTER', 1); harmony.usermgt.enrich_role_to_user('ZKOULER1', 'NETTING_AFF_REPORTER_ST', 1); harmony.usermgt.enrich_role_to_user('ZLI11', 'EFS_AFF_REQUESTOR', 2); harmony.usermgt.enrich_role_to_user('ZLI11', 'NETTING_AFF_REPORTER_ST', 2); harmony.usermgt.enrich_role_to_user('ZPATIK', 'AMMF_AFF_REPORTER', 1); harmony.usermgt.enrich_role_to_user('ZPATIK', 'AMMF_AFF_REQUESTOR', 1); harmony.usermgt.enrich_role_to_user('ZPATIK', 'EFS_AFF_AUTHORIZER', 1); harmony.usermgt.enrich_role_to_user('ZPATIK', 'NETTING_AFF_REPORTER_ST', 1); harmony.usermgt.enrich_role_to_user('ZPENG2', 'NETTING_AFF_REPORTER_ST', 2); harmony.usermgt.enrich_role_to_user('ZSISPELO', 'AMMF_AFF_REPORTER', 1); harmony.usermgt.enrich_role_to_user('ZSISPELO', 'BANKREPORTING', 1); harmony.usermgt.enrich_role_to_user('ZSISPELO', 'HERMES_AFF_STATEMENT_REPORTER', 1); harmony.usermgt.enrich_role_to_user('ZSISPELO', 'HERMES_AFF_TRANSACTION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('ZSISPELO', 'ICL_AFF_REPORTER', 1); harmony.usermgt.enrich_role_to_user('ZSISPELO', 'IHC_AFF_POSITION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('ZSISPELO', 'RCM_TRANSACTION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('ZSISPELO', 'SUBLEDGER_CASH_POOL_REPORTS', 1); harmony.usermgt.enrich_role_to_user('ZTIOUTRI', 'NETTING_AFF_REQUESTOR_ST', 1); harmony.usermgt.enrich_role_to_user('ZTRANGOS', 'AMMF_AFF_REPORTER', 1); harmony.usermgt.enrich_role_to_user('ZTRANGOS', 'BANKREPORTING', 1); harmony.usermgt.enrich_role_to_user('ZTRANGOS', 'HERMES_AFF_STATEMENT_REPORTER', 1); harmony.usermgt.enrich_role_to_user('ZTRANGOS', 'HERMES_AFF_TRANSACTION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('ZTRANGOS', 'ICL_AFF_REPORTER', 1); harmony.usermgt.enrich_role_to_user('ZTRANGOS', 'ICL_AFF_REQUESTOR', 1); harmony.usermgt.enrich_role_to_user('ZTRANGOS', 'IHC_AFF_POSITION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('ZTRANGOS', 'NETTING_AFF_REPORTER_ST', 1); harmony.usermgt.enrich_role_to_user('ZTRANGOS', 'NETTING_AFF_REQUESTOR_ST', 1); harmony.usermgt.enrich_role_to_user('ZTRANGOS', 'RCM_TRANSACTION_REPORTER', 1); harmony.usermgt.enrich_role_to_user('ZTRANGOS', 'SUBLEDGER_CASH_POOL_REPORTS', 1); harmony.usermgt.enrich_role_to_user('ZTRANGOS', 'TPP_P2P_AFF_REPORTER', 1); commit; exception when others then rollback; raise; end; /