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

1 year ago
1 year ago
1 year ago
  1. SELECT * FROM AGENTMASTER
  2. UPDATE AGENTMASTER SET MAXVALUE = NULL
  3. update customermaster set availablebalance = 0
  4. return
  5. truncate table CUSTOMER_TRANSACTIONS
  6. truncate table REFERRAL_INCENTIVE_TRANSACTION_WISE
  7. truncate table REFERRAL_INCENTIVE_TRANSACTION_WISE
  8. truncate table remitTranCompliance
  9. truncate table remitTranComplianceTemp
  10. truncate table remitTranOfac
  11. truncate table tranCancelrequest
  12. truncate table cancelTranHistory
  13. truncate table cancelTranSendersHistory
  14. truncate table cancelTranReceiversHistory
  15. truncate table exRateCalcHistory
  16. truncate table BRANCH_CASH_IN_OUT_HISTORY
  17. truncate table BRANCH_CASH_IN_OUT
  18. truncate table BRANCH_CASH_IN_OUT_REJECT
  19. truncate table VirtualAccountMapping
  20. truncate table customerTxnHistory
  21. --truncate table receiverInformation
  22. TRUNCATE TABLE REMITTRAN
  23. truncate table tranmodifylog
  24. TRUNCATE TABLE REMITTRANtemp
  25. TRUNCATE TABLE TRANSENDERS
  26. TRUNCATE TABLE TRANSENDERStemp
  27. TRUNCATE TABLE TRANRECEIVERS
  28. TRUNCATE TABLE TRANRECEIVERStemp
  29. TRUNCATE TABLE ComplianceLog
  30. TRUNCATE TABLE controlNoList
  31. TRUNCATE TABLE controlNoListDomestic
  32. TRUNCATE TABLE CUSTOMER_DEPOSIT_LOGS
  33. TRUNCATE TABLE customerDocument
  34. TRUNCATE TABLE CustomerEnquiry
  35. TRUNCATE TABLE customerMaster
  36. TRUNCATE TABLE mobile_userregistration
  37. TRUNCATE TABLE TBLCUSTOMERMODIFYLOGS
  38. TRUNCATE TABLE TBL_CUSTOMER_KYC
  39. truncate table branch_cash_in_out
  40. TRUNCATE TABLE WalletTransactions
  41. TRUNCATE TABLE WithdrawalLogs
  42. --truncate table CASH_HOLD_LIMIT_USER_WISE
  43. --truncate table CASH_HOLD_LIMIT_USER_WISE_MOD
  44. --truncate table CASH_HOLD_LIMIT_USER_WISE_HISTORY
  45. --truncate table CASH_HOLD_LIMIT_BRANCH_WISE
  46. --truncate table CASH_HOLD_LIMIT_BRANCH_WISE_MOD
  47. --truncate table CASH_HOLD_LIMIT_BRANCH_WISE_HISTORY
  48. --truncate table REFERRAL_AGENT_WISE
  49. truncate table TRANSIT_CASH_SETTLEMENT
  50. truncate table tran_master
  51. truncate table tran_masterDetail
  52. truncate table UsdStockSummary
  53. truncate table UsdStockSummary_Other
  54. truncate table DealBankSetting
  55. truncate table tblPayoutAgentAccount
  56. truncate table DealBookingHistory
  57. update billSetting set journal_voucher = 1
  58. update ac_master set clr_bal_amt = 0, system_reserved_amt=0,lien_amt=0, available_amt = 0, usd_amt = 0
  59. select * from ac_master where acct_rpt_code = 'CA'
  60. --NEW ADDED
  61. RETURN
  62. TRUNCATE TABLE countryCurrency
  63. TRUNCATE TABLE countryCollectionMode
  64. TRUNCATE TABLE countryIdType
  65. TRUNCATE TABLE TblPartnerwiseCountry
  66. TRUNCATE TABLE TblPartnerwiseCountryHistory
  67. TRUNCATE TABLE tblpartnerwiseCountryMod
  68. --new added
  69. truncate table sscDetail
  70. truncate table sscDetailHistory
  71. truncate table sscDetailTemp
  72. truncate table sscMaster
  73. truncate table sscMasterHistory
  74. truncate table creditLimit
  75. truncate table creditLimitHistory
  76. truncate table creditLimitInt
  77. truncate table creditLimitIntHistory
  78. truncate table receiveTranLimit
  79. truncate table receiveTranLimitMod
  80. truncate table sendTranLimit
  81. truncate table sendTranLimitMod
  82. truncate table TBL_TXN_COMPLIANCE_CDDI
  83. truncate table csDetail
  84. truncate table csDetailHistory
  85. truncate table csDetailRec
  86. truncate table csMaster
  87. truncate table csMasterHistory
  88. truncate table csSafeListRuleDetail
  89. truncate table csSafelistRuleDetailHistory
  90. truncate table scPayDetail
  91. truncate table scPayDetailHistory
  92. truncate table scPayMaster
  93. truncate table scPayMasterHistory
  94. truncate table crossRateDecimalMask
  95. truncate table rateMask
  96. truncate table rateMaskHistory
  97. truncate table defExRate
  98. truncate table defExRateHistory
  99. truncate table exRateTreasury
  100. truncate table exRateTreasuryHistory
  101. truncate table exRateTreasuryMod
  102. drop table API_BANK_BRANCH_LIST_BAK
  103. drop table API_BANK_LIST_1
  104. drop table API_BANK_LIST_BAK
  105. drop table API_BANK_LIST_JULY30
  106. truncate table API_BANK_LIST_TMP
  107. truncate table API_BANK_LIST_MASTER_TMP
  108. delete from API_BANK_LIST where api_partner_id <> 394397
  109. delete from API_BANK_BRANCH_LIST where branch_id <> 584068
  110. delete from API_BANK_LIST_MASTER where bank_country<>'nepal'