Advertisement
vitareinforce

script untuk bersihkan database

Nov 19th, 2023 (edited)
22
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.46 KB | None | 0 0
  1. SET FOREIGN_KEY_CHECKS=0;
  2.  
  3. truncate table agronumt_kitchenware_dev.adjustment;
  4. truncate table agronumt_kitchenware_dev.adjustments_v2s;
  5. truncate table agronumt_kitchenware_dev.assemblies;
  6. truncate table agronumt_kitchenware_dev.assembly_updates;
  7. truncate table agronumt_kitchenware_dev.account_debts;
  8. truncate table agronumt_kitchenware_dev.alocations;
  9. truncate table agronumt_kitchenware_dev.admin_warehouse_commission;
  10. truncate table agronumt_kitchenware_dev.area_insentive;
  11. truncate table agronumt_kitchenware_dev.assignment_collectors;
  12. truncate table agronumt_kitchenware_dev.assignment_sms;
  13. truncate table agronumt_kitchenware_dev.attendances;
  14. truncate table agronumt_kitchenware_dev.balances_v2s;
  15. truncate table agronumt_kitchenware_dev.bonus_credit_sales;
  16. truncate table agronumt_kitchenware_dev.bundles;
  17. truncate table agronumt_kitchenware_dev.city_list;
  18. truncate table agronumt_kitchenware_dev.city_travel;
  19. truncate table agronumt_kitchenware_dev.claim_histories;
  20. truncate table agronumt_kitchenware_dev.claims;
  21. truncate table agronumt_kitchenware_dev.inventories;
  22. truncate table agronumt_kitchenware_dev.inventory_branches;
  23. truncate table agronumt_kitchenware_dev.inventory_histories;
  24. truncate table agronumt_kitchenware_dev.insentive;
  25. truncate table agronumt_kitchenware_dev.item_details;
  26. truncate table agronumt_kitchenware_dev.journal;
  27. truncate table agronumt_kitchenware_dev.journal_history;
  28. truncate table agronumt_kitchenware_dev.kasbon_histories;
  29. truncate table agronumt_kitchenware_dev.klaim_histories;
  30. truncate table agronumt_kitchenware_dev.office_spendings;
  31. truncate table agronumt_kitchenware_dev.order_plans;
  32. truncate table agronumt_kitchenware_dev.other_cost;
  33. truncate table agronumt_kitchenware_dev.other_cost_calculation;
  34. truncate table agronumt_kitchenware_dev.other_cost_calculation_details;
  35. truncate table agronumt_kitchenware_dev.other_cost_detail_calculations;
  36. truncate table agronumt_kitchenware_dev.other_cost_details;
  37. truncate table agronumt_kitchenware_dev.procurements;
  38. truncate table agronumt_kitchenware_dev.petty_cashes;
  39. truncate table agronumt_kitchenware_dev.petty_cash_histories;
  40. truncate table agronumt_kitchenware_dev.purchases;
  41. truncate table agronumt_kitchenware_dev.payroll_histories;
  42. truncate table agronumt_kitchenware_dev.payrolls;
  43. truncate table agronumt_kitchenware_dev.salary_component_main;
  44. truncate table agronumt_kitchenware_dev.salary_component_sub;
  45. truncate table agronumt_kitchenware_dev.sales;
  46. truncate table agronumt_kitchenware_dev.sales_trackers;
  47. truncate table agronumt_kitchenware_dev.salary_components;
  48. truncate table agronumt_kitchenware_dev.stock_in_v2s;
  49. truncate table agronumt_kitchenware_dev.stock_in_v3s;
  50. truncate table agronumt_kitchenware_dev.stock_opnames;
  51. truncate table agronumt_kitchenware_dev.stock_out_v2s;
  52. truncate table agronumt_kitchenware_dev.stock_out_v3s;
  53. truncate table agronumt_kitchenware_dev.stock_requests;
  54. truncate table agronumt_kitchenware_dev.schedules;
  55. truncate table agronumt_kitchenware_dev.suppliers;
  56. truncate table agronumt_kitchenware_dev.tax_adjustment;
  57. truncate table agronumt_kitchenware_dev.tax_journal;
  58. truncate table agronumt_kitchenware_dev.transaction_goods;
  59. truncate table agronumt_kitchenware_dev.transaction_v2s;
  60. truncate table agronumt_kitchenware_dev.transaction_v3s;
  61. truncate table agronumt_kitchenware_dev.transfer_items;
  62. truncate table agronumt_kitchenware_dev.trial_balances_v2s;
  63. truncate table agronumt_kitchenware_dev.warning_letters;
  64.  
  65. SET FOREIGN_KEY_CHECKS=1;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement