You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

140 lines
3.8 KiB

SELECT * FROM AGENTMASTER
UPDATE AGENTMASTER SET MAXVALUE = NULL
update customermaster set availablebalance = 0
return
truncate table CUSTOMER_TRANSACTIONS
truncate table REFERRAL_INCENTIVE_TRANSACTION_WISE
truncate table REFERRAL_INCENTIVE_TRANSACTION_WISE
truncate table remitTranCompliance
truncate table remitTranComplianceTemp
truncate table remitTranOfac
truncate table tranCancelrequest
truncate table cancelTranHistory
truncate table cancelTranSendersHistory
truncate table cancelTranReceiversHistory
truncate table exRateCalcHistory
truncate table BRANCH_CASH_IN_OUT_HISTORY
truncate table BRANCH_CASH_IN_OUT
truncate table BRANCH_CASH_IN_OUT_REJECT
truncate table VirtualAccountMapping
truncate table customerTxnHistory
--truncate table receiverInformation
TRUNCATE TABLE REMITTRAN
truncate table tranmodifylog
TRUNCATE TABLE REMITTRANtemp
TRUNCATE TABLE TRANSENDERS
TRUNCATE TABLE TRANSENDERStemp
TRUNCATE TABLE TRANRECEIVERS
TRUNCATE TABLE TRANRECEIVERStemp
TRUNCATE TABLE ComplianceLog
TRUNCATE TABLE controlNoList
TRUNCATE TABLE controlNoListDomestic
TRUNCATE TABLE CUSTOMER_DEPOSIT_LOGS
TRUNCATE TABLE customerDocument
TRUNCATE TABLE CustomerEnquiry
TRUNCATE TABLE customerMaster
TRUNCATE TABLE mobile_userregistration
TRUNCATE TABLE TBLCUSTOMERMODIFYLOGS
TRUNCATE TABLE TBL_CUSTOMER_KYC
truncate table branch_cash_in_out
TRUNCATE TABLE WalletTransactions
TRUNCATE TABLE WithdrawalLogs
--truncate table CASH_HOLD_LIMIT_USER_WISE
--truncate table CASH_HOLD_LIMIT_USER_WISE_MOD
--truncate table CASH_HOLD_LIMIT_USER_WISE_HISTORY
--truncate table CASH_HOLD_LIMIT_BRANCH_WISE
--truncate table CASH_HOLD_LIMIT_BRANCH_WISE_MOD
--truncate table CASH_HOLD_LIMIT_BRANCH_WISE_HISTORY
--truncate table REFERRAL_AGENT_WISE
truncate table TRANSIT_CASH_SETTLEMENT
truncate table tran_master
truncate table tran_masterDetail
truncate table UsdStockSummary
truncate table UsdStockSummary_Other
truncate table DealBankSetting
truncate table tblPayoutAgentAccount
truncate table DealBookingHistory
update billSetting set journal_voucher = 1
update ac_master set clr_bal_amt = 0, system_reserved_amt=0,lien_amt=0, available_amt = 0, usd_amt = 0
select * from ac_master where acct_rpt_code = 'CA'
--NEW ADDED
RETURN
TRUNCATE TABLE countryCurrency
TRUNCATE TABLE countryCollectionMode
TRUNCATE TABLE countryIdType
TRUNCATE TABLE TblPartnerwiseCountry
TRUNCATE TABLE TblPartnerwiseCountryHistory
TRUNCATE TABLE tblpartnerwiseCountryMod
--new added
truncate table sscDetail
truncate table sscDetailHistory
truncate table sscDetailTemp
truncate table sscMaster
truncate table sscMasterHistory
truncate table creditLimit
truncate table creditLimitHistory
truncate table creditLimitInt
truncate table creditLimitIntHistory
truncate table receiveTranLimit
truncate table receiveTranLimitMod
truncate table sendTranLimit
truncate table sendTranLimitMod
truncate table TBL_TXN_COMPLIANCE_CDDI
truncate table csDetail
truncate table csDetailHistory
truncate table csDetailRec
truncate table csMaster
truncate table csMasterHistory
truncate table csSafeListRuleDetail
truncate table csSafelistRuleDetailHistory
truncate table scPayDetail
truncate table scPayDetailHistory
truncate table scPayMaster
truncate table scPayMasterHistory
truncate table crossRateDecimalMask
truncate table rateMask
truncate table rateMaskHistory
truncate table defExRate
truncate table defExRateHistory
truncate table exRateTreasury
truncate table exRateTreasuryHistory
truncate table exRateTreasuryMod
drop table API_BANK_BRANCH_LIST_BAK
drop table API_BANK_LIST_1
drop table API_BANK_LIST_BAK
drop table API_BANK_LIST_JULY30
truncate table API_BANK_LIST_TMP
truncate table API_BANK_LIST_MASTER_TMP
delete from API_BANK_LIST where api_partner_id <> 394397
delete from API_BANK_BRANCH_LIST where branch_id <> 584068
delete from API_BANK_LIST_MASTER where bank_country<>'nepal'