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.

142 lines
3.8 KiB

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