
use FastMoneyPro_Remit
--select * from  API_BANK_LIST_MASTER where SUPPORT_CURRENCY = 'AED' and MASTER_BANK_ID = '1365'

select * from API_BANK_LIST where bank_id = 2693


INSERT INTO API_BANK_LIST_MASTER(BANK_COUNTRY,SUPPORT_CURRENCY, IS_ACTIVE, PAYMENT_TYPE_ID, BANK_NAME) VALUES 
('UNITED ARAB EMIRATES','AED',1,2,'ABU DHABI COMMERCIAL BANK'),
('UNITED ARAB EMIRATES','AED',1,2,'ABU DHABI ISLAMIC BANK'),
('UNITED ARAB EMIRATES','AED',1,2,'AGRICULTURAL BANK OF CHINA'),
('UNITED ARAB EMIRATES','AED',1,2,'AJMAN BANK'),
('UNITED ARAB EMIRATES','AED',1,2,'AL AHLI BANK OF KUWAIT K.S.C.'),
('UNITED ARAB EMIRATES','AED',1,2,'AL HILAL BANK'),
('UNITED ARAB EMIRATES','AED',1,2,'AL KHALIJI FRANCE S.A.'),
('UNITED ARAB EMIRATES','AED',1,2,'AL MASRAF'),
('UNITED ARAB EMIRATES','AED',1,2,'ARAB AFRICAN INTERNATIONAL BANK'),
('UNITED ARAB EMIRATES','AED',1,2,'ARAB BANK'),
('UNITED ARAB EMIRATES','AED',1,2,'BANK ALFALAH LIMITED'),
('UNITED ARAB EMIRATES','AED',1,2,'BANK MELLI IRAN'),
('UNITED ARAB EMIRATES','AED',1,2,'BANK OF BARODA'),
('UNITED ARAB EMIRATES','AED',1,2,'BANK OF CHINA'),
('UNITED ARAB EMIRATES','AED',1,2,'BANK OF SHARJAH'),
('UNITED ARAB EMIRATES','AED',1,2,'BANK SADERAT IRAN'),
('UNITED ARAB EMIRATES','AED',1,2,'BANQUE MISR'),
('UNITED ARAB EMIRATES','AED',1,2,'BARCLAYS BANK'),
('UNITED ARAB EMIRATES','AED',1,2,'BLOM BANK FRANCE'),
('UNITED ARAB EMIRATES','AED',1,2,'BNP PARIBAS'),
('UNITED ARAB EMIRATES','AED',1,2,'BOK INTERNATIONAL BANK'),
('UNITED ARAB EMIRATES','AED',1,2,'CITIBANK NA'),
('UNITED ARAB EMIRATES','AED',1,2,'COMMERCIAL BANK INTERNATIONAL PSC'),
('UNITED ARAB EMIRATES','AED',1,2,'COMMERCIAL BANK OF DUBAI'),
('UNITED ARAB EMIRATES','AED',1,2,'CREDIT AGRICOLE CORPORATE AND INVESTMENT BANK'),
('UNITED ARAB EMIRATES','AED',1,2,'DEUTSCHE BANK'),
('UNITED ARAB EMIRATES','AED',1,2,'DOHA BANK'),
('UNITED ARAB EMIRATES','AED',1,2,'DUBAI ISLAMIC BANK'),
('UNITED ARAB EMIRATES','AED',1,2,'EL NILEIN BANK'),
('UNITED ARAB EMIRATES','AED',1,2,'EMIRATES INVESTMENT BANK'),
('UNITED ARAB EMIRATES','AED',1,2,'EMIRATES ISLAMIC BANK PJSC'),
('UNITED ARAB EMIRATES','AED',1,2,'EMIRATESNBD BANK PJSC'),
('UNITED ARAB EMIRATES','AED',1,2,'FIRST ABU DHABI BANK - ERSTWHILE FGB'),
('UNITED ARAB EMIRATES','AED',1,2,'GULF INTERNATIONAL BANK B.S.C. '),
('UNITED ARAB EMIRATES','AED',1,2,'HABIB BANK AG ZURICH'),
('UNITED ARAB EMIRATES','AED',1,2,'HABIB BANK LIMITED'),
('UNITED ARAB EMIRATES','AED',1,2,'HSBC BANK MIDDLE EAST'),
('UNITED ARAB EMIRATES','AED',1,2,'INDUSTRIAL AND COMMERCIAL BANK OF CHINA'),
('UNITED ARAB EMIRATES','AED',1,2,'INTESA SANPAOLO'),
('UNITED ARAB EMIRATES','AED',1,2,'INVESTBANK PSC'),
('UNITED ARAB EMIRATES','AED',1,2,'JANATA BANK'),
('UNITED ARAB EMIRATES','AED',1,2,'KEB HANA BANK'),
('UNITED ARAB EMIRATES','AED',1,2,'MASHREQBANK'),
('UNITED ARAB EMIRATES','AED',1,2,'MCB BANK LIMITED'),
('UNITED ARAB EMIRATES','AED',1,2,'NATIONAL BANK OF BAHRAIN'),
('UNITED ARAB EMIRATES','AED',1,2,'NATIONAL BANK OF FUJAIRAH'),
('UNITED ARAB EMIRATES','AED',1,2,'NATIONAL BANK OF KUWAIT'),
('UNITED ARAB EMIRATES','AED',1,2,'NATIONAL BANK OF OMAN'),
('UNITED ARAB EMIRATES','AED',1,2,'NATIONAL BANK OF UMM AL QAIWAIN'),
('UNITED ARAB EMIRATES','AED',1,2,'RAFIDAIN BANK'),
('UNITED ARAB EMIRATES','AED',1,2,'RAK BANK'),
('UNITED ARAB EMIRATES','AED',1,2,'SAMBA FINANCIAL GROUP'),
('UNITED ARAB EMIRATES','AED',1,2,'SHARJAH ISLAMIC BANK'),
('UNITED ARAB EMIRATES','AED',1,2,'STANDARD CHARTERED BANK'),
('UNITED ARAB EMIRATES','AED',1,2,'THE BANK OF TOKYO-MITSUBISHI UFJ LTD'),
('UNITED ARAB EMIRATES','AED',1,2,'UNITED ARAB BANK'),
('UNITED ARAB EMIRATES','AED',1,2,'UNITED BANK LTD.'),
('UNITED ARAB EMIRATES','AED',1,2,'ADX- DIVIDENDS DISBURSEMENT'),
('UNITED ARAB EMIRATES','AED',1,2,'AL MARYAH BANK LLC'),
('UNITED ARAB EMIRATES','AED',1,2,'BUNA (AMF)'),
('UNITED ARAB EMIRATES','AED',1,2,'DFM PG SETTLEMENT A/C'),
('UNITED ARAB EMIRATES','AED',1,2,'DUBAI BANK'),
('UNITED ARAB EMIRATES','AED',1,2,'FEDERAL TAX AUTHORITY'),
('UNITED ARAB EMIRATES','AED',1,2,'FEDERAL TAX AUTHORITY  UNREGISTERED TAX PAYERS'),
('UNITED ARAB EMIRATES','AED',1,2,'FIRST ABU DHABI BANK (EX NBAD)'),
('UNITED ARAB EMIRATES','AED',1,2,'KOREAN EXCHANGE BANK'),
('UNITED ARAB EMIRATES','AED',1,2,'NOOR ISLAMIC BANK'),
('UNITED ARAB EMIRATES','AED',1,2,'THE ROYAL BANK OF SCOTLAND N.V.'),
('UNITED ARAB EMIRATES','AED',1,2,'UNCLAIMED FUNDS MANAGEMENT ACCOUNT'),
('UNITED ARAB EMIRATES','AED',1,2,'UNION NATIONAL BANK');


--- for Update jme_bank_code
select * from API_BANK_LIST_MASTER where  SUPPORT_CURRENCY='AED'
update API_BANK_LIST_MASTER set jme_bank_code ='JME000'+CAST(MASTER_BANK_ID AS VARCHAR) where  SUPPORT_CURRENCY='AED'





